/* =====================================================================
   OtoRapor tasarım sistemi
   Konu: ikinci el araç, plaka, asfalt, yol işaretleri.
   ===================================================================== */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  --bg: #EEF1F2;
  --surface: #FFFFFF;
  --surface-2: #F6F8F9;
  --ink: #14212B;
  --ink-2: #33434E;
  --muted: #5E6E78;
  --line: #D5DCE0;
  --line-2: #E6EBED;
  --plate: #0B3D91;
  --plate-ink: #FFFFFF;
  --plate-soft: #E3EAF6;
  --signal: #F2B705;
  --go: #0E7A55;
  --go-soft: #E2F3EC;
  --warn: #A65600;
  --warn-soft: #FDF0DD;
  --bad: #C92F27;
  --bad-soft: #FBE6E4;
  --wa: #1A9E50;
  --asphalt: #14212B;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(20, 33, 43, .06), 0 8px 24px -12px rgba(20, 33, 43, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 33, 43, .35);
  --side-w: 256px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F171D; --surface: #17222A; --surface-2: #1D2A33; --ink: #E7EDF0; --ink-2: #C3CED4; --muted: #93A3AC;
    --line: #2C3B45; --line-2: #24323B; --plate: #4D86E8; --plate-soft: #1B2B45; --go: #34C08D; --go-soft: #16302A;
    --warn: #F0A445; --warn-soft: #36291A; --bad: #F06A60; --bad-soft: #3A1F1E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F171D; --surface: #17222A; --surface-2: #1D2A33; --ink: #E7EDF0; --ink-2: #C3CED4; --muted: #93A3AC;
  --line: #2C3B45; --line-2: #24323B; --plate: #4D86E8; --plate-soft: #1B2B45; --go: #34C08D; --go-soft: #16302A;
  --warn: #F0A445; --warn-soft: #36291A; --bad: #F06A60; --bad-soft: #3A1F1E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; }
a { color: var(--plate); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(30px, 3.4vw, 40px); }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; justify-content: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- plaka logosu ---------- */
.plate-logo { display: inline-flex; align-items: stretch; height: 34px; border: 2.5px solid #14212B; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.pl-tr { background: #0B3D91; color: #fff; font: 700 11px/1 var(--display); padding: 0 6px 4px; display: flex; align-items: flex-end; }
.pl-no { color: #14212B; font: 800 20px/1 var(--display); padding: 0 11px; display: flex; align-items: center; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

/* ---------- düğmeler ---------- */
.btn { --b: var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--b); background: var(--surface); color: var(--ink); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .08s, box-shadow .15s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--plate); border-color: var(--plate); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 61, 145, .7); }
.btn-primary:hover { background: #0A347D; border-color: #0A347D; }
.btn-ghost { background: transparent; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #158544; border-color: #158544; }
.btn-danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn-danger:hover { background: var(--bad-soft); border-color: var(--bad); }
.btn-light { background: #fff; border-color: #fff; color: #0B3D91; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 14px; border-radius: 8px; }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); }
.iconbtn .ic { width: 20px; height: 20px; }
.link { font-weight: 600; font-size: 15px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.back:hover { color: var(--ink); }

/* ---------- formlar ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #B9C4CA; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plate); box-shadow: 0 0 0 3px rgba(11, 61, 145, .15); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E78' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 36px; }
textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.upper { text-transform: uppercase; }
.big-input { font: 700 22px var(--display) !important; letter-spacing: .01em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field-err { color: var(--bad); font-size: 13px; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--plate); }
.check.invalid { color: var(--bad); }
.hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.full { grid-column: 1 / -1; }
@media (max-width: 720px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .g2, .g3 { grid-template-columns: 1fr; } .span2 { grid-column: auto; } }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-track { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line); transition: background .15s; flex: none; }
.sw-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + .sw-track { background: var(--plate); }
.switch input:checked + .sw-track::after { transform: translateX(18px); }
.switch input:focus-visible + .sw-track { outline: 3px solid var(--plate); outline-offset: 2px; }
.toggles { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 16px; }
.row-between { display: flex; justify-content: flex-end; }

/* ---------- kartlar, uyarılar ---------- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.pad { padding: 22px; }
@media (max-width: 560px) { .pad { padding: 18px; } }
.card > h2, .card .sec-head h2 { margin-bottom: 4px; }
.card + .card, .card + .alert, .alert + .card { margin-top: 18px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r); font-weight: 500; margin-bottom: 18px; border: 1px solid transparent; }
.alert .ic { margin-top: 2px; }
.alert a { font-weight: 700; color: inherit; }
.alert-ok { background: var(--go-soft); color: var(--go); border-color: color-mix(in srgb, var(--go) 25%, transparent); }
.alert-err { background: var(--bad-soft); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.alert-warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.alert-info { background: var(--plate-soft); color: var(--plate); border-color: color-mix(in srgb, var(--plate) 20%, transparent); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill-pending { background: var(--warn-soft); color: var(--warn); }
.pill-paid { background: var(--go-soft); color: var(--go); }
.pill-failed, .pill-cancelled { background: var(--bad-soft); color: var(--bad); }
.warn-text { color: var(--warn); font-weight: 600; }

/* ---------- toast, modal ---------- */
.toasts { position: fixed; z-index: 100; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 440px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; background: var(--asphalt); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .22s ease-out; max-width: 100%; }
.toast.err { background: var(--bad); }
.toast.ok .dot { background: #34C08D; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .2s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
body.report .toasts { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
.modal-back { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 29, .55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .15s; }
.modal { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: min(100%, 460px); max-height: calc(100vh - 40px); overflow: auto; padding: 24px; animation: modalIn .18s ease-out; }
.modal.wide { width: min(100%, 620px); }
.modal h2 { margin-bottom: 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.menu { position: absolute; z-index: 30; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; animation: fadeIn .1s; }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 15px var(--body); text-decoration: none; cursor: pointer; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--surface-2); }
.menu .danger { color: var(--bad); }
.menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 4px 0; }

/* =====================================================================
   Uygulama kabuğu
   ===================================================================== */
body.app { background: var(--bg); }
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; background: var(--asphalt); color: #D9E2E7; display: flex; flex-direction: column; padding: 20px 14px; gap: 18px; overflow-y: auto; }
.side-brand { padding: 4px 8px 8px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: #C4D0D6; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--signal); }
.side-nav .ic { width: 20px; height: 20px; }
.side-plan { margin-top: auto; background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px; }
.sp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.sp-top strong { font: 700 18px var(--display); color: #fff; }
.sp-top span { font-size: 14px; color: #AFBDC4; }
.sp-link { display: inline-block; margin-top: 10px; color: var(--signal); font-size: 14px; font-weight: 700; text-decoration: none; }
.meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--signal); border-radius: 3px; }
.meter.lg { height: 10px; border-radius: 5px; background: var(--line-2); }
.meter.lg span { background: var(--plate); }
.side-user { display: flex; align-items: center; gap: 8px; padding: 6px 4px 0; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.su-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.su-name strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.su-name span { color: #92A3AC; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user form { margin: 0; }
.side-user .iconbtn { color: #C4D0D6; }
.side-user .iconbtn:hover { background: rgba(255,255,255,.08); color: #fff; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.content { padding: 30px 34px 90px; max-width: 1280px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 6px 0 0; }
.ph-actions { display: flex; align-items: center; gap: 12px; }
.save-state { font-size: 14px; font-weight: 600; color: var(--muted); }
.save-state.dirty { color: var(--warn); }
.save-state.saved { color: var(--go); }
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: min(84vw, 300px); transform: translateX(-100%); transition: transform .22s ease; padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
  .side.open { transform: none; box-shadow: var(--shadow-lg); }
  .side-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 29, .5); }
  .topbar { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line-2); padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  .tb-brand .plate-logo { height: 30px; }
  .tb-brand .pl-no { font-size: 18px; }
  .content { padding: 20px 16px 110px; }
}

/* ---------- panel: karşılama ---------- */
.onboard { margin-bottom: 20px; border-left: 4px solid var(--signal); }
.ob-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.ob-steps li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; }
.ob-steps li > span { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 17px var(--display); background: var(--surface-2); border: 1.5px solid var(--line); }
.ob-steps li.done > span { background: var(--go); color: #fff; border-color: var(--go); }
.ob-steps li.done strong { text-decoration: line-through; color: var(--muted); }
.ob-steps strong { display: block; }
.ob-steps small { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .ob-steps li { grid-template-columns: 36px 1fr; } .ob-steps li .btn { grid-column: 2; justify-self: start; } }

/* ---------- KPI ve grafik ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.kpi span { font-size: 14px; color: var(--muted); font-weight: 600; }
.kpi strong { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--display); margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { font-size: 13px; color: var(--muted); }
.kpi.accent { background: var(--plate); border-color: var(--plate); color: #fff; }
.kpi.accent span, .kpi.accent small, .kpi.accent a { color: rgba(255,255,255,.82); }
.chart-card { margin-bottom: 22px; }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.legend-inline { display: flex; gap: 16px; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend-inline span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-view::before { background: var(--plate); opacity: .35; }
.lg-wa::before { background: var(--wa); }
.chart { width: 100%; height: 160px; }
.chart.tall { height: 220px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .bar { fill: var(--plate); opacity: .28; transition: opacity .15s; }
.chart .bar:hover { opacity: .6; }
.chart .bar2 { fill: var(--wa); }
.chart .line { fill: none; stroke: var(--wa); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--wa); }
.chart .ax { fill: var(--muted); font: 500 11px var(--body); }
.chart .grid-l { stroke: var(--line-2); }
.top { margin-top: 16px; display: grid; gap: 6px; }
.top a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.top a:hover { background: var(--plate-soft); }
.top a span { color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }

/* ---------- liste araçları ---------- */
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.search { position: relative; flex: 1 1 260px; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 40px; }
.seg { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: none; padding: 8px 12px; border-radius: 9px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button b { font-weight: 700; color: var(--ink-2); margin-left: 2px; }
.seg button[aria-selected="true"] { background: var(--asphalt); color: #fff; }
.seg button[aria-selected="true"] b { color: var(--signal); }
.sort select { min-width: 190px; }

/* ---------- araç kartları ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.vcard { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow-lg); }
.vc-img { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); display: block; overflow: hidden; }
.vc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vcard:hover .vc-img img { transform: scale(1.03); }
.vc-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.vc-noimg .ic { width: 34px; height: 34px; opacity: .6; }
.vc-flags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.status-pill { appearance: none; border: 0; font: 700 13px var(--body); padding: 6px 28px 6px 12px; border-radius: 99px; cursor: pointer; background-position: right 8px center; background-size: 14px; width: auto; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.st-satista { background-color: #E2F3EC; color: #0B6B4A; }
.st-opsiyonlu { background-color: #FDF0DD; color: #8F4A00; }
.st-satildi { background-color: #FBE6E4; color: #A8261F; }
.st-taslak { background-color: #E9EEF0; color: #44535C; }
.unpub { background: var(--asphalt); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; }
.vc-body { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vc-title { font: 700 22px/1.1 var(--display); color: var(--ink); text-decoration: none; }
.vc-title:hover { color: var(--plate); }
.vc-sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-price { font: 700 26px/1.1 var(--display); margin-top: 6px; }
.vc-price.none { font: 500 15px var(--body); color: var(--muted); }
.vc-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 4px; }
.vc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.vc-meta .ic { width: 15px; height: 15px; }
.vc-actions { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line-2); }
.vc-actions .btn-wa { flex: 1; }
.vc-actions .iconbtn { border: 1.5px solid var(--line); width: 44px; height: 44px; }
.skel { background: linear-gradient(90deg, var(--surface-2), var(--line-2), var(--surface-2)); background-size: 200% 100%; animation: skel 1.2s infinite; border-radius: var(--r-lg); min-height: 330px; }
@keyframes skel { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 56px 20px; max-width: 460px; margin: 0 auto; grid-column: 1 / -1; }
.empty-ic { width: 54px; height: 54px; color: var(--muted); opacity: .6; margin-bottom: 8px; }
.empty h2 { margin-bottom: 8px; }
.result.ok .empty-ic { color: var(--go); opacity: 1; }
.result.no .empty-ic { color: var(--bad); opacity: 1; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font: 600 15px var(--body); color: var(--ink); cursor: pointer; }
.pager button[aria-current="page"] { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

/* =====================================================================
   Araç düzenleyici
   ===================================================================== */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ed-form { display: flex; flex-direction: column; gap: 18px; }
.ed-form .card + .card { margin-top: 0; }
.ed-form h2 { margin-bottom: 14px; }
.ed-form .sec-head h2 { margin-bottom: 0; }
.ed-form .sec-head + .hint { margin: 6px 0 14px; }
.ed-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } .ed-side { position: static; order: -1; } .preview { display: none; } }
.exp { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 26px; align-items: start; margin-top: 14px; }
@media (max-width: 640px) { .exp { grid-template-columns: 1fr; } }
.exp-car svg { width: 100%; max-width: 300px; display: block; margin: 0 auto; color: var(--muted); }
[data-part] { cursor: pointer; }
[data-part] rect { transition: fill .15s, filter .15s; }
[data-part]:hover rect { filter: brightness(.93); }
[data-part]:focus { outline: none; }
[data-part]:focus-visible rect { stroke: var(--plate); stroke-width: 4; }
.brushes { display: grid; gap: 8px; }
.brush { display: flex; align-items: center; gap: 12px; width: 100%; border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 11px 14px; font: 600 16px var(--body); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.brush:hover { border-color: var(--ink-2); }
.brush[aria-checked="true"] { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.sw { width: 26px; height: 26px; border-radius: 6px; border: 1.5px solid #14212B; flex: none; display: inline-flex; align-items: center; justify-content: center; font: 700 13px Arial, sans-serif; }
.brush .n { margin-left: auto; font: 700 22px var(--display); color: var(--muted); }
.partlist { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.comps { display: flex; flex-direction: column; gap: 8px; }
.comp-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 80px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 8px; align-items: center; }
.comp-row input { padding: 9px 10px; }
.comp-head { font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) { .comp-row { grid-template-columns: 1fr 1fr; } .comp-row .c-ad { grid-column: 1 / -1; } .comp-head { display: none; } .comp-row { padding: 10px; border: 1px solid var(--line-2); border-radius: 12px; } }
.market-live { margin-top: 14px; }
.ml-box { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; flex-wrap: wrap; }
.ml-box strong { font: 700 20px var(--display); }
.ml-box.good strong { color: var(--go); }
.ml-box.warn strong { color: var(--warn); }
.dropzone { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 30px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; background: var(--surface-2); transition: border-color .15s, background .15s; margin-top: 12px; }
.dropzone:hover, .dropzone.over { border-color: var(--plate); background: var(--plate-soft); }
.dropzone.locked { opacity: .5; pointer-events: none; }
.dz-ic { width: 36px; height: 36px; color: var(--plate); margin-bottom: 6px; }
.dropzone span { font-size: 14px; color: var(--muted); max-width: 440px; }
.photos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: grab; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.photo.dragging { opacity: .35; }
.photo.drop-before { box-shadow: -4px 0 0 var(--plate); }
.photo .ph-cover { position: absolute; left: 8px; top: 8px; background: var(--signal); color: #14212B; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.photo .ph-del { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: rgba(20,33,43,.75); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .15s; }
.photo:hover .ph-del, .photo:focus-within .ph-del { opacity: 1; }
@media (hover: none) { .photo .ph-del { opacity: 1; } }
.photo .ph-del .ic { width: 16px; height: 16px; }
.photo .ph-move { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 4px; }
.photo .ph-move button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(20,33,43,.75); color: #fff; font-size: 16px; cursor: pointer; }
.photo.uploading { cursor: default; }
.photo .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0,0,0,.2); }
.photo .prog span { display: block; height: 100%; background: var(--signal); width: 0; transition: width .15s; }
.photo.failed { outline: 2px solid var(--bad); }
.photo .ph-err { position: absolute; inset: 0; background: rgba(201,47,39,.85); color: #fff; font-size: 12px; padding: 10px; display: flex; align-items: center; text-align: center; }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 35%, transparent); }

/* önizleme */
.preview { overflow: hidden; }
.pv-top { background: var(--asphalt); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.pv-top em { font-style: normal; color: var(--signal); }
.pv-img { aspect-ratio: 16 / 10; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pv-plate { display: flex; border: 2.5px solid #14212B; border-radius: 8px; overflow: hidden; background: #fff; color: #14212B; }
.pv-plate .tr { background: #0B3D91; color: #fff; font: 700 11px var(--display); padding: 6px; display: flex; align-items: flex-end; }
.pv-plate .no { padding: 8px 12px; min-width: 0; }
.pv-plate .t { font: 700 22px/1.05 var(--display); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-plate .s { font-size: 13px; color: #5E6E78; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-price { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pv-price strong { font: 700 30px/1 var(--display); }
.mpill { font-size: 12px; font-weight: 700; color: #fff; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.mpill.good { background: #0E7A55; }
.mpill.warn { background: #A65600; }
.pv-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 12px; color: var(--muted); }
.pv-specs b { display: block; font: 700 16px var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-exp { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.pv-exp svg { width: 100%; color: var(--muted); }
.pv-exp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.pv-exp li { display: flex; align-items: center; gap: 8px; }
.pv-exp li b { margin-left: auto; font: 700 18px var(--display); }
.pv-exp .sw { width: 18px; height: 18px; font-size: 10px; border-radius: 4px; }
.share h2 { margin-bottom: 12px; }
.copyrow { display: flex; gap: 8px; margin-bottom: 12px; }
.copyrow input { flex: 1; min-width: 0; font-size: 14px; padding: 8px 10px; background: var(--surface-2); }
.share-actions { display: flex; flex-direction: column; gap: 8px; }
.share-actions .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-actions .two .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
.waTo input { font-size: 14px; padding: 9px 10px; }

/* ---------- tablolar ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td small { display: block; color: var(--muted); font-size: 13px; }
.table .acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.table.compact td, .table.compact th { padding: 8px 6px; }
.table tr.me td { font-weight: 700; color: var(--plate); }
.table-card { overflow: hidden; }
.table-card .table { min-width: 720px; }

/* ---------- üyelik ---------- */
.plan-now { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 22px; margin-bottom: 20px; align-items: center; }
@media (max-width: 640px) { .plan-now { grid-template-columns: 1fr; } }
.pn-main strong { display: block; font: 700 34px/1.1 var(--display); }
.pn-main small { color: var(--muted); }
.pn-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.pricing.in-app { margin-bottom: 14px; }
.price-card { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border: 2.5px solid var(--plate); box-shadow: 0 24px 50px -24px rgba(11, 61, 145, .45); }
.price-card.current { border-color: var(--go); }
.pc-badge { position: absolute; top: -12px; left: 20px; background: var(--plate); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.price-card.current .pc-badge { background: var(--go); }
.pc-desc { color: var(--muted); font-size: 15px; min-height: 2.8em; margin: 6px 0 12px; }
.pc-price { font: 700 44px/1 var(--display); margin: 0 0 16px; }
.pc-price small { font: 500 16px var(--body); color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.price-card li .ic { color: var(--go); margin-top: 3px; }
.pc-actions { display: grid; gap: 8px; }
.paysum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 22px; margin-bottom: 18px; }
.paysum span { display: block; font-size: 14px; color: var(--muted); }
.paysum strong { font: 700 24px/1.2 var(--display); }
@media (max-width: 640px) { .paysum { grid-template-columns: 1fr; } }
.payframe iframe { width: 100%; min-height: 620px; border: 0; display: block; }
.payframe p { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; }
.bankinfo { display: grid; gap: 2px; margin: 12px 0 18px; }
.bankinfo div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.bankinfo div.hl { background: var(--warn-soft); border-radius: 10px; padding: 10px 12px; border: 0; margin-top: 6px; }
.bankinfo dt { color: var(--muted); font-weight: 600; }
.bankinfo dd { margin: 0; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- ayarlar ---------- */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; align-items: start; }
.settings-grid .card + .card { margin-top: 0; }
.settings-grid .card { display: flex; flex-direction: column; gap: 14px; }
.settings-grid .card > h2 { margin-bottom: 0; }
.form-foot { grid-column: 1 / -1; }
.logo-edit { display: flex; gap: 20px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.logo-box { width: 110px; height: 110px; border-radius: 16px; border: 1.5px dashed var(--line); display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.logo-box span { font: 700 34px var(--display); color: #5E6E78; }

/* ---------- yönetim ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 16px; font: 600 15px var(--body); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--plate); }
.tab-badge { background: var(--bad); color: #fff; font-size: 12px; padding: 1px 7px; border-radius: 99px; }
.plan-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.pa-card { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.pa-card.off { opacity: .6; }
.pa-card.feat { border-color: var(--plate); }
.pa-card .pa-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pa-card .pa-price { font: 700 30px var(--display); }
.pa-card .btn-row { margin-top: 8px; }
.u-cell strong { display: block; }
.u-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.tag.admin { background: var(--plate-soft); color: var(--plate); }
.tag.off { background: var(--bad-soft); color: var(--bad); }

/* =====================================================================
   Giriş / kayıt
   ===================================================================== */
body.authpage { background: var(--surface); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 100vh; }
.auth-form { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 64px); }
.auth-brand { align-self: flex-start; }
.auth-box { width: 100%; max-width: 460px; margin: auto; padding: 40px 0; }
.auth-box h1 { font-size: clamp(34px, 4vw, 44px); margin-bottom: 8px; }
.auth-box > .muted { margin-bottom: 26px; }
.auth-alt { margin-top: 22px; text-align: center; color: var(--muted); }
.auth-alt a { font-weight: 700; }
.auth-side { background: var(--asphalt); color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-side::before { content: ""; position: absolute; left: 50%; top: -10%; bottom: -10%; width: 10px; transform: translateX(-50%) rotate(8deg); background: repeating-linear-gradient(to bottom, var(--signal) 0 60px, transparent 60px 110px); opacity: .9; }
.auth-side-in { position: relative; background: rgba(20, 33, 43, .92); padding: 30px; border-radius: 20px; max-width: 400px; backdrop-filter: blur(4px); }
.as-plate .plate-logo { height: 58px; border-width: 3.5px; border-radius: 9px; }
.as-plate .pl-tr { font-size: 15px; padding: 0 10px 7px; }
.as-plate .pl-no { font-size: 38px; padding: 0 18px; }
.as-quote { font: 700 34px/1.08 var(--display); margin: 26px 0 22px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #C8D4DA; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li .ic { color: var(--signal); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

.install { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.install-head { text-align: center; margin-bottom: 26px; }
.install-head h1 { margin: 18px 0 8px; font-size: 42px; }
.install .card { margin-bottom: 18px; }
.install h2 { margin: 6px 0 10px; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li span { display: flex; flex-direction: column; }
.checks small { color: var(--muted); }
.checks .ok .ic { color: var(--go); }
.checks .no .ic { color: var(--bad); }
.codebox { font-family: var(--mono); font-size: 13px; margin: 12px 0 16px; }

/* =====================================================================
   Tanıtım sayfası
   ===================================================================== */
body.landing { background: var(--bg); }
.pnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.pnav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.pnav-in { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.pnav-links { display: flex; gap: 24px; }
.pnav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.pnav-links a:hover { color: var(--plate); }
.pnav-cta { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 900px) { .pnav-links { display: none; } }
@media (max-width: 480px) { .pnav-cta .btn-ghost { display: none; } .pnav-in { padding: 12px 16px; } }

.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 100px); overflow: hidden; }
.hero::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 70px; height: 12px; background: repeating-linear-gradient(90deg, var(--signal) 0 80px, transparent 80px 140px); opacity: .5; transform: rotate(-2deg); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero-in { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: .95; font-weight: 800; letter-spacing: -.015em; margin-bottom: 22px; text-wrap: balance; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 15px; margin-top: 18px; }
.hero-note .ic { color: var(--go); }

.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: center; }
@media (max-width: 620px) { .demo { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }
.demo-editor { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line-2); }
.demo-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.demo-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px var(--go-soft); }
.demo-hint { font-size: 14px; color: var(--ink-2); margin: 6px 0 10px; font-weight: 600; }
.demo-brushes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.db { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 7px 4px; font: 600 12px var(--body); color: var(--ink-2); cursor: pointer; }
.db i { width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid #14212B; font: normal 700 11px/19px Arial, sans-serif; text-align: center; color: #14212B; }
.db.on { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.demo-car svg { width: 100%; max-width: 230px; display: block; margin: 0 auto; color: var(--muted); }
.phone { width: 270px; background: #0D1418; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3740; position: relative; transform: rotate(2deg); }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 12px; background: #0D1418; z-index: 2; }
.phone-screen { background: #E7DED4; border-radius: 31px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.wa-head { background: #0F5E4F; color: #fff; display: flex; align-items: center; gap: 10px; padding: 38px 14px 10px; }
.wa-head strong { display: block; font-size: 14px; }
.wa-head small { font-size: 11px; opacity: .8; }
.wa-av { width: 32px; height: 32px; border-radius: 50%; background: #A8C5BD; color: #0F5E4F; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.wa-body { padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.bubble { position: relative; max-width: 92%; padding: 6px 8px 18px; border-radius: 10px; font-size: 12.5px; line-height: 1.4; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.bubble.out { align-self: flex-end; background: #D6F5C3; }
.bubble.in { align-self: flex-start; background: #fff; }
.bubble p { margin: 6px 2px 4px; }
.bubble .time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #667; }
.lp { display: flex; gap: 8px; background: rgba(0,0,0,.06); border-radius: 8px; overflow: hidden; }
.lp-img { width: 58px; background: #0B3D91; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-car { width: 30px; height: 30px; color: #fff; }
.lp-txt { padding: 6px 6px 6px 0; min-width: 0; display: flex; flex-direction: column; }
.lp-txt strong { font-size: 12px; line-height: 1.25; }
.lp-txt span { font-size: 11px; color: #444; }
.lp-txt em { font-style: normal; font-size: 10px; color: #777; }
.mini-report { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; background: #fff; border-radius: 8px; padding: 6px; margin-top: 4px; }
.mr-car svg { width: 100%; display: block; color: #778; }
.mr-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 11px; }
.mr-legend li { display: flex; align-items: center; gap: 5px; }
.mr-legend i { width: 11px; height: 11px; border-radius: 3px; border: 1px solid #14212B; flex: none; }
.mr-legend b { margin-left: auto; }
.mr-legend li.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.08); } }

.band { background: var(--asphalt); color: #E7EDF0; padding: clamp(50px, 7vw, 90px) 0; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } .cmp-arrow { transform: rotate(90deg); justify-self: center; } }
.cmp h2 { font-size: 30px; margin-bottom: 18px; color: #fff; }
.cmp p { color: #AFBDC4; font-size: 17px; margin: 18px 0 0; }
.chat-old { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-old li { align-self: flex-start; background: #22313B; padding: 9px 14px; border-radius: 14px 14px 14px 4px; font-size: 15px; color: #DCE4E8; }
.chat-old li:nth-child(even) { margin-left: 26px; }
.cmp-arrow .ic { width: 42px; height: 42px; color: var(--signal); }
.linkcard { display: flex; gap: 16px; align-items: center; background: #fff; color: #14212B; border-radius: 16px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.linkcard strong { display: block; font: 700 22px var(--display); }
.linkcard span { color: #5E6E78; font-size: 15px; }

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section.alt { background: var(--surface); }
.sec-title { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; max-width: 16em; }
.sec-lead { font-size: 18px; color: var(--ink-2); max-width: 36em; margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); border-top: 5px solid var(--plate); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--asphalt); color: var(--signal); font: 800 30px var(--display); margin-bottom: 16px; }
.steps h3 { font-size: 26px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feat { background: var(--bg); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line-2); }
.feat h3 { font-size: 24px; margin: 12px 0 8px; }
.feat p { color: var(--ink-2); margin: 0; }
.feat-ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--plate); color: #fff; }
.feat-big { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; background: var(--asphalt); color: #fff; border: 0; }
.feat-big h3 { font-size: 38px; margin-top: 0; }
.feat-big p { color: #BFCBD1; font-size: 17px; }
.feat-visual svg { width: 100%; max-width: 250px; display: block; margin: 0 auto; color: #8FA0A9; }
@media (max-width: 620px) { .feat-big { grid-column: auto; grid-template-columns: 1fr; } }
.pricing-note { color: var(--muted); font-size: 14px; margin-top: 18px; text-align: center; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { background: var(--bg); border-radius: var(--r); border: 1px solid var(--line-2); }
.faq summary { padding: 18px 20px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 24px/1 var(--display); color: var(--plate); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }
.cta-band { background: var(--plate); color: #fff; padding: clamp(46px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 260px; background: repeating-linear-gradient(-60deg, rgba(255,255,255,.07) 0 20px, transparent 20px 40px); }
.cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); max-width: 16em; }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 18px; }
.foot { background: var(--asphalt); color: #AFBDC4; padding: 48px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
.foot p { margin-top: 12px; }
.foot a { color: #DCE4E8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-links, .foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-contact a { display: inline-flex; gap: 8px; align-items: center; }
.foot-copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* =====================================================================
   Rapor sayfası
   ===================================================================== */
body.report { background: var(--bg); padding-bottom: 90px; }
.ownerbar { background: var(--plate); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.ownerbar span { display: inline-flex; gap: 6px; align-items: center; }
.ownerbar a { color: #fff; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; background: rgba(255,255,255,.15); padding: 5px 10px; border-radius: 8px; }
.r-head { background: var(--surface); border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 30; }
.r-head-in { max-width: 820px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.r-head strong { display: block; font: 700 20px/1.1 var(--display); }
.r-head span { font-size: 13px; color: var(--muted); }
.r-head-cta { margin-left: auto; }
.r-logo { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.r-logo.lg { width: 64px; height: 64px; }
.r-logo-txt { display: flex; align-items: center; justify-content: center; font: 700 17px var(--display); color: #fff; background: var(--asphalt); border: 0; }
.r-main { max-width: 820px; margin: 0 auto; padding: 16px 16px 30px; }
.r-status { padding: 13px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 14px; }
.r-status.st-satildi { background: var(--bad); color: #fff; }
.r-status.st-opsiyonlu { background: var(--warn); color: #fff; }
.gallery { position: relative; margin: 0 -16px 18px; }
@media (min-width: 820px) { .gallery { margin: 0 0 18px; } }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #0D1418; }
@media (min-width: 820px) { .g-track { border-radius: var(--r-lg); } }
.g-track::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-count { position: absolute; right: 12px; top: 12px; background: rgba(13,20,24,.7); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.g-nav { position: absolute; top: calc(50% - 60px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #14212B; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: none; }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
@media (hover: hover) and (min-width: 700px) { .g-nav { display: block; } }
.g-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; }
@media (min-width: 820px) { .g-thumbs { padding: 8px 0 0; } }
.g-thumbs button { flex: 0 0 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .6; background: none; }
.g-thumbs button.on { border-color: var(--plate); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate-big { display: flex; border: 3px solid #14212B; border-radius: 10px; overflow: hidden; background: #fff; color: #14212B; box-shadow: var(--shadow); }
.pb-tr { background: #0B3D91; color: #fff; font: 700 15px var(--display); padding: 8px 10px; display: flex; align-items: flex-end; }
.pb-no { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; min-width: 0; }
.pb-no .t { font: 800 clamp(30px, 7vw, 44px)/1 var(--display); letter-spacing: .01em; }
.pb-no .s { font-size: 16px; color: #5E6E78; }
.r-title { margin-bottom: 18px; }
.r-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.r-price span { font-size: 14px; color: var(--muted); font-weight: 600; }
.r-price strong { display: block; font: 800 clamp(44px, 11vw, 60px)/1 var(--display); }
.r-price .mpill { font-size: 14px; padding: 8px 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chips span { display: inline-flex; gap: 6px; align-items: center; background: var(--go-soft); color: var(--go); padding: 5px 12px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.chips .ic { width: 15px; height: 15px; }
.r-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.r-quick div { background: var(--asphalt); color: #fff; border-radius: 14px; padding: 12px 14px; }
.r-quick span { display: block; font-size: 13px; color: #AFBDC4; font-weight: 600; }
.r-quick strong { font: 700 22px/1.15 var(--display); }
.r-sec { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.r-sec h2 { margin-bottom: 14px; font-size: 26px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 18px; margin: 0; }
.specs dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font: 700 22px/1.2 var(--display); }
.r-exp { display: grid; grid-template-columns: minmax(180px, 250px) 1fr; gap: 24px; align-items: center; }
@media (max-width: 560px) { .r-exp { grid-template-columns: 1fr; } }
.r-car svg { width: 100%; max-width: 250px; display: block; margin: 0 auto; color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 26px 1fr auto; column-gap: 12px; align-items: center; }
.legend li.zero { opacity: .55; }
.lname { font-weight: 700; }
.lcount { font: 800 26px var(--display); }
.lparts { grid-column: 2 / 4; font-size: 14px; color: var(--muted); }
.strip { width: 100%; height: auto; display: block; margin: 10px 0 14px; }
.strip text { fill: var(--muted); }
.notes { margin: 0; }
.seller-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.seller-top h2 { margin: 0; }
.seller-top p { margin: 2px 0 0; }
.seller .btn-row { margin-top: 14px; }
.disclaimer { font-size: 13px; color: var(--muted); margin: 20px 0; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); }
.stickybar .btn { flex: 1; }
.stickybar .btn-wa { flex: 2; }
@media (min-width: 900px) { .stickybar { display: none; } body.report { padding-bottom: 0; } body.report .toasts { bottom: 20px; } }
.report-empty { padding-top: 16vh; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(8, 12, 15, .95); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 32px; cursor: pointer; }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }

@media print {
  body { background: #fff !important; color: #000; padding: 0 !important; }
  .ownerbar, .stickybar, .tools, .toasts, .seller .btn-row, .g-count, .g-nav, .g-thumbs, .r-head-cta, .lightbox { display: none !important; }
  .r-head { position: static; }
  .r-sec, .r-quick div { box-shadow: none; break-inside: avoid; }
  .r-quick div { background: #eee; color: #000; }
  .r-quick span { color: #444; }
  .gallery { margin: 0 0 12px; }
  .g-track { overflow: visible; flex-wrap: wrap; gap: 6px; background: none; }
  .g-item { flex: 0 0 calc(33.3% - 4px); }
  .g-item:nth-child(n+7) { display: none; }
}
