:root {
  --ink: #0F1A2A;
  --navy: #16294A;
  --navy-2: #1F3A66;
  --accent: #F2621B;
  --accent-2: #FFF1E8;
  --bg: #F3F4F6;
  --card: #FFFFFF;
  --line: #E2E5EA;
  --line-2: #EEF0F3;
  --muted: #5E6779;
  --muted-2: #626A79;
  --s4: #D12F2F;
  --s3: #F2621B;
  --s2: #E9A100;
  --s1: #8D97A8;
  --r: 8px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(15, 26, 42, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 18px; font-weight: 700; }
h2 small, h1 small { color: var(--muted-2); font-weight: 600; font-size: .8em; margin-left: 4px; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 10px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted-2); }
.hint { color: var(--muted-2); font-size: 13px; }
.empty { color: var(--muted); margin: 0; padding: 14px 16px; }
.note { background: var(--accent-2); border-left: 3px solid var(--accent); padding: 8px 12px; border-radius: 4px; font-size: 14px; }
.mb { margin-bottom: 14px; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; flex: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.logo-word { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-word b { color: var(--accent); font-weight: 800; }
.hsearch { position: relative; flex: 1; max-width: 520px; }
.hsearch input { width: 100%; height: 38px; border-radius: 6px; border: 1px solid #2A3954; background: #1A2638; color: #fff; padding: 0 12px 0 36px; font-size: 14px; }
.hsearch input::placeholder { color: #8C98AD; }
.hsearch input:focus { outline: none; border-color: var(--accent); background: #fff; color: var(--ink); }
.hs-ico { position: absolute; left: 11px; top: 10px; color: #8C98AD; pointer-events: none; }
.suggest { position: absolute; top: 44px; left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); overflow: hidden; color: var(--ink); }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; color: var(--ink); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.suggest a small { color: var(--muted-2); white-space: nowrap; }
.suggest a:hover, .suggest a.on { background: var(--bg); text-decoration: none; }
.suggest a.all { color: var(--navy-2); font-weight: 600; }
.mainnav { display: flex; gap: 2px; margin-left: auto; }
.mainnav a { color: #C9D1DE; padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.mainnav a:hover { color: #fff; background: #1A2638; text-decoration: none; }
.mainnav a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.mainnav a[href="/bildir"] { border: 1px solid #34455F; margin-left: 6px; }
.burger { display: none; background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.drawer { position: fixed; inset: 0; background: rgba(15, 26, 42, .5); z-index: 40; }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 12px 16px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 8px; }
.drawer nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn, .btn-line, .btn-text { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }
.btn { background: var(--accent); color: #fff; border: 0; }
.btn:hover { background: #DB5410; text-decoration: none; }
.btn.on { background: var(--navy); }
.btn-line { background: #fff; color: var(--navy); border: 1px solid #C7CDD8; }
.btn-line:hover { border-color: var(--navy); text-decoration: none; }
.btn-text { background: none; border: 0; color: var(--navy-2); padding: 0 6px; height: auto; font-size: 14px; }
.sm.btn-line, .btn-line.sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 6px; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.icon-btn:hover { color: var(--ink); border-color: var(--muted-2); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 28px 0 30px; }
.hero h1 { font-size: 30px; }
.hero-sub { color: #B8C2D3; max-width: 640px; margin: 8px 0 18px; font-size: 15.5px; }
.picker { color: var(--ink); padding: 0; overflow: visible; }
.ptabs { display: flex; border-bottom: 1px solid var(--line); }
.ptabs button { background: none; border: 0; padding: 13px 18px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.pform { padding: 16px; display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pform .fgrid { flex: 1; }
.pform[hidden] { display: none; }
.fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.f select, .f input, .f textarea, .paste-row input { height: 42px; border: 1px solid #CDD2DB; border-radius: 6px; padding: 0 10px; background: #fff; width: 100%; min-width: 0; }
.f textarea { height: auto; padding: 10px; resize: vertical; }
.f select:disabled { background: var(--bg); color: var(--muted-2); }
.f select:focus, .f input:focus, .f textarea:focus, .paste-row input:focus { outline: 2px solid rgba(242, 98, 27, .35); border-color: var(--accent); }
.f.wide { flex: 1 1 100%; }
.f.sm select, .f.sm input { height: 36px; }
.parsed { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
.pchip { background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font-size: 13px; }
.pchip.ok { background: var(--navy); color: #fff; border-color: var(--navy); }
.pchip.bad { background: #FDECEC; color: var(--s4); border-color: #F6C9C9; }
.quick { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 14px; }
.quick span { color: #8C98AD; }
.quick a { color: #fff; border-bottom: 1px solid #44536D; }
.quick a:hover { text-decoration: none; border-color: var(--accent); }
.kunye { color: var(--muted); font-size: 13.5px; padding: 14px 0 0; }

/* ---------- blocks ---------- */
.page { padding-top: 14px; padding-bottom: 40px; }
.page.narrow { max-width: 820px; }
.block { margin-top: 26px; }
.block > h2 { margin-bottom: 10px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.more { font-size: 14px; font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 16px; }
.pad-x { padding: 0 16px 12px; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs svg { color: var(--muted-2); width: 14px; }
.crumbs span { color: var(--ink); }
.phead { margin-bottom: 14px; }
.pmeta { color: var(--muted); margin: 6px 0 0; max-width: 760px; }
.model-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- tables ---------- */
.table-card { overflow: hidden; }
.scroll-x { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFBFC; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
.mtable tbody tr { cursor: pointer; }
.mtable tbody tr:hover { background: #FAFBFC; }
.mtable td a { color: var(--ink); }
.mtable .muted-link { color: var(--muted); font-size: 14px; }
.show-sm { display: none; }
td small, th small { display: block; color: var(--muted-2); font-size: 12.5px; font-weight: 500; }
.ctable td:first-child { font-weight: 500; }
.compare th { min-width: 200px; vertical-align: top; }
.compare th a { color: var(--ink); font-size: 15px; font-weight: 700; }
.compare tbody th { background: #FAFBFC; color: var(--ink); font-size: 13.5px; min-width: 150px; white-space: normal; border-bottom: 1px solid var(--line-2); }
.compare td { vertical-align: top; }
.cmp-f { display: flex; align-items: center; gap: 6px; padding: 2px 0; font-size: 14px; }
.crit { color: var(--s4); }

/* ---------- severity & badges ---------- */
.sev { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.sev.s4 { background: var(--s4); }
.sev.s3 { background: var(--s3); }
.sev.s2 { background: var(--s2); color: #fff; }
.sev.s1 { background: #E7EAEF; color: #4B5568; }
.freq { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.freq i { width: 6px; height: 12px; border-radius: 1.5px; background: #D9DDE4; }
.freq i.on { background: var(--navy); }
.freq i:last-of-type { margin-right: 4px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--accent-2); color: #B3440B; }
.tag-link { background: #EEF1F6; color: var(--navy-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.s4 { background: var(--s4); } .dot.s3 { background: var(--s3); } .dot.s2 { background: var(--s2); } .dot.s1 { background: var(--s1); }
.phase { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 600; border: 1px solid; }
.ph-now { color: var(--s4); border-color: #F2B8B8; background: #FDF0F0; }
.ph-soon { color: #B3440B; border-color: #F8CBB0; background: var(--accent-2); }
.ph-past { color: var(--navy-2); border-color: #C9D3E4; background: #F1F4F9; }
.ph-later { color: var(--muted); border-color: var(--line); }

/* risk */
.risk { display: inline-flex; align-items: center; gap: 8px; }
.risk b { font-size: 18px; font-weight: 800; min-width: 30px; }
.risk.sm b { font-size: 14px; min-width: 26px; }
.risk-bar { width: 90px; height: 6px; border-radius: 3px; background: #E6E9EE; overflow: hidden; }
.risk.sm .risk-bar { width: 48px; }
.risk-bar i { display: block; height: 100%; border-radius: 3px; }
.risk em { font-style: normal; font-size: 13px; font-weight: 600; }
.r-hi .risk-bar i { background: var(--s4); } .r-hi b, .r-hi em { color: var(--s4); }
.r-mid .risk-bar i { background: var(--s2); } .r-mid b, .r-mid em { color: #B67E00; }
.r-lo .risk-bar i { background: var(--navy-2); } .r-lo b, .r-lo em { color: var(--navy-2); }

/* ---------- fault rows ---------- */
.list { overflow: hidden; }
.frow { display: flex; gap: 14px; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); position: relative; }
.frow:last-child { border-bottom: 0; }
.frow:hover { background: #FAFBFC; text-decoration: none; }
.frow-sev { width: 4px; flex: none; border-radius: 0 3px 3px 0; }
.frow-sev.s4 { background: var(--s4); } .frow-sev.s3 { background: var(--s3); } .frow-sev.s2 { background: var(--s2); } .frow-sev.s1 { background: var(--s1); }
.frow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.frow-top { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.frow-title { font-size: 15.5px; font-weight: 700; }
.frow-model { display: block; color: var(--muted); font-weight: 600; font-size: 13.5px; margin-bottom: 1px; }
.frow-meta { font-size: 13px; color: var(--muted); }
.frow-sum { font-size: 14px; color: #39424F; }
.frow-side { flex: none; text-align: right; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.frow-side b { font-size: 14.5px; white-space: nowrap; }
.frow-side small { color: var(--muted-2); font-size: 12.5px; }
.list.compact .frow { padding: 10px 12px 10px 0; gap: 10px; }
.list.compact .frow-title { font-size: 14px; }
.list.compact .frow-side b { font-size: 13px; }
.list.compact .frow-meta, .list.compact .freq { display: none; }
.dim .frow { opacity: .65; }
.rest { margin-top: 10px; }
.rest summary { cursor: pointer; color: var(--navy-2); font-weight: 600; font-size: 14px; padding: 6px 0; }
.rest .list { margin-top: 6px; }

/* ---------- cats & brands ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat, .brand { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.cat:hover, .brand:hover { border-color: var(--navy-2); text-decoration: none; }
.cat b, .brand b { font-size: 15px; }
.cat span, .brand span { font-size: 13px; color: var(--muted); }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

/* ---------- model page ---------- */
.filters { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.frow-f { display: flex; gap: 12px; align-items: flex-start; }
.frow-f.inline { align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.flabel { width: 76px; flex: none; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid #CDD2DB; border-radius: 99px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); }
.chip small { color: var(--muted-2); }
.chip:hover { border-color: var(--navy); text-decoration: none; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on small { color: #B8C2D3; }
.chip-r { font-style: normal; font-size: 12px; font-weight: 700; background: var(--bg); color: var(--muted); border-radius: 99px; padding: 1px 6px; }
.chip.on .chip-r { background: var(--navy-2); color: #fff; }
.summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.summary .stat { flex: 1 1 130px; }
.summary .st-risk { flex: 2 1 240px; }
.summary .st-worst { flex: 1.4 1 180px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.stat b { font-size: 22px; font-weight: 800; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }
.stat.st-crit b { color: var(--s4); }
.stat.st-risk { gap: 6px; }
.stat.st-worst b { font-size: 17px; }
.phead .stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.phead .stats .stat { min-width: 120px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.col-side { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; position: sticky; top: 76px; }
.side { padding: 14px 16px; }
.side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.side .list.compact { margin: 0 -16px -14px; border-top: 1px solid var(--line-2); }
.sort { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sort select { height: 32px; border: 1px solid #CDD2DB; border-radius: 6px; padding: 0 8px; background: #fff; }
.checklist { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.checklist li { border-bottom: 1px solid var(--line-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist label { display: flex; gap: 10px; padding: 8px 0; cursor: pointer; font-size: 14px; }
.checklist input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy); flex: none; }
.checklist small { display: block; color: var(--muted-2); font-size: 12px; }
.checklist input:checked + span { color: var(--muted-2); text-decoration: line-through; }
.asklist { margin: 0 0 10px; padding-left: 18px; font-size: 14px; }
.asklist li { padding: 3px 0; }
.simlist { list-style: none; margin: 0; padding: 0; }
.simlist li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; gap: 8px; }
.simlist li:last-child { border-bottom: 0; }
.cta-side p { font-size: 14px; color: var(--muted); margin: 6px 0 10px; }
.matrix td { padding: 8px 10px; }
.matrix td:first-child { padding-left: 14px; min-width: 150px; }
.mcell { background: none; border: 1px solid transparent; border-radius: 6px; padding: 6px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
.mcell:hover { border-color: var(--line); background: #FAFBFC; }
.mcell small { color: var(--muted-2); font-size: 12px; }

/* timeline */
.tl { display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 240px 1fr; gap: 12px; align-items: center; padding: 5px 0; color: var(--ink); }
.tl-row:hover { text-decoration: none; background: #FAFBFC; }
.tl-label { font-size: 13.5px; display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-track { position: relative; height: 16px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 6)); border-radius: 3px; }
.tl-bar { position: absolute; top: 3px; height: 10px; border-radius: 5px; }
.tl-bar.s4 { background: var(--s4); } .tl-bar.s3 { background: var(--s3); } .tl-bar.s2 { background: var(--s2); } .tl-bar.s1 { background: var(--s1); }
.tl-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); z-index: 2; }
.tl-axis { padding-top: 2px; }
.tl-axis .tl-label { color: var(--muted-2); font-size: 12px; }
.tl-axis .tl-track { background: none; height: 20px; }
.tl-axis .tl-track span { position: absolute; transform: translateX(-50%); font-size: 11.5px; color: var(--muted-2); }
.tl-axis .tl-track span:first-child { transform: none; }
.tl-axis .tl-track span:nth-last-child(1), .tl-axis .tl-track span:nth-last-child(2) { }
.tl-km { position: absolute; top: 0; transform: translateX(-50%); background: var(--ink); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; white-space: nowrap; z-index: 3; }
.tl-free { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.tl-free small { color: var(--muted-2); }

/* ---------- fault page ---------- */
.fault-head h1 { margin: 8px 0 6px; font-size: 26px; }
.fh-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead { font-size: 16px; color: #39424F; max-width: 760px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts > div { padding: 12px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.facts > div:nth-child(3n) { border-right: 0; }
.facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.facts b { font-size: 15px; }
.bullets { margin: 0; padding-left: 20px; }
.bullets li { padding: 3px 0; }
.rep { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.rep:last-child { border-bottom: 0; }
.rep.mine { background: #FFFAF6; }
.rep-top { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); align-items: baseline; }
.rep-top b { color: var(--ink); font-size: 14px; }
.rep-cost { margin-left: auto; color: var(--ink); font-weight: 700; }
.rep p { margin: 4px 0; font-size: 14.5px; }
.rep-foot { font-size: 12.5px; color: var(--muted-2); }
.metoo .btn { width: 100%; margin: 10px 0 6px; }
.metoo .hint { margin: 0; }

/* ---------- check page ---------- */
.inline-picker form#checkForm { padding: 16px; display: flex; gap: 12px; align-items: flex-end; }
.inline-picker form#checkForm .fgrid { flex: 1; }
.paste-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line-2); background: #FAFBFC; border-radius: 0 0 var(--r) var(--r); }
.report-head { margin-top: 18px; padding: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; border-top: 3px solid var(--accent); }
.report-head h2 { font-size: 21px; margin-top: 2px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.warn { margin: 6px 0 0; font-size: 14px; color: #B3440B; }
.report-actions { display: flex; gap: 8px; }
.gh::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.gh-now::before { background: var(--s4); } .gh-soon::before { background: var(--accent); } .gh-past::before { background: var(--navy-2); } .gh-later::before, .gh-free::before { background: var(--s1); }
.empty-state { margin-top: 16px; color: var(--muted); }
.empty-state p { margin: 0; }

/* compare */
.cslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.cslot { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

/* report form */
.rform { display: flex; flex-direction: column; gap: 12px; }
.rform .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.okbox { display: flex; gap: 8px; align-items: center; color: var(--navy); font-weight: 600; margin-bottom: 12px; border-left: 3px solid var(--navy); }

/* footer */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 18px; margin-top: 20px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.foot-cols p { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 320px; }
.foot h4 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.foot-cols a { display: block; color: var(--ink); font-size: 14px; padding: 3px 0; }
.foot .logo-word { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line-2); margin: 20px 0 0; padding-top: 14px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mainnav a { padding: 8px 7px; font-size: 13.5px; }
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
  .mainnav { display: none; }
  .burger { display: block; margin-left: auto; }
  .hsearch { max-width: none; }
  .cols { grid-template-columns: 1fr; }
  .col-side { position: static; margin-top: 10px; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  h1 { font-size: 21px; }
  .topbar-in { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .hsearch { order: 3; flex: 1 1 100%; }
  .hero { padding: 18px 0 20px; }
  .hero h1 { font-size: 23px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 14px; }
  .fgrid, .rform .fgrid { grid-template-columns: 1fr 1fr; }
  .pform, .inline-picker form#checkForm { flex-direction: column; align-items: stretch; padding: 14px; }
  .pform .btn, .inline-picker .btn { width: 100%; }
  .ptabs button { padding: 12px 12px; font-size: 14px; flex: 1; }
  .hide-sm { display: none; }
  .show-sm { display: block; }
  th, td { padding: 10px 12px; }
  .frow { gap: 10px; padding-right: 12px; flex-wrap: wrap; }
  .frow-main { flex: 1 1 calc(100% - 20px); }
  .frow-side { flex-direction: row; align-items: baseline; gap: 10px; margin-left: 14px; text-align: left; }
  .frow-title { font-size: 15px; }
  .flabel { width: auto; padding-top: 0; }
  .frow-f { flex-direction: column; gap: 6px; align-items: stretch; }
  .filters { overflow: hidden; }
  .frow-f.inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  .frow-f.inline .f { flex: 1 1 120px; }
  .frow-f.inline .btn-text { flex: 1 1 100%; text-align: left; justify-content: flex-start; padding: 4px 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .chips.mb { flex-wrap: wrap; overflow: visible; margin: 0 0 14px; padding: 0; }
  .chip { flex: none; }
  .summary .stat { flex-basis: calc(50% - 5px); }
  .summary .st-risk, .summary .st-worst { flex-basis: 100%; }
  .tl-row { grid-template-columns: 1fr; gap: 3px; padding: 6px 0; }
  .tl-axis .tl-label { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3n) { border-right: 1px solid var(--line-2); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-2); }
  .facts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .fault-head h1 { font-size: 21px; }
  .cslots { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
  .paste-row { flex-direction: column; }
  .model-head .head-actions { width: 100%; }
  .model-head .head-actions a { flex: 1; }
  .report-actions { width: 100%; }
}

/* print: yalnızca kontrol listeleri ve rapor başlığı */
@media print {
  .topbar, .foot, .hero, .filters, .head-actions, .crumbs, .report-actions, .icon-btn, .btn-line, .inline-picker, .rest, .cta-side, [data-print] { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
  .cols { grid-template-columns: 1fr; }
  .col-side { position: static; }
}

/* ---------- iyileştirmeler: etiketli bilgi, tek özet kartı, çizelge açıklaması ---------- */
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.btn:focus-visible { outline-color: var(--ink); }
.kv { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; }
.kv em { font-style: normal; color: var(--muted-2); margin-right: 2px; }
.frow-meta .kv span { color: #39424F; }
.pmeta .kv { font-size: 14.5px; }
.pmeta .kv span { color: var(--ink); }
.pmeta .kv em { color: var(--muted); }
.sumcard { display: flex; flex-wrap: wrap; margin-top: 14px; overflow: hidden; }
.sc { flex: 1 1 140px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-2); }
.sc:last-child { border-right: 0; }
.sc > span { font-size: 13px; color: var(--muted); }
.sc b { font-size: 20px; font-weight: 800; line-height: 1.2; }
.sc b.crit { color: var(--s4); }
.sc-risk { flex: 2 1 240px; }
.sc-wide { flex: 1.6 1 190px; }
.sc-wide b { font-size: 17px; }
.block-gap { height: 14px; }
.tl-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tl-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.tl-legend .tl-hint { margin-left: auto; color: var(--muted-2); }
.tl-key-mark { display: inline-block; width: 2px; height: 12px; background: var(--ink); }
.tl { position: relative; }
.tl-tip { position: absolute; transform: translate(-50%, -100%); background: var(--ink); color: #fff; border-radius: 6px; padding: 7px 10px; font-size: 13px; line-height: 1.4; display: flex; flex-direction: column; pointer-events: none; z-index: 5; white-space: nowrap; box-shadow: 0 6px 18px rgba(15, 26, 42, .2); }
.tl-tip[hidden] { display: none; }
.tl-tip span { color: #C9D1DE; }
a.tl-row:focus-visible { outline-offset: 0; }
@media (max-width: 640px) {
  .sc { flex-basis: 50%; border-bottom: 1px solid var(--line-2); }
  .sc:nth-child(2n) { border-right: 0; }
  .sc-risk, .sc-wide { flex-basis: 100%; border-right: 0; }
  .tl-legend .tl-hint { margin-left: 0; flex-basis: 100%; }
}

/* ---------- bağlantıya dönüşen çip ve hücreler ---------- */
a.mcell { color: inherit; text-decoration: none; }
a.mcell.on { border-color: var(--navy); background: #F4F6FA; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); box-shadow: var(--shadow); }
.post:hover { border-color: var(--navy-2); text-decoration: none; }
.post-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.post-title { font-size: 17px; line-height: 1.35; }
.post-sum { font-size: 14.5px; color: #39424F; }
.article .phead h1 { margin: 10px 0 8px; font-size: 30px; line-height: 1.2; }
.article .lead { font-size: 17px; color: #39424F; max-width: 68ch; }
.prose { max-width: 68ch; font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { padding: 3px 0; }
.postlinks { list-style: none; margin: 0; padding: 0; }
.postlinks li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.postlinks li:last-child { border-bottom: 0; }
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .article .phead h1 { font-size: 24px; }
}
.post-cover { width: calc(100% + 32px); margin: -16px -16px 4px; aspect-ratio: 16 / 9; object-fit: cover; height: auto; border-radius: var(--r) var(--r) 0 0; background: var(--bg); }
.article-cover { width: 100%; max-width: 68ch; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin: 0 0 18px; display: block; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; }
.prose blockquote { margin: 0 0 14px; padding: 8px 16px; border-left: 3px solid var(--navy-2); color: #39424F; background: #F7F8FA; }
.prose figure { margin: 0 0 16px; }
.prose figure img { max-width: 100%; height: auto; border-radius: var(--r); display: block; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.prose .post-fault { margin: 0 0 16px; }
.form-error { color: var(--s4); font-weight: 600; margin: 0; }

/* ---------- sayfalama (belirti sayfaları) ---------- */
.pager-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- arıza sayfası: modele özgü özet ---------- */
.fault-context { margin: 12px 0 0; font-size: 14.5px; color: #39424F; line-height: 1.6; }
