:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --border: #d9dee5;
  --text: #141b26;
  --muted: #4a5263;
  --brand: #0d6464;
  --brand-2: #e2f1f0;
  --on-brand: #ffffff;
  --accent: #c2410c;
  --ok: #12703a;
  --ok-bg: #e3f4e9;
  --warn: #9a4a06;
  --warn-bg: #fdf0dc;
  --err: #a8201a;
  --err-bg: #fce8e6;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --radius: 12px;
  --side: 260px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1419; --surface: #171d24; --surface-2: #1e252e; --border: #2e3741; --text: #eceff3; --muted: #a9b2c0;
    --brand: #5cc2bb; --brand-2: #16302f; --on-brand: #062221; --accent: #f08a4b; --ok: #5ee08f; --ok-bg: #12301f; --warn: #fbbf24; --warn-bg: #33270f;
    --err: #f87171; --err-bg: #3a1a1a; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1419; --surface: #171d24; --surface-2: #1e252e; --border: #2e3741; --text: #eceff3; --muted: #a9b2c0;
  --brand: #5cc2bb; --brand-2: #16302f; --on-brand: #062221; --accent: #f08a4b; --ok: #5ee08f; --ok-bg: #12301f; --warn: #fbbf24; --warn-bg: #33270f;
  --err: #f87171; --err-bg: #3a1a1a; --shadow: none; color-scheme: dark;
}

/* Yazı büyüklüğü: A−/A+ (tarayıcıda hatırlanır). Tüm ölçüler rem olduğu için hepsi birlikte büyür. */
html { font-size: 17px; }
html[data-yazi="-1"] { font-size: 15px; }
html[data-yazi="1"] { font-size: 19px; }
html[data-yazi="2"] { font-size: 21px; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -.01em; line-height: 1.25; }
h2 { font-size: 1.2rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: var(--mono); font-size: .85rem; }
.nowrap { white-space: nowrap; }
.up { color: var(--ok); }
.down { color: var(--err); }

/* Yerleşim */
.app { display: flex; min-height: 100vh; }
.side {
  width: var(--side); flex: 0 0 var(--side); background: var(--surface); border-right: 1px solid var(--border);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column;
}
.brand { padding: 18px 18px 12px; font-weight: 700; font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1rem; flex: 0 0 32px; }
.nav { padding: 6px 10px 16px; display: flex; flex-direction: column; gap: 4px; }
.nav a, .nav summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 44px; border-radius: 10px; color: var(--text); }
.nav a.ana { font-size: 1.08rem; font-weight: 600; min-height: 52px; }
.nav a:hover, .nav summary:hover { background: var(--surface-2); text-decoration: none; }
.nav a.on { background: var(--brand); color: var(--on-brand); }
.nav .ico { width: 24px; text-align: center; font-size: 1.15rem; }
.nav details.diger { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }
.nav details.diger summary { cursor: pointer; list-style: none; color: var(--muted); font-weight: 600; }
.nav details.diger summary::-webkit-details-marker { display: none; }
.nav details.diger summary::after { content: "▸"; margin-left: auto; transition: transform .15s; }
.nav details.diger[open] summary::after { transform: rotate(90deg); }
.nav details.diger a { font-size: .95rem; }
.nav details.diger a.on { background: var(--brand-2); color: var(--brand); font-weight: 600; }
.side .foot { margin-top: auto; padding: 12px 16px 16px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.yazi-boy { display: flex; align-items: center; gap: 6px; }
.yazi-boy button { min-width: 52px; min-height: 40px; font: inherit; font-weight: 700; font-size: 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); cursor: pointer; }
.yazi-boy button:hover { background: var(--surface-2); }
.tema { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); align-self: flex-start; }
.tema button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; padding: 6px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; min-height: 34px; }
.tema button:hover { color: var(--text); }
.tema button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.topbar .tema-hizli { margin-left: auto; }
.main { flex: 1; min-width: 0; padding: 24px 32px 40px; max-width: 1500px; }
.topbar { display: none; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pagehead p { margin: 4px 0 0; color: var(--muted); max-width: 820px; }
.sayfa-alt { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }

/* Kartlar */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.card > h2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.card.vurgu { border: 2px solid var(--brand); background: linear-gradient(0deg, var(--surface), var(--surface)), var(--brand-2); }
.card.cta, .cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.card.cta { border-style: dashed; border-width: 2px; }
.h-alt { font-weight: 400; color: var(--muted); font-size: .95rem; margin-right: auto; }
.aciklama { color: var(--muted); margin: -4px 0 12px; max-width: 900px; }
.ara-baslik { margin: 18px 0 8px; }
.buyuk { font-size: 1.12rem; margin: 6px 0; }
.buyuk-sayi { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.buyuk-sayi small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.lbl { color: var(--muted); font-size: .9rem; }
.grid { display: grid; gap: 18px; margin-bottom: 18px; }
.grid.sifir { margin-bottom: 0; }
.grid > .card { margin-bottom: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpi { padding: 16px 18px; }
.kpi .lbl { color: var(--muted); font-size: .9rem; }
.kpi .val { font-size: 1.4rem; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .val .fy b { font-size: 1.4rem; }
.kpi .sub { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.alt-kutu { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border); }
.firma-liste { margin: 0 0 10px; padding-left: 20px; }
.firma-liste li { margin: 4px 0; }
.dugmeler { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.dugmeler > a:not(.btn) { padding: 8px 4px; }

/* Fiyat: dolar büyük, TL altında */
.fy { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.fy b { font-size: 1.02rem; }
.fy small { color: var(--muted); font-weight: 400; display: inline; }
.fy-tl { font-size: .8rem; color: var(--muted); }
td:not(.num) .fy, .val .fy, .mini-kart .fy { align-items: flex-start; }

/* Tablolar */
.tablewrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.t { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.t th { text-align: left; font-weight: 600; color: var(--muted); font-size: .85rem; padding: 10px; border-bottom: 2px solid var(--border); white-space: nowrap; background: var(--surface); vertical-align: bottom; }
table.t th.num { text-align: right; }
table.t th[data-sort] { cursor: pointer; user-select: none; }
table.t th[data-sort]:hover { color: var(--text); }
table.t th[data-dir="desc"]::after { content: " ▼"; }
table.t th[data-dir="asc"]::after { content: " ▲"; }
table.t td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.t tr:hover td { background: var(--surface-2); }
table.t tr.hl td { background: var(--brand-2); }
table.t tr.total td { font-weight: 700; border-top: 2px solid var(--border); }
table.t tr.gizli { display: none; }
.tumunu { margin-top: 10px; }
.gelismis-tablo .adv { display: none; }
.gelismis-tablo.acik .adv { display: table-cell; }
.bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; background: var(--brand); }
.satir-form { margin: 0; }

/* Rozetler */
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.brand { background: var(--brand-2); color: var(--brand); }
.badge.firsat { font-size: .88rem; padding: 3px 12px; }
.score { display: inline-grid; place-items: center; min-width: 38px; padding: 2px 6px; border-radius: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ⓘ açıklama baloncuğu (fareyle üstüne gelince veya dokununca) */
.ib { position: relative; display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; border-radius: 50%; color: var(--brand); cursor: help; font-weight: 400; font-size: .95em; vertical-align: baseline; outline: none; }
.ib:focus-visible { box-shadow: 0 0 0 2px var(--brand); }
.ib-pop { display: none; position: absolute; z-index: 40; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); width: max-content; max-width: min(320px, 80vw);
  background: var(--text); color: var(--surface); padding: 10px 12px; border-radius: 8px; font-size: .88rem; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; box-shadow: 0 6px 24px rgba(0,0,0,.2); text-transform: none; letter-spacing: 0; }
.ib:hover .ib-pop, .ib:focus .ib-pop, .ib.acik .ib-pop { display: block; }
.ib-ornek { color: var(--brand); font-weight: 700; }

/* "Bu sayfa ne işe yarar?" kutusu */
.yk { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.yk-ic { display: flex; flex-direction: column; gap: 4px; }
.yk.gizli { display: none; }
.yk-ac { margin-bottom: 14px; }

/* Formlar */
form.inline, .inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
label.f, div.f { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); min-width: 0; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid #b9c1cc; border-radius: 8px; padding: 9px 12px; max-width: 100%; min-height: 44px;
}
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { border-color: var(--border); }
input[type="checkbox"], input[type="radio"] { min-height: 0; width: 1.25em; height: 1.25em; accent-color: var(--brand); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
textarea { min-height: 80px; width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; min-height: 44px; border-radius: 9px; border: 1px solid #b9c1cc; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
:root[data-theme="dark"] .btn { border-color: var(--border); }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--err); }
.btn.sm { padding: 5px 12px; min-height: 36px; font-size: .88rem; }
.buyuk-dugme { font-size: 1.08rem; padding: 12px 22px; min-height: 52px; }
.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.formgrid .full { grid-column: 1 / -1; }
.formgrid input, .formgrid select { width: 100%; }
.formgrid input[type="checkbox"], .formgrid input[type="radio"] { width: 1.25em; flex: 0 0 auto; }
.form-sade { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.buyuk-alan { font-size: 1rem; color: var(--text); font-weight: 600; }
.buyuk-alan .muted { font-weight: 400; }
.buyuk-alan input, .buyuk-alan select, .buyuk-alan textarea { font-weight: 400; font-size: 1.05rem; width: 100%; }
.fiyat-satir { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 400; }
.fiyat-satir input { width: 150px; font-size: 1.2rem; font-weight: 700; }
.fiyat-satir select { width: auto; }
fieldset.secim { border: 0; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
fieldset.secim legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.secim-k { flex: 1 1 240px; display: flex; gap: 12px; align-items: center; border: 2px solid var(--border); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.secim-k span { display: flex; flex-direction: column; }
.secim-k small { color: var(--muted); }
.secim-k:has(input:checked) { border-color: var(--brand); background: var(--brand-2); }
.urun-kutular { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 18px; color: var(--text); }
.urun-kutular legend { padding: 0 6px; font-weight: 600; }
.urun-kutu-grup { display: flex; flex-direction: column; gap: 4px; }
.kutu { display: flex; gap: 8px; align-items: center; min-height: 36px; cursor: pointer; }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.flash.err { background: var(--err-bg); color: var(--err); }
.flash.warn { background: var(--warn-bg); color: var(--warn); }
.uyari { color: var(--warn); margin-top: 6px; }
.note { background: var(--surface-2); border-radius: 8px; padding: 12px 14px; color: var(--muted); font-size: .92rem; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.empty-buyuk { text-align: center; padding: 36px 20px; font-size: 1.08rem; }
.chartbox { position: relative; height: 320px; }
.chartbox.sm { height: 260px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--brand); border-color: var(--brand); font-weight: 700; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.buyuk-tab a { font-size: 1.1rem; padding: 12px 18px; }
.links a { margin-right: 12px; white-space: nowrap; display: inline-block; padding: 6px 0; }
.heat td.hcell { text-align: center; font-variant-numeric: tabular-nums; font-size: .8rem; }
details summary { cursor: pointer; color: var(--brand); min-height: 32px; }
details.ayrinti > summary { padding: 4px 0; }
details.ayrinti[open] > summary { margin-bottom: 12px; }
details.ic-detay { margin-top: 18px; }
details.ic-detay > summary { font-weight: 600; padding: 8px 0; }

/* Ürün arama */
.arama-alani { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.arama-alani h1 { font-size: 1.7rem; margin-bottom: 14px; }
.ara-buyuk { position: relative; display: flex; gap: 10px; max-width: 860px; }
.ara-buyuk input[name="q"] { flex: 1; font-size: 1.25rem; padding: 14px 18px; min-height: 60px; border-width: 2px; border-color: var(--brand); border-radius: 12px; }
.ara-buyuk .btn { min-height: 60px; font-size: 1.15rem; padding: 0 28px; border-radius: 12px; }
.ara-buyuk.card { padding: 16px; }
.ara-mini { position: relative; display: flex; gap: 8px; }
.ara-mini input { width: 230px; }
.oneri { position: absolute; z-index: 35; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-height: 60vh; overflow-y: auto; padding: 6px; }
.oneri a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 8px; color: var(--text); font-size: 1.05rem; min-height: 48px; }
.oneri a small { color: var(--muted); margin-left: auto; font-size: .85rem; }
.oneri a.sec, .oneri a:hover { background: var(--brand-2); text-decoration: none; }
.oneri .bos { padding: 12px 14px; color: var(--muted); }
.urun-dugmeler { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.urun-dugme { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-height: 64px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); }
.urun-dugme span { font-size: 1.4rem; line-height: 1; }
.urun-dugme b { font-size: 1.02rem; }
.urun-dugme small { color: var(--muted); font-size: .82rem; }
.urun-dugme:hover { border-color: var(--brand); background: var(--brand-2); text-decoration: none; }
.urun-dugme.on { border: 2px solid var(--brand); background: var(--brand-2); }
.urun-dugme.tumu { border-style: dashed; }
.urun-dugmeler.kucuk { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.urun-dugmeler.kucuk .urun-dugme { min-height: 48px; padding: 10px 14px; flex-direction: row; align-items: center; gap: 8px; }
.urun-dugmeler.kucuk .urun-dugme span { font-size: 1.1rem; }
.urun-ad { font-weight: 600; }

/* Ana sayfa kartları */
.benim-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.benim-kart { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); }
.benim-kart:hover { border-color: var(--brand); text-decoration: none; background: var(--surface-2); }
.mini-kart { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); }
.mini-kart:hover { border-color: var(--brand); text-decoration: none; background: var(--surface-2); }
.talep-satir { padding: 8px 0; border-bottom: 1px solid var(--border); }

/* Ürünlerim */
.urunum-bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.urunum-ad { font-size: 1.2rem; font-weight: 700; }
.urunum-fiyat { text-align: right; font-size: 1.15rem; }
.urunum-ozet { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 1.05rem; }
.urunum-ozet.iyi { background: var(--ok-bg); }

/* Yardım */
.adimlar { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.sozluk { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 10px 18px; margin: 0; }
.sozluk dt { font-weight: 700; }
.sozluk dd { margin: 0; color: var(--muted); }

/* İskelet: içerik hazırlanırken / sayfa geçişinde */
.isk { display: block; height: .95rem; border-radius: 6px; margin: 6px 0; background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: isk 1.4s ease infinite; }
.isk-k { height: .8rem; width: 60%; }
.isk-b { height: 1.6rem; width: 45%; margin: 10px 0; }
.isk-satir { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.isk-satir .isk { margin: 0; }
.isk-not { color: var(--muted); font-weight: 600; margin: 0 0 12px; }
@keyframes isk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .isk { animation: none; } }
.main.gecis > [data-parca], .main.gecis > .flash, .main.gecis > .sayfa-alt { display: none; }
.main:not(.gecis) > .gecis-iskelet { display: none; }

/* Giriş */
.authwrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.authcard { width: 100%; max-width: 420px; }
.authcard input { width: 100%; }

@media (max-width: 1200px) {
  .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .g2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  html { font-size: 18px; }
  html[data-yazi="-1"] { font-size: 16px; }
  html[data-yazi="1"] { font-size: 20px; }
  html[data-yazi="2"] { font-size: 22px; }
  .app { display: block; }
  .side { position: fixed; z-index: 30; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.25); width: min(300px, 86vw); }
  .side.open { transform: none; }
  .topbar { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
  .topbar strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar button { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; min-height: 44px; color: var(--text); font: inherit; font-weight: 600; }
  .main { padding: 16px 16px 32px; }
  .g2, .g3, .formgrid { grid-template-columns: minmax(0, 1fr); }
  .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px; }
  .kpi .val { font-size: 1.15rem; }
  .card { padding: 16px; }
  .tablewrap { margin: 0 -16px; padding: 0 16px; }
  h1 { font-size: 1.35rem; }
  .arama-alani { padding: 18px 16px; }
  .arama-alani h1 { font-size: 1.35rem; }
  .ara-buyuk { flex-direction: column; }
  .ara-buyuk .btn { min-height: 52px; }
  .ara-mini { width: 100%; }
  .ara-mini input { flex: 1; width: auto; }
  .urun-dugmeler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .urunum-fiyat { text-align: left; }
  .sozluk { grid-template-columns: 1fr; gap: 2px; }
  .sozluk dd { margin-bottom: 10px; }
  .yk { flex-direction: column; }
}
