@font-face {
  font-family: 'Vazirmatn';
  src: url('../yazi/vazirmatn.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --teal: #27b4a6; --teal-koyu: #1b9a8d; --teal-acik: #d8f3ef;
  --zemin: #f5f7f9; --yuzey: #ffffff; --yuzey-2: #f1f3f6; --cizgi: #e3e7ec; --cizgi-koyu: #1f2937;
  --metin: #111827; --soluk: #6b7280; --mavi: #2f5be6; --mavi-koyu: #1e40af; --yesil: #2ea86b; --yesil-koyu: #1b7a3d; --kirmizi: #dc2626; --bordo: #991b1b;
  --mor: #5b3fd6; --turuncu: #f0a500; --sari: #facc15;
  --golge: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px rgba(17, 24, 39, .07); --golge-buyuk: 0 16px 40px rgba(17, 24, 39, .18);
  --yaricap: 16px; --ust: 56px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zemin); color: var(--metin); font: 400 16px/1.6 'Vazirmatn', Tahoma, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
.simge { flex-shrink: 0; }
[dir="rtl"] .simge.yonlu { transform: scaleX(-1); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(47, 91, 230, .4); outline-offset: 2px; }

#ekran { max-width: 760px; margin: 0 auto; min-height: 100vh; padding-bottom: 28px; }
body[data-ekran="harita"] #ekran, body[data-ekran=""] #ekran, body[data-ekran="ana"] #ekran, body[data-ekran="mesafe"] #ekran, body[data-ekran="plan"] #ekran { max-width: none; padding: 0; }

/* ---------- üst çubuk (turkuaz) ---------- */
.ust-cubuk { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 4px; min-height: var(--ust); padding: 0 6px; padding-top: env(safe-area-inset-top);
  background: linear-gradient(90deg, var(--teal), #2cc0b1); color: #fff; box-shadow: 0 2px 10px rgba(27, 154, 141, .35); }
.ust-cubuk h1 { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 1.18rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ust-cubuk.ortali h1 { justify-content: center; }
.ust-ikon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #fff; }
.ust-ikon:active { background: rgba(255, 255, 255, .18); }
.ust-ikon.bos { pointer-events: none; }
.ust-ikon.turuncu { color: #ffb020; }
.ust-sag { display: flex; align-items: center; }
.ust-marka { display: flex; align-items: center; gap: 8px; }
.ust-marka img { width: 30px; height: 30px; border-radius: 8px; }
.govde { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- çekmece ---------- */
.cekmece { position: fixed; margin: 0; inset: 0 auto 0 0; width: min(86vw, 340px); height: 100%; max-height: 100%; padding: 0; border: 0; background: #fff; color: var(--metin); box-shadow: var(--golge-buyuk); animation: cekmece-gir .22s ease-out; }
[dir="rtl"] .cekmece { inset: 0 0 0 auto; animation-name: cekmece-gir-sag; }
.cekmece.kapaniyor { animation: cekmece-cik .18s ease-in forwards; }
[dir="rtl"] .cekmece.kapaniyor { animation-name: cekmece-cik-sag; }
.cekmece::backdrop { background: rgba(17, 24, 39, .45); }
@keyframes cekmece-gir { from { transform: translateX(-100%); } }
@keyframes cekmece-gir-sag { from { transform: translateX(100%); } }
@keyframes cekmece-cik { to { transform: translateX(-100%); } }
@keyframes cekmece-cik-sag { to { transform: translateX(100%); } }
.cekmece-ic { height: 100%; overflow-y: auto; display: flex; flex-direction: column; padding: calc(12px + env(safe-area-inset-top)) 12px 16px; }
.profil-kart { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--golge); border: 1px solid var(--cizgi); margin-bottom: 14px; }
.profil-kart img { width: 54px; height: 54px; border-radius: 14px; }
.profil-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.profil-yazi strong { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.profil-yazi strong .simge { color: var(--yesil); }
.profil-yazi span, .profil-yazi small { color: var(--soluk); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profil-kapat { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--yuzey-2); display: grid; place-items: center; }
.cekmece-oge { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 10px; border: 0; border-bottom: 1px solid var(--cizgi); background: none; text-align: start; font-weight: 500; font-size: .98rem; }
.cekmece-oge .simge { color: #111827; }
.cekmece-oge.aktif { color: var(--teal-koyu); font-weight: 700; }
.cekmece-oge.aktif .simge { color: var(--teal-koyu); }
.cekmece-oge:active { background: var(--yuzey-2); }
.cekmece-alt { margin-top: auto; padding-top: 16px; text-align: center; font-size: .82rem; color: var(--soluk); }
.cekmece-alt b { color: var(--yesil); font-weight: 600; }

/* ---------- bölüm başlığı, etiket, seçim kutusu, anahtar ---------- */
.bolum-baslik { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.06rem; margin: 8px 0 4px; }
.bolum-baslik .simge { color: #3b5bdb; }
.alan-etiket { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--soluk); margin: 10px 2px 6px; }
.secim-kutu { position: relative; display: flex; align-items: center; gap: 8px; padding: 13px 16px; border: 1.6px solid var(--cizgi-koyu); border-radius: 12px; background: #fff; min-height: 50px; }
.secim-kutu.kucuk { padding: 9px 12px; min-height: 42px; border-radius: 10px; background: #f3f4f6; border-color: #d1d5db; }
.secim-yazi { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.secim-yazi b { color: var(--yesil-koyu); font-weight: 700; }
.secim-yazi i { color: var(--bordo); font-style: normal; font-weight: 700; }
.secim-kutu.kucuk .secim-yazi b { color: var(--bordo); }
.secim-ok { color: #374151; transform: rotate(90deg) !important; }
.secim-yerel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; appearance: none; }
.anahtar-satir { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.anahtar-yazi { display: flex; flex-direction: column; font-weight: 500; }
.anahtar-yazi small { color: var(--soluk); font-size: .8rem; }
.anahtar { appearance: none; width: 50px; height: 28px; border-radius: 99px; background: #cbd5e1; position: relative; transition: background .2s; flex-shrink: 0; cursor: pointer; margin: 0; }
.anahtar::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: inset-inline-start .2s; }
.anahtar:checked { background: var(--mor); }
.anahtar.mavi:checked { background: #2f80b5; }
.anahtar.yesil:checked { background: var(--yesil); }
.anahtar:checked::after { inset-inline-start: 25px; }
.ayirici { border: 0; border-top: 1px solid var(--cizgi); margin: 14px 0 6px; }
.olcek-satir { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 54px minmax(0, 1fr); align-items: center; gap: 6px; }
.olcek-satir .secim-kutu { min-width: 0; }
.olcek-satir .secim-kutu.kucuk { padding: 9px 8px; gap: 4px; }
.olcek-satir .girdi { background: #f3f4f6; border-color: #d1d5db; text-align: center; padding: 10px 6px; }
.olcek-satir .esit { font-weight: 800; font-size: 1.2rem; text-align: center; }

/* ---------- kart, form, düğme ---------- */
.kart { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 14px; box-shadow: var(--golge); display: flex; flex-direction: column; gap: 10px; }
.kart h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kart h3 .simge { color: #3b5bdb; }
.kart summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 10px; list-style: none; }
.kart summary::-webkit-details-marker { display: none; }
.kart summary::after { content: '⌄'; margin-inline-start: auto; color: var(--soluk); font-size: 1.1rem; transition: transform .2s; }
.kart[open] summary::after { transform: rotate(180deg); }
.alan { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.alan > span { font-size: .84rem; color: var(--soluk); font-weight: 600; }
.girdi { width: 100%; min-width: 0; padding: 11px 13px; border: 1.5px solid #d1d5db; border-radius: 12px; background: var(--yuzey); outline: none; transition: border-color .15s, box-shadow .15s; }
.girdi:focus { border-color: var(--mavi); box-shadow: 0 0 0 4px rgba(47, 91, 230, .12); }
.girdi.hatali { border-color: var(--kirmizi); background: #fff5f5; }
select.girdi { appearance: none; background: var(--yuzey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center; padding-inline-start: 34px; }
html[dir="ltr"] select.girdi { background-position: right 12px center; padding-inline-start: 13px; padding-inline-end: 34px; }
textarea.girdi { resize: vertical; }
.ipucu { color: var(--soluk); font-size: .86rem; margin: 0; line-height: 1.7; }
.ipucu.uyari { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; padding: 9px 12px; border-radius: 12px; }
.form-hata { color: var(--kirmizi); font-weight: 700; margin: 0; }
.form-hata:empty { display: none; }
.satir-iki, .izgara-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.satir-uc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.satir-dugmeli { display: flex; gap: 8px; }
.onay-satir { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.onay-satir input { width: 20px; height: 20px; accent-color: var(--mavi); }

.dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #d1d5db; background: var(--yuzey); font-weight: 700; text-decoration: none; transition: transform .12s, filter .12s; }
.dugme:active { transform: scale(.98); filter: brightness(.96); }
.dugme.mavi { background: var(--mavi); border-color: var(--mavi); color: #fff; box-shadow: 0 6px 16px rgba(47, 91, 230, .3); }
.dugme.yesil { background: var(--yesil); border-color: var(--yesil); color: #fff; box-shadow: 0 6px 16px rgba(46, 168, 107, .3); }
.dugme.teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.dugme.tehlike { background: var(--kirmizi); border-color: var(--kirmizi); color: #fff; }
.dugme.genis { flex: 1; width: 100%; }
.dugme.buyuk { padding: 15px 18px; font-size: 1.04rem; }
.dugme:disabled { opacity: .5; }
.dugmeler { display: flex; flex-wrap: wrap; gap: 8px; }
.sabit-alt { position: sticky; bottom: 0; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--zemin) 32%); display: flex; gap: 10px; z-index: 5; }

.parcali { display: flex; padding: 4px; gap: 4px; background: var(--yuzey-2); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.parcali button { flex: 1 0 auto; border: 0; background: none; padding: 9px 10px; border-radius: 9px; font-weight: 700; color: var(--soluk); font-size: .86rem; white-space: nowrap; }
.parcali button.secili { background: var(--yuzey); color: var(--mavi); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.renk-secici { display: flex; flex-wrap: wrap; gap: 8px; }
.renk { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--cizgi); }
.renk.secili { box-shadow: 0 0 0 3px var(--metin); }

/* ---------- liste kartı (hesap makineleri, menüler) ---------- */
.liste { display: flex; flex-direction: column; gap: 12px; }
.liste-kart { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--cizgi); border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(17, 24, 39, .06); text-align: start; }
.liste-kart:active { transform: scale(.99); }
.liste-simge { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--renk); background: color-mix(in srgb, var(--renk) 13%, #fff); }
.liste-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.liste-yazi strong { font-size: 1rem; font-weight: 700; }
.liste-yazi small { color: var(--soluk); font-size: .84rem; }
.liste-ok { color: #9ca3af; }
.sayfa-baslik { font-size: 1.35rem; font-weight: 800; margin: 4px 2px; }

/* ---------- alt sayfa, pencere, bildirim ---------- */
.sayfa { position: fixed; margin: 0; inset: auto 0 0 0; width: 100%; max-width: 760px; margin-inline: auto; max-height: 90vh; padding: 0; border: 0; border-radius: 22px 22px 0 0;
  background: var(--yuzey); color: var(--metin); box-shadow: 0 -20px 50px rgba(0, 0, 0, .25); animation: sayfa-gir .22s ease-out; overflow: hidden; display: flex; flex-direction: column; }
.sayfa[open] { display: flex; }
.sayfa.kapaniyor { animation: sayfa-cik .18s ease-in forwards; }
.sayfa::backdrop { background: rgba(17, 24, 39, .45); }
@keyframes sayfa-gir { from { transform: translateY(100%); } }
@keyframes sayfa-cik { to { transform: translateY(100%); } }
.sayfa-tutamak { width: 44px; height: 5px; border-radius: 99px; background: #cbd5e1; margin: 10px auto 2px; flex-shrink: 0; }
.sayfa-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 18px 10px; flex-shrink: 0; }
.sayfa-ust h2 { font-size: 1.1rem; font-weight: 800; }
.sayfa-kapat { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--yuzey-2); display: grid; place-items: center; }
.sayfa-govde { padding: 4px 18px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.sayfa-alt-baslik { font-size: .92rem; font-weight: 800; color: var(--soluk); margin-top: 6px; }
.secim-liste { display: flex; flex-direction: column; gap: 10px; }
.secim { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border-radius: 16px; border: 1px solid var(--cizgi); background: var(--yuzey); text-align: start; }
.secim-simge { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--renk), color-mix(in srgb, var(--renk) 70%, #000)); flex-shrink: 0; }
.secim-yazi2 { flex: 1; display: flex; flex-direction: column; line-height: 1.45; }
.secim-yazi2 small { color: var(--soluk); font-size: .8rem; }
.bildirim { position: fixed; bottom: calc(28px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 3000; max-width: min(90vw, 460px); padding: 12px 18px;
  border-radius: 14px; background: #111827; color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: opacity .4s, transform .4s; text-align: center; }
.bildirim.hata { background: var(--kirmizi); }
.bildirim.cik { opacity: 0; transform: translate(-50%, 10px); }
.pencere { border: 0; border-radius: 18px; padding: 20px; width: min(420px, calc(100vw - 32px)); box-shadow: var(--golge-buyuk); }
.pencere::backdrop { background: rgba(17, 24, 39, .45); }
.pencere-baslik { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.pencere-metin { margin: 0 0 16px; font-weight: 500; }
.pencere-dugmeler { display: flex; gap: 8px; margin-top: 14px; }
.pencere-dugmeler .dugme { flex: 1; }

/* ---------- harita ekranı (Home & Measurement) ---------- */
.h-ekran { position: fixed; inset: 0; display: flex; flex-direction: column; background: #e5e7eb; }
.h-ekran .ust-cubuk { position: relative; }
.h-govde { position: relative; flex: 1; min-height: 0; }
.h-harita { position: absolute; inset: 0; background: #e5e7eb; }
.h-harita.duz { background: #fff; }
.h-bilgi { position: absolute; z-index: 600; top: 10px; inset-inline: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.h-bilgi-geri { width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; border-radius: 10px; }
.h-bilgi-oge { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 2px 4px; border: 0; background: none; text-align: start; }
.h-bilgi-oge .simge { color: #374151; }
.h-bilgi-oge div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.h-bilgi-oge small { font-size: .66rem; font-weight: 700; color: var(--soluk); letter-spacing: .04em; text-transform: uppercase; }
.h-bilgi-oge strong { font-size: .98rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-bilgi-ayrac { width: 1px; height: 30px; background: var(--cizgi); }
.h-plan-kucuk { position: absolute; z-index: 600; top: 70px; inset-inline-start: 10px; width: 92px; height: 92px; padding: 0; border: 3px solid #fff; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); overflow: hidden; }
.h-plan-kucuk img { width: 100%; height: 100%; object-fit: cover; }
.h-plan-kucuk.kapali img { opacity: .35; }
.h-yan { position: absolute; z-index: 600; inset-inline-end: 10px; top: 70px; display: flex; flex-direction: column; gap: 8px; }
.h-yan-dugme { width: 42px; height: 42px; border: 0; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); color: #111827; }
.h-yan-dugme.acik { background: var(--mavi); color: #fff; }
.h-yan-dugme:disabled { opacity: .4; }
.h-orta { position: absolute; z-index: 500; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; }
.h-orta::before, .h-orta::after { content: ''; position: absolute; background: rgba(17, 24, 39, .75); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8); }
.h-orta::before { left: 12px; top: 0; width: 2px; height: 26px; }
.h-orta::after { top: 12px; left: 0; width: 26px; height: 2px; }
.h-damla { position: absolute; z-index: 600; left: 50%; bottom: 18px; width: 66px; height: 66px; margin-left: -33px; border: 0; padding: 0; background: none; }
.h-damla::before { content: ''; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #86e2a0; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.h-damla span { position: absolute; inset: 10px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #16a34a; }
.h-damla:active::before { background: #5fd387; }
.h-alt { position: relative; z-index: 600; display: flex; flex-direction: column; gap: 6px; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
.h-arac-cubugu { display: flex; justify-content: space-around; align-items: stretch; gap: 2px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--cizgi); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.h-arac { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 6px; border: 0; border-radius: 10px; background: none; font-size: .72rem; font-weight: 700; color: #111827; line-height: 1.2; }
.h-arac:active { background: var(--yuzey-2); }
.h-arac.acik { background: #dbeafe; color: var(--mavi-koyu); }
.h-arac.kirmizi { color: var(--kirmizi); }
.h-arac.yesil { color: var(--yesil-koyu); }
.h-arac:disabled { color: #b0b7c3; }
.h-kayit { font-size: .8rem; line-height: 1.6; color: #111827; padding: 2px 6px 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.h-kayit b { font-weight: 700; }
.h-kayit span { white-space: nowrap; }
.h-nokta { display: grid !important; place-items: center; border-radius: 50%; background: #19c3e6; border: 2.5px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); font: 800 11px 'Vazirmatn', sans-serif; color: #fff; }
.h-nokta.secili { background: #dc2626; transform: scale(1.3); }
.h-nokta.olcek { background: #dc2626; }
.h-nokta.adsiz span { display: none; }
.h-ara { display: grid !important; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); border: 1.5px solid #19c3e6; color: #0e7490; font: 800 14px sans-serif; }
.h-olcu span { position: absolute; transform: translate(-50%, -50%) rotate(var(--aci, 0deg)); white-space: nowrap; padding: 1px 8px; border-radius: 8px; background: #fff; border: 2px solid var(--turuncu); color: #111827; font: 700 11.5px 'Vazirmatn', sans-serif; pointer-events: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.h-alan span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 3px 10px; border-radius: 7px; background: #2ecc71; border: 2px solid #fff; color: #0b3b1f; font: 800 14px 'Vazirmatn', sans-serif; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); pointer-events: none; }
.h-alan.kucuk span { transform: translate(-50%, -190%); font-size: 13px; background: #fff; color: var(--mavi); border-color: var(--mavi); }
.h-parsel b, .h-parsel span { position: absolute; transform: translate(-50%, -105%); white-space: nowrap; font: 800 13px 'Vazirmatn', sans-serif; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; pointer-events: none; }
.h-parsel span { transform: translate(-50%, 5%); font-size: 11px; font-weight: 700; }
.leaflet-container { font-family: 'Vazirmatn', sans-serif; }
.leaflet-control-attribution { font-size: 9px; }
.leaflet-bottom.leaflet-left { margin-bottom: 4px; }
.leaflet-interactive.secili-parsel { filter: drop-shadow(0 0 4px #000); }
.katman-secim { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.katman-kart { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: var(--yuzey-2); font-size: .78rem; font-weight: 700; }
.katman-kart.secili { border-color: var(--mavi); background: #eff6ff; color: var(--mavi); }
.katman-onizleme { width: 100%; aspect-ratio: 1; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.katman-onizleme[data-k="uydu"] { background: radial-gradient(circle at 30% 30%, #4d7c0f 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, #a16207 0 16%, transparent 17%), linear-gradient(135deg, #14532d, #365314 50%, #57534e) !important; }
.katman-onizleme[data-k="karma"] { background: linear-gradient(90deg, transparent 46%, #fbbf24 46% 54%, transparent 54%), linear-gradient(135deg, #14532d, #365314 50%, #57534e) !important; }
.katman-onizleme[data-k="sokak"] { background: linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%), linear-gradient(0deg, transparent 60%, #fde68a 60% 68%, transparent 68%), #e5e7eb !important; }
.katman-onizleme[data-k="topo"] { background: repeating-radial-gradient(circle at 60% 60%, #d6c7a1 0 6px, #b8a77c 6px 7px) !important; }
.arama-sonuc { display: flex; flex-direction: column; gap: 2px; }
.menu-liste { display: flex; flex-direction: column; gap: 2px; }
.menu-oge { display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; background: none; border-radius: 12px; font-weight: 600; text-align: start; width: 100%; }
.menu-oge:active { background: var(--yuzey-2); }
.menu-oge > span { flex: 1; }
.menu-oge .simge { color: #3b5bdb; }
.menu-oge.tehlike, .menu-oge.tehlike .simge { color: var(--kirmizi); }
.menu-oge small { color: var(--soluk); font-weight: 500; }
.gps-durum { font-size: .8rem; color: #0369a1; font-weight: 700; text-align: center; }
.gps-durum:empty { display: none; }

/* ---------- plan ölçeği, yükleme ---------- */
.yukle-alani { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 34px 18px; border-radius: 18px; border: 2px dashed #93c5fd; background: #eff6ff; color: #1e3a8a; text-align: center; }
.yukle-alani strong { font-size: 1.1rem; }
.yukle-alani span { font-size: .86rem; opacity: .85; }
.adimlar { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; line-height: 1.8; }
.olcek-ekran { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--zemin); }
.olcek-harita { flex: 1; min-height: 38vh; background: #e5e7eb; }
.olcek-panel { padding: 12px 14px max(12px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; background: var(--yuzey); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); max-height: 58vh; overflow-y: auto; }
.olcek-sonuc { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #ecfdf5; color: var(--yesil-koyu); font-size: .88rem; }
.olcek-sonuc.bekliyor { background: #fff7ed; color: #9a3412; }

/* ---------- kenar (Enter Boundary Sides) ---------- */
.sinir-baslik { font-size: 1.22rem; font-weight: 800; margin: 2px 0 0; }
.sinir-ipucu { color: var(--soluk); font-size: .88rem; margin: 0 0 6px; }
.sinir-satir { display: grid; grid-template-columns: 34px 54px 1fr 40px; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--cizgi); border-radius: 14px; background: #fff; }
.sinir-satir.taban { border-color: var(--yesil); box-shadow: 0 0 0 3px rgba(46, 168, 107, .12); }
.sinir-radyo { width: 30px; height: 30px; border: 0; background: none; color: #9ca3af; display: grid; place-items: center; }
.sinir-satir.taban .sinir-radyo { color: var(--yesil); }
.sinir-etiket { height: 44px; display: grid; place-items: center; border-radius: 10px; background: #eef0f3; font-weight: 700; color: #374151; }
.sinir-satir .girdi { height: 46px; border-color: #9ca3af; }
.sinir-sil { width: 38px; height: 38px; border: 0; background: none; color: var(--kirmizi); display: grid; place-items: center; }
.sinir-kosegen { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; }
.sinir-dugmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- çizim (SVG) ---------- */
.cizim { width: 100%; height: auto; display: block; }
.cizim text { font-family: 'Vazirmatn', Tahoma, sans-serif; }
.c-olcu { font-weight: 700; fill: #111827; }
.c-etiket-zemin { fill: #fff; fill-opacity: .95; stroke: var(--turuncu); stroke-width: 3; }
.c-kose { font-weight: 800; fill: #1d4ed8; }
.c-no { font-weight: 900; fill: #111827; }
.c-alan { font-weight: 800; fill: #fff; paint-order: stroke; stroke: rgba(17, 24, 39, .65); stroke-width: 5px; }
.c-tik { cursor: pointer; }
.onizleme { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); padding: 6px; box-shadow: var(--golge); }
.onizleme:empty { display: none; }
.sonuc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sonuc:empty { display: none; }
.sonuc > div { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.sonuc small { color: var(--soluk); }
.sonuc-alan { grid-column: 1 / -1; background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
.sonuc-alan strong { color: var(--yesil-koyu); font-size: 1.2rem; }
.koordinat-liste { display: flex; flex-direction: column; gap: 8px; }
.koordinat-satir { display: grid; grid-template-columns: 44px 1fr 42px; gap: 8px; align-items: center; }
.kenar-etiket { font-weight: 900; color: var(--mavi); text-align: center; background: #eff6ff; border-radius: 10px; padding: 9px 0; }
.birim { color: var(--soluk); font-size: .86rem; min-width: 34px; font-weight: 700; }
.tutar { display: flex; align-items: center; gap: 6px; }

/* ---------- projeler ---------- */
.proje-kartlar { display: flex; flex-direction: column; gap: 12px; }
.proje-kart { position: relative; display: flex; background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); box-shadow: var(--golge); overflow: hidden; }
.proje-kart-ana { flex: 1; min-width: 0; display: flex; gap: 12px; padding: 10px; align-items: center; }
.proje-resim { position: relative; width: 104px; height: 86px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--yuzey-2); display: grid; place-items: center; color: var(--teal-koyu); }
.proje-resim img { width: 100%; height: 100%; object-fit: cover; }
.tur-rozet { position: absolute; bottom: 4px; inset-inline-start: 4px; font-size: .64rem; font-weight: 800; padding: 0 7px; border-radius: 8px; background: rgba(17, 24, 39, .72); color: #fff; }
.proje-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.proje-yazi strong { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proje-alan { color: var(--yesil-koyu); font-weight: 800; font-size: .88rem; }
.proje-yazi small { color: var(--soluk); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rozetler { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.rozet { font-size: .68rem; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--yuzey-2); color: var(--soluk); }
.rozet.satilik { background: #fef3c7; color: #92400e; }
.rozet.satildi { background: #fee2e2; color: #991b1b; }
.proje-menu { width: 44px; border: 0; background: none; color: var(--soluk); display: grid; place-items: center; }
.cizim.kucuk { width: 100%; height: 100%; }
.arama { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--yuzey); border: 1.5px solid #d1d5db; border-radius: 12px; color: var(--soluk); }
.arama input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; outline: none; color: var(--metin); }
.bos { text-align: center; color: var(--soluk); padding: 34px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bos .simge { color: #b6c0cb; }
.bos p { margin: 0; }
.fab { position: fixed; z-index: 35; bottom: calc(22px + env(safe-area-inset-bottom)); inset-inline-end: max(18px, calc(50% - 362px)); display: flex; align-items: center; gap: 8px;
  padding: 13px 20px; border: 0; border-radius: 14px; color: #fff; font-weight: 800; background: var(--teal); box-shadow: 0 12px 26px rgba(39, 180, 166, .4); }

/* ---------- proje ayrıntısı, parseller ---------- */
.istatistik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ist { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; box-shadow: var(--golge); }
.ist small { color: var(--soluk); font-size: .76rem; font-weight: 700; }
.ist strong { font-size: .98rem; overflow-wrap: anywhere; }
.ist.buyuk { grid-column: 1 / -1; background: #ecfdf5; border-color: #a7f3d0; }
.ist.buyuk strong { color: var(--yesil-koyu); font-size: 1.3rem; font-weight: 900; }
.ist.para { background: #fffbeb; border-color: #fde68a; }
.ist.para strong { color: #92400e; }
.durum-cip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: .74rem; font-weight: 800; color: var(--renk); background: color-mix(in srgb, var(--renk) 12%, #fff); border: 1px solid color-mix(in srgb, var(--renk) 35%, transparent); white-space: nowrap; }
.durum-cip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--renk); }
.parca-no { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; color: #fff; font-weight: 900; font-size: .84rem; flex-shrink: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.parca-girdi { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; }
.satis-ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.satis-kutu { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 14px; border: 2px solid transparent; background: color-mix(in srgb, var(--renk) 10%, #fff); color: var(--renk); font-weight: 800; }
.satis-kutu strong { font-size: 1.5rem; line-height: 1.2; }
.satis-kutu span { font-size: .78rem; }
.satis-kutu.secili { border-color: var(--renk); }
.toplam-satir { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; background: #ecfdf5; border-radius: 12px; font-size: .9rem; }
.toplam-satir strong { color: var(--yesil-koyu); }
.parsel-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.parsel-satir { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--cizgi); background: var(--yuzey); text-align: start; box-shadow: var(--golge); }
.parsel-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.parsel-yazi strong { font-size: .94rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parsel-yazi small { color: var(--soluk); font-size: .76rem; }
.parsel-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.parsel-sag small { font-size: .72rem; color: var(--soluk); font-weight: 700; }
.parca-ozet { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--renk), color-mix(in srgb, var(--renk) 70%, #000)); }
.parca-ozet strong { font-size: 1.15rem; }
.kenar-ciplari { display: flex; flex-wrap: wrap; gap: 6px; }
.kenar-cip { font-size: .76rem; font-weight: 700; padding: 2px 9px; border-radius: 9px; background: var(--yuzey-2); }
.tablo { width: 100%; border-collapse: collapse; }
.tablo th, .tablo td { padding: 8px 6px; border-bottom: 1px solid var(--yuzey-2); text-align: start; font-size: .92rem; }
.tablo th { color: var(--soluk); font-weight: 700; width: 38%; }
.koordinat-tablo th { width: auto; }
.koordinat-tablo td { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }
.alt-not { text-align: center; color: var(--soluk); font-size: .8rem; margin: 6px 16px 0; }
.eylemler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eylem { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--yuzey); border: 1px solid var(--cizgi); font-weight: 700; font-size: .88rem; text-align: start; box-shadow: var(--golge); line-height: 1.4; }
.eylem-simge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--renk); background: color-mix(in srgb, var(--renk) 13%, transparent); flex-shrink: 0; }
.gorunum { border-radius: 12px; overflow: hidden; min-height: 120px; display: grid; }
.uydu-resim { width: 100%; height: auto; display: block; border-radius: 12px; }
.yukleniyor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 200px; color: var(--soluk); font-size: .88rem; background: linear-gradient(110deg, var(--yuzey-2) 30%, #f8fafc 50%, var(--yuzey-2) 70%); background-size: 200% 100%; animation: parilti 1.4s linear infinite; border-radius: 12px; }
@keyframes parilti { to { background-position: -200% 0; } }

/* ---------- belgeler ve notlar ---------- */
.belge-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.belge-kart { position: relative; display: flex; flex-direction: column; border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; background: #fff; padding: 0; text-align: start; }
.belge-kart img, .belge-ikon { width: 100%; aspect-ratio: 1; object-fit: cover; display: grid; place-items: center; background: var(--yuzey-2); color: #3b5bdb; }
.belge-kart small { padding: 6px 8px; font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.not-kart { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; }
.not-kart p { margin: 0; white-space: pre-wrap; }
.not-kart small { color: #92400e; font-size: .74rem; }

/* ---------- araçlar (sheet içi) ---------- */
.arac-sonuc { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: #ecfdf5; }
.arac-sonuc small { color: var(--soluk); font-weight: 700; }
.arac-sonuc strong { color: var(--yesil-koyu); font-size: 1.15rem; }
.birim-kart { padding: 14px 16px; border-radius: var(--yaricap); color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-koyu)); box-shadow: 0 8px 20px rgba(27, 154, 141, .3); }
.birim-kart ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: .9rem; line-height: 1.9; }
.gps-kutu .tablo td { font-family: ui-monospace, Consolas, monospace; font-size: .84rem; }

/* ---------- rehber, hakkında, ilan ---------- */
.rehber summary { font-size: .98rem; }
.hakkinda { text-align: center; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hakkinda img { border-radius: 24px; box-shadow: var(--golge-buyuk); }
.hakkinda h2 { font-size: 1.5rem; font-weight: 900; color: var(--teal-koyu); }
.hakkinda p { margin: 0; }
.ilan-onizleme { border-radius: 16px; overflow: hidden; box-shadow: var(--golge-buyuk); background: #fff; }
.ilan-tuval { width: 100%; height: auto; display: block; }

/* ---------- lisans kapısı ---------- */
body.lisans-kapali { overflow: hidden; }
.lk { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, #d8f3ef, #f5f7f9 50%, #e0ecff); }
.lk-kart { width: min(440px, 100%); background: #fff; border-radius: 22px; padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 70px rgba(17, 24, 39, .2); border: 1px solid var(--cizgi); }
.lk-marka { text-align: center; }
.lk-logo { width: 80px; height: 80px; border-radius: 22px; display: block; margin: 0 auto; box-shadow: 0 10px 26px rgba(27, 154, 141, .35); }
.lk-marka h1 { margin: 10px 0 0; font-size: 1.5rem; font-weight: 900; color: var(--teal-koyu); }
.lk-marka p { margin: 0; color: var(--soluk); }
.lk-aciklama { display: flex; flex-direction: column; gap: 4px; text-align: center; line-height: 1.8; }
.lk-aciklama strong { font-size: 1.08rem; color: var(--metin); }
.lk-aciklama span { color: var(--soluk); }
.lk-uyari { text-align: start; background: #fff8e6; border: 1px solid #f3d68a; border-radius: 14px; padding: 12px 14px; }
.lk-uyari strong { color: #8a5a00; }
.lk-uyari span { color: #6b4a00; }
.lk-govde { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.lk-govde .dugme.ana { background: var(--mavi); border-color: var(--mavi); color: #fff; }
.lk-google { display: flex; justify-content: center; min-height: 44px; align-items: center; }
.lk-ince { background: transparent; border-color: transparent; box-shadow: none; color: var(--mavi); }
.lk-soluk { color: var(--soluk); font-size: .92rem; text-align: center; margin: 0; }
.lk-kod { font: 700 2rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .16em; text-align: center; padding: 14px; border-radius: 14px; background: #eff6ff; color: var(--mavi-koyu); border: 2px dashed rgba(47, 91, 230, .4); user-select: all; }
.lk-adimlar { margin: 0; padding-inline-start: 22px; line-height: 1.9; }
.lk-satir { display: flex; gap: 8px; }
.lk-satir input { flex: 1; min-width: 0; padding: 10px; border: 1.5px solid #d1d5db; border-radius: 12px; }
.lk-hata { margin: 0; color: var(--kirmizi); font-weight: 700; text-align: center; }
.lk-not { margin: 0; color: var(--soluk); font-size: .8rem; text-align: center; }

/* ---------- Land Report (A4) ---------- */
.rapor-arac { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--cizgi); }
.rapor-arac .dugme { padding: 10px 12px; }
.rapor-ipucu { padding: 8px 16px 0; }
body[data-ekran="rapor"] details.kart { margin: 10px 12px 0; }
.rapor-kap { padding: 12px; overflow-x: auto; }
.rapor { width: 100%; max-width: 794px; margin: 0 auto; background: #fff; color: #111827; padding: 24px 28px; border-radius: 6px; box-shadow: 0 10px 34px rgba(0, 0, 0, .14); font-size: 12.5px; line-height: 1.55; }
.rapor-ofis { text-align: center; font-weight: 800; font-size: 1.2rem; color: #4c1d95; margin: 0 0 4px; }
.rapor-adi { text-align: center; font-weight: 900; font-size: 1.35rem; text-decoration: underline; text-underline-offset: 4px; margin: 0 0 14px; }
.rapor-bilgi { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 4px 16px; margin-bottom: 14px; }
.rapor-bilgi div { line-height: 1.75; }
.rapor-bilgi b { font-weight: 800; }
.rapor-tablo { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.rapor-tablo caption { text-align: start; font-weight: 900; padding: 4px 0; }
.rapor-tablo th, .rapor-tablo td { border: 1px solid #94a3b8; padding: 6px 8px; text-align: center; vertical-align: middle; }
.rapor-tablo th { background: #f1f5f9; font-weight: 800; }
.rapor-cizim-kap { position: relative; margin: 6px 0 12px; }
.rapor-pusula { position: absolute; top: 6px; inset-inline-start: 6px; width: 64px; height: 64px; }
.rapor-notlar { margin: 8px 0 0; }
.rapor-notlar b { font-weight: 800; }
.rapor-notlar ol { margin: 4px 0 0; padding-inline-start: 22px; line-height: 1.8; }
.rapor-imza-satir { display: flex; justify-content: flex-end; align-items: flex-end; gap: 8px; margin-top: 10px; }
.rapor-imza-satir i { display: inline-block; width: 180px; border-bottom: 1.5px dotted #475569; }
.rapor-yetkili { text-align: end; margin-top: 10px; line-height: 1.8; }
.rapor-yetkili strong { display: block; font-size: 1rem; }
.rapor-yetkili .tarih { color: #1d4ed8; font-weight: 700; }
.rapor-ek { margin-top: 16px; border-top: 1px dashed #cbd5e1; padding-top: 10px; }
.rapor-uydu img { width: 100%; display: block; border-radius: 6px; border: 1px solid #cbd5e1; margin-bottom: 10px; }
.rapor-qr { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 10px; }
.rapor-qr div { display: flex; flex-direction: column; line-height: 1.5; }
.rapor-qr span, .rapor-qr small { color: #64748b; font-size: 11px; }
.rapor-tablo.koordinat td { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.rapor-alt { margin: 14px 0 0; text-align: center; color: #94a3b8; font-size: 10px; }

@media (max-width: 560px) {
  .rapor { padding: 14px; font-size: 11.5px; }
  .rapor-bilgi { grid-template-columns: 1fr 1fr; }
  .izgara-iki { grid-template-columns: 1fr; }
  .belge-izgara { grid-template-columns: repeat(3, 1fr); }
}

@page { size: A4; margin: 10mm; }
@media print {
  body { background: #fff; }
  #ekran { max-width: none; padding: 0; }
  .yazdirma, .lk, .bildirim, .ust-cubuk { display: none !important; }
  .rapor-kap { padding: 0; overflow: visible; }
  .rapor { box-shadow: none; max-width: none; padding: 0; border-radius: 0; font-size: 11px; }
  .rapor, .rapor * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rapor-tablo, .rapor-cizim-kap, .rapor-uydu, .rapor-qr, .rapor-yetkili { break-inside: avoid; }
}

/* ---------- harita ekranı: sol alt düğmeler, ipucu bandı, proje ayrıntısı ---------- */
.h-sol { position: absolute; z-index: 600; inset-inline-start: 10px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.h-yan-dugme.gps { width: 48px; height: 48px; background: var(--mavi); color: #fff; }
.h-ipucu-bant { position: absolute; z-index: 600; inset-inline: 10px; bottom: 98px; padding: 8px 12px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .84rem; font-weight: 700; line-height: 1.5; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.h-ipucu-bant[hidden] { display: none; }
.gorunum-kart { padding: 10px; gap: 8px; }
.satis-kart { text-decoration: none; color: inherit; gap: 8px; }
.satis-ust { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.satis-ciplar { display: flex; flex-wrap: wrap; gap: 6px; }
.satis-tutar { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; color: var(--soluk); font-weight: 700; }
.koordinat-satir .girdi { height: 46px; border-color: #9ca3af; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.h-parsel.dar span { display: none; }
.h-parsel.dar b { font-size: 11px; }
.h-parsel.gizli { display: none !important; }

/* =====================================================================
   v3.1 — Renkli tema: degrade başlıklar, renkli kartlar, animasyonlar.
   (Önceki kuralların üstüne yazar; düzen ve içerik aynıdır.)
   ===================================================================== */
:root {
  --bar: linear-gradient(120deg, #0f766e 0%, #14b8a6 52%, #0ea5e9 100%);
  --g-mavi: linear-gradient(135deg, #3b82f6, #4f46e5);
  --g-yesil: linear-gradient(135deg, #22c55e, #059669);
  --golge: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .08);
  --yay: cubic-bezier(.2, .8, .2, 1);
  --yaricap: 18px;
}
body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(14, 165, 233, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(34, 197, 94, .10), transparent 55%),
    linear-gradient(180deg, #f6f9fc, #eef3f8);
  background-attachment: fixed;
}

/* ---- animasyon anahtarları ---- */
@keyframes yukari { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes asagi { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes yandan { from { opacity: 0; transform: translateX(var(--yandan, 18px)); } to { opacity: 1; transform: none; } }
@keyframes buyu { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes suzul { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes parilti2 { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes acilis-cik { to { opacity: 0; visibility: hidden; } }
@keyframes cizgi-yuru { to { background-position: 200% 0; } }
[dir="rtl"] { --yandan: -18px; }

/* ---- açılış ekranı ---- */
#acilis { position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 35%, #14b8a6, #0f766e 60%, #064e3b); color: #fff; animation: acilis-cik .45s ease .95s forwards; pointer-events: none; }
#acilis img { width: 108px; height: 108px; border-radius: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); animation: buyu .6s var(--yay) both, suzul 2.4s ease-in-out .6s infinite; }
#acilis b { font-size: 1.7rem; font-weight: 900; letter-spacing: .02em; animation: yukari .6s var(--yay) .15s both; }
#acilis i { width: 120px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.15) 0 30%, #fff 50%, rgba(255,255,255,.15) 70%); background-size: 200% 100%; animation: cizgi-yuru 1s linear infinite; }

/* ---- üst çubuk ---- */
.ust-cubuk { background: var(--bar); box-shadow: 0 6px 20px rgba(13, 148, 136, .28); }
.ust-cubuk h1 { animation: asagi .4s var(--yay) both; }
.ust-ikon { transition: background .15s, transform .15s; }
.ust-ikon:active { transform: scale(.9); }
.ust-marka a { display: flex; align-items: center; gap: 8px; }
.ust-marka img { box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }

/* ---- ekran girişleri (kademeli) ---- */
.govde > *, .liste > *, .proje-kartlar > *, .eylemler > *, .istatistik > *, .belge-izgara > *, .sayfa-govde > * { animation: yukari .45s var(--yay) both; }
.govde > :nth-child(2), .liste > :nth-child(2), .proje-kartlar > :nth-child(2), .eylemler > :nth-child(2), .istatistik > :nth-child(2), .sayfa-govde > :nth-child(2) { animation-delay: .04s; }
.govde > :nth-child(3), .liste > :nth-child(3), .proje-kartlar > :nth-child(3), .eylemler > :nth-child(3), .istatistik > :nth-child(3), .sayfa-govde > :nth-child(3) { animation-delay: .08s; }
.govde > :nth-child(4), .liste > :nth-child(4), .proje-kartlar > :nth-child(4), .eylemler > :nth-child(4), .istatistik > :nth-child(4), .sayfa-govde > :nth-child(4) { animation-delay: .12s; }
.govde > :nth-child(5), .liste > :nth-child(5), .proje-kartlar > :nth-child(5), .eylemler > :nth-child(5), .istatistik > :nth-child(5), .sayfa-govde > :nth-child(5) { animation-delay: .16s; }
.govde > :nth-child(6), .liste > :nth-child(6), .proje-kartlar > :nth-child(6), .eylemler > :nth-child(6), .sayfa-govde > :nth-child(6) { animation-delay: .2s; }
.govde > :nth-child(7), .liste > :nth-child(7), .proje-kartlar > :nth-child(7), .eylemler > :nth-child(7), .sayfa-govde > :nth-child(7) { animation-delay: .24s; }
.govde > :nth-child(n+8), .liste > :nth-child(n+8), .proje-kartlar > :nth-child(n+8), .eylemler > :nth-child(n+8), .sayfa-govde > :nth-child(n+8) { animation-delay: .28s; }

/* ---- kartlar ---- */
.kart { border: 1px solid rgba(226, 232, 240, .9); border-radius: var(--yaricap); box-shadow: var(--golge); }
.kart h3 .simge, .kart summary > .simge { box-sizing: content-box; padding: 6px; border-radius: 10px; color: #fff; background: var(--g-mavi); box-shadow: 0 4px 10px rgba(79, 70, 229, .25); }
.bolum-baslik { margin: 12px 0 4px; }
.bolum-baslik .simge { box-sizing: content-box; padding: 7px; border-radius: 11px; color: #fff !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 70%, #fff), var(--renk)); box-shadow: 0 5px 12px color-mix(in srgb, var(--renk) 35%, transparent); }
.liste-kart { border: 1px solid rgba(226, 232, 240, .9); border-radius: 18px; box-shadow: var(--golge); transition: transform .18s var(--yay), box-shadow .18s; position: relative; overflow: hidden; }
.liste-kart::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--renk); opacity: .85; }
.liste-kart:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, .12); }
.liste-kart:active { transform: scale(.98); }
.liste-simge, .eylem-simge { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 62%, #fff), var(--renk));
  box-shadow: 0 8px 16px color-mix(in srgb, var(--renk) 32%, transparent); border-radius: 15px; }
.eylem { border-radius: 18px; transition: transform .18s var(--yay), box-shadow .18s; }
.eylem:active { transform: scale(.97); }
.ist { border-radius: 16px; }
.ist.buyuk { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.ist.para { background: linear-gradient(135deg, #fffbeb, #fef3c7); }

/* ---- düğmeler ---- */
.dugme { border-radius: 14px; transition: transform .15s var(--yay), box-shadow .15s, filter .15s; }
.dugme:active { transform: scale(.96); }
.dugme.mavi { background: var(--g-mavi); border-color: transparent; box-shadow: 0 10px 22px rgba(79, 70, 229, .32); }
.dugme.yesil { background: var(--g-yesil); border-color: transparent; box-shadow: 0 10px 22px rgba(5, 150, 105, .3); }
.dugme.tehlike { background: linear-gradient(135deg, #f87171, #dc2626); border-color: transparent; }
.dugme.mavi, .dugme.yesil { position: relative; overflow: hidden; }
.dugme.mavi::after, .dugme.yesil::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: parilti2 2.8s ease-in-out 1s infinite; pointer-events: none; }
.parcali { background: #e8eef5; border-radius: 14px; }
.parcali button { border-radius: 10px; transition: background .2s, color .2s; }
.parcali button.secili { background: var(--g-mavi); color: #fff; box-shadow: 0 6px 14px rgba(79, 70, 229, .28); }
.anahtar:checked { background: linear-gradient(135deg, #8b5cf6, #5b3fd6); }
.anahtar.mavi:checked { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.anahtar.yesil:checked { background: var(--g-yesil); }
.secim-kutu { border-radius: 14px; transition: box-shadow .15s, border-color .15s; }
.secim-kutu:focus-within { border-color: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.fab { background: linear-gradient(135deg, #14b8a6, #0ea5e9); border-radius: 18px; animation: buyu .5s var(--yay) .2s both; }
.bildirim { background: linear-gradient(135deg, #111827, #1e293b); border-radius: 16px; box-shadow: 0 16px 36px rgba(15, 23, 42, .35); animation: yukari .3s var(--yay) both; }
.bildirim.hata { background: linear-gradient(135deg, #ef4444, #b91c1c); }

/* ---- çekmece ---- */
.cekmece { border-radius: 0 24px 24px 0; }
[dir="rtl"] .cekmece, .cekmece[dir="rtl"] { border-radius: 24px 0 0 24px; }
.profil-kart { background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #0ea5e9); color: #fff; border: 0; box-shadow: 0 14px 30px rgba(13, 148, 136, .35); position: relative; overflow: hidden; }
.profil-kart::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .12); inset-inline-end: -50px; top: -70px; }
.profil-kart img { background: #fff; padding: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.profil-yazi strong .simge { color: #bbf7d0; }
.profil-yazi span, .profil-yazi small { color: rgba(255, 255, 255, .85); }
.profil-kapat { background: rgba(255, 255, 255, .2); color: #fff; position: relative; z-index: 1; }
.cekmece-oge { border-bottom: 0; border-radius: 14px; padding: 9px 10px; margin: 2px 0; animation: yandan .35s var(--yay) both; transition: background .15s; }
.cekmece-oge:nth-child(n+3) { animation-delay: .03s; } .cekmece-oge:nth-child(n+5) { animation-delay: .06s; } .cekmece-oge:nth-child(n+7) { animation-delay: .09s; }
.cekmece-oge:nth-child(n+9) { animation-delay: .12s; } .cekmece-oge:nth-child(n+11) { animation-delay: .15s; } .cekmece-oge:nth-child(n+13) { animation-delay: .18s; }
.cekmece-oge .simge { box-sizing: content-box; padding: 8px; border-radius: 12px; color: var(--renk) !important; background: color-mix(in srgb, var(--renk) 13%, #fff); }
.cekmece-oge.aktif { background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 14%, #fff), color-mix(in srgb, var(--renk) 6%, #fff)); color: var(--metin); }
.cekmece-oge.aktif .simge { color: #fff !important; background: var(--renk); }

/* ---- alt sayfa ---- */
.sayfa { border-radius: 26px 26px 0 0; }
.sayfa-ust h2 { font-size: 1.15rem; }

/* ---- giriş ekranı (ana) ---- */
body[data-ekran="ana"] #ekran { padding: 0; }
.ana { min-height: 100vh; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.ana-kahraman { position: relative; overflow: hidden; color: #fff; text-align: center; padding: calc(10px + env(safe-area-inset-top)) 16px 74px;
  background: linear-gradient(180deg, rgba(8, 47, 73, .45) 0%, rgba(8, 47, 73, .1) 38%, rgba(6, 78, 59, .72) 100%), url('../img/vadi-yatay.jpg') center 55% / cover; border-radius: 0 0 34px 34px; box-shadow: 0 18px 40px rgba(6, 78, 59, .25); }
.ana-kahraman::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, rgba(6, 78, 59, .55)); pointer-events: none; }
.ana-ust { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.ana-ust-dugme { width: 44px; height: 44px; border: 0; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.ana-ust-dugme:active { transform: scale(.9); }
.ana-logo { width: 92px; height: 92px; border-radius: 26px; margin-top: 2px; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); position: relative; z-index: 1; animation: buyu .6s var(--yay) both, suzul 3.2s ease-in-out .7s infinite; }
.ana-kahraman h1 { position: relative; z-index: 1; font-size: 2rem; font-weight: 900; margin-top: 10px; text-shadow: 0 3px 12px rgba(0, 0, 0, .35); animation: yukari .55s var(--yay) .1s both; }
.ana-kahraman p { position: relative; z-index: 1; margin: 2px 0 0; font-weight: 600; opacity: .95; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); animation: yukari .55s var(--yay) .18s both; }
.ana-govde { max-width: 640px; margin: -52px auto 0; padding: 0 16px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.ana-kartlar { display: flex; flex-direction: column; gap: 12px; }
.ana-kart { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 14px 16px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--r1), var(--r2)); box-shadow: 0 14px 28px color-mix(in srgb, var(--r2) 38%, transparent);
  animation: yukari .55s var(--yay) both; animation-delay: calc(.22s + var(--i) * .08s); transition: transform .18s var(--yay), box-shadow .18s; }
.ana-kart::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .13); inset-inline-end: -40px; top: -60px; }
.ana-kart::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: parilti2 1.2s ease-out both; animation-delay: calc(.7s + var(--i) * .15s); }
.ana-kart:active { transform: scale(.97); }
.ana-kart-simge { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); position: relative; z-index: 1; }
.ana-kart-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; position: relative; z-index: 1; }
.ana-kart-yazi strong { font-size: 1.18rem; font-weight: 900; text-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.ana-kart-yazi small { opacity: .92; font-size: .86rem; font-weight: 600; }
.ana-kart-ok { opacity: .85; position: relative; z-index: 1; }
.ana-rozet { position: relative; z-index: 1; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; background: #fff; color: var(--r2); font-weight: 900; font-size: .9rem; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.ana-hizli { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 12px 8px; border-radius: 22px; background: #fff; box-shadow: var(--golge); animation: yukari .5s var(--yay) .55s both; }
.ana-hizli a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: .76rem; color: #334155; animation: buyu .4s var(--yay) both; animation-delay: calc(.6s + var(--i) * .05s); }
.ana-hizli a span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 60%, #fff), var(--renk)); box-shadow: 0 8px 16px color-mix(in srgb, var(--renk) 35%, transparent); transition: transform .15s; }
.ana-hizli a:active span { transform: scale(.9); }
.ana-ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; animation: yukari .5s var(--yay) .65s both; }
.ana-ist { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--golge); min-width: 0; border-top: 3px solid var(--renk); }
.ana-ist span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--renk); background: color-mix(in srgb, var(--renk) 13%, #fff); }
.ana-ist strong { font-size: 1rem; font-weight: 900; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-ist small { color: var(--soluk); font-size: .74rem; font-weight: 700; }
.ana-son { animation: yukari .5s var(--yay) .72s both; }
.ana-son-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ana-son-ust h2 { font-size: 1.08rem; font-weight: 900; }
.ana-son-ust a { display: flex; align-items: center; gap: 2px; color: #4f46e5; font-weight: 800; font-size: .88rem; }
.ana-son-liste { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ana-son-kart { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: var(--golge); transition: transform .18s var(--yay); }
.ana-son-kart:active { transform: scale(.96); }
.ana-son-resim { height: 96px; border-radius: 13px; overflow: hidden; background: linear-gradient(135deg, #ecfeff, #f0fdf4); display: grid; place-items: center; color: #0f766e; margin-bottom: 4px; }
.ana-son-resim img { width: 100%; height: 100%; object-fit: cover; }
.ana-son-kart strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-son-kart small { color: #059669; font-weight: 800; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-bos { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px; border-radius: 18px; border: 2px dashed #a7f3d0; background: #f0fdf4; color: #047857; font-weight: 700; }
.ana-imza { text-align: center; color: var(--soluk); font-size: .8rem; margin: 0; }
.ana-imza b { color: #0f766e; }
.ana-alt { position: fixed; z-index: 40; bottom: calc(12px + env(safe-area-inset-bottom)); left: 0; right: 0; margin-inline: auto; width: min(92vw, 420px); display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 16px 36px rgba(15, 23, 42, .18); animation: yukari .5s var(--yay) .8s both; }
.ana-alt a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 14px; font-size: .76rem; font-weight: 800; color: #334155; }
.ana-alt a:nth-child(1) .simge { color: #475569; } .ana-alt a:nth-child(2) .simge { color: #2563eb; } .ana-alt a:nth-child(3) .simge { color: #0d9488; }
.ana-alt a:active { background: #f1f5f9; }

/* ---- harita ekranı ---- */
.h-bilgi { border-radius: 18px; animation: asagi .45s var(--yay) .1s both; }
.h-bilgi-oge .simge { box-sizing: content-box; padding: 7px; border-radius: 11px; color: #fff !important; }
.h-bilgi-oge:nth-of-type(1) .simge { background: linear-gradient(135deg, #fdba74, #ea580c); }
.h-bilgi-oge:nth-of-type(2) .simge { background: var(--g-yesil); }
.h-bilgi-oge strong { color: #0f172a; }
.h-yan .h-yan-dugme { border-radius: 14px; animation: yandan .4s var(--yay) both; --yandan: -18px; }
[dir="rtl"] .h-yan .h-yan-dugme { --yandan: 18px; }
.h-yan .h-yan-dugme:nth-child(1) { color: #4f46e5; } .h-yan .h-yan-dugme:nth-child(2) { color: #2563eb; animation-delay: .04s; }
.h-yan .h-yan-dugme:nth-child(3) { color: #0d9488; animation-delay: .08s; } .h-yan .h-yan-dugme:nth-child(4) { color: #16a34a; animation-delay: .12s; }
.h-yan .h-yan-dugme:nth-child(5) { color: #ea580c; animation-delay: .16s; } .h-yan .h-yan-dugme:last-child { color: #dc2626; animation-delay: .2s; }
.h-yan-dugme:active { transform: scale(.9); }
.h-yan-dugme.gps { background: linear-gradient(135deg, #38bdf8, #2563eb); border-radius: 16px; box-shadow: 0 10px 22px rgba(37, 99, 235, .4); }
.h-damla::before { background: linear-gradient(135deg, #86efac, #22c55e); }
.h-damla span { animation: nabiz 2.2s ease-out 1s infinite; }
.h-alt { border-radius: 24px 24px 0 0; animation: yukari .45s var(--yay) both; }
.h-arac-cubugu { border-radius: 18px; border: 0; background: #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, .1); }
.h-arac i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--renk); background: color-mix(in srgb, var(--renk) 12%, #fff); transition: transform .15s var(--yay), background .15s; }
.h-arac:active i { transform: scale(.88); background: color-mix(in srgb, var(--renk) 24%, #fff); }
.h-arac span { color: #1f2937; }
.h-arac.kirmizi span { color: var(--kirmizi); }
.h-arac.yesil span { color: var(--yesil-koyu); }
.h-arac:disabled i { color: #b0b7c3; background: #f1f5f9; }
.h-arac:disabled span { color: #b0b7c3; }
.h-ipucu-bant { border-radius: 14px; background: linear-gradient(135deg, #fffbeb, #fef3c7); animation: yukari .3s var(--yay) both; }

/* ---- projeler ---- */
.proje-kart { --tur: #0d9488; border: 0; border-radius: 20px; box-shadow: var(--golge); transition: transform .18s var(--yay), box-shadow .18s; }
.proje-kart[data-tur="harita"] { --tur: #16a34a; } .proje-kart[data-tur="kenar"] { --tur: #2563eb; } .proje-kart[data-tur="plan"] { --tur: #ea580c; }
.proje-kart::before { content: ''; width: 5px; flex-shrink: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--tur) 60%, #fff), var(--tur)); }
.proje-kart:active { transform: scale(.985); }
.proje-resim { border-radius: 14px; background: linear-gradient(135deg, #ecfeff, #f0fdf4); }
.tur-rozet { background: var(--tur); }
.arama { border-radius: 16px; border-color: transparent; background: #fff; box-shadow: var(--golge); }

/* ---- hesap makineleri ---- */
.arac-grup { padding: 14px; border-radius: 22px; background: #fff; box-shadow: var(--golge); }
.arac-grup h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 900; margin-bottom: 12px; }
.arac-grup h2 span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 60%, #fff), var(--renk)); }
.arac-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.arac-kutu { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 12px 6px; border: 1px solid #eef2f7; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: center; font-weight: 700; font-size: .78rem; line-height: 1.4; color: #1f2937; animation: buyu .4s var(--yay) both; animation-delay: calc(var(--i) * .04s); transition: transform .15s var(--yay), box-shadow .15s; }
.arac-kutu:active { transform: scale(.95); box-shadow: 0 8px 18px color-mix(in srgb, var(--renk) 25%, transparent); }
.arac-kutu-simge { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--renk) 58%, #fff), var(--renk)); box-shadow: 0 8px 16px color-mix(in srgb, var(--renk) 32%, transparent); }
.birim-kart { border-radius: 22px; background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #0ea5e9); }

/* ---- lisans kapısı ---- */
.lk { background: linear-gradient(180deg, rgba(8, 47, 73, .35), rgba(6, 78, 59, .7)), url('../img/vadi-yatay.jpg') center / cover; }
.lk-kart { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .6); border-radius: 28px; animation: yukari .6s var(--yay) both; }
.lk-logo { animation: buyu .6s var(--yay) both, suzul 3.2s ease-in-out .7s infinite; }
.lk-govde .dugme.ana { background: var(--g-mavi); border-color: transparent; box-shadow: 0 10px 22px rgba(79, 70, 229, .32); }

/* ---- ölçek ve kenar formları ---- */
.sinir-satir { border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.sinir-etiket, .kenar-etiket { background: linear-gradient(135deg, #e0e7ff, #ede9fe); color: #4338ca; }
.olcek-panel { border-radius: 26px 26px 0 0; }
.sonuc-alan { background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #acilis { display: none; }
}
@media print { #acilis, .ana-alt { display: none !important; } }
.cekmece-ic > * { flex-shrink: 0; }

/* Fotoğraflı arka plan: telefonda dikey, bilgisayarda yatay kadraj */
@media (orientation: portrait) {
  .ana-kahraman { background-image: linear-gradient(180deg, rgba(8, 47, 73, .45) 0%, rgba(8, 47, 73, .1) 38%, rgba(6, 78, 59, .72) 100%), url('../img/vadi-dikey.jpg'); background-position: center 62%; }
  .lk { background-image: linear-gradient(180deg, rgba(8, 47, 73, .35), rgba(6, 78, 59, .7)), url('../img/vadi-dikey.jpg'); }
}
@media (min-width: 900px) {
  .ana-kahraman { padding-top: 28px; padding-bottom: 110px; min-height: 380px; }
  .ana-logo { width: 110px; height: 110px; }
  .ana-kahraman h1 { font-size: 2.6rem; }
  .ana-govde { max-width: 760px; margin-top: -78px; }
  .ana-kartlar { display: grid; grid-template-columns: 1fr 1fr; }
  .lk-kart { box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
}

/* ---------- kullanıcı kartı ---------- */
.kartim { position: relative; overflow: hidden; padding: 16px; border-radius: 24px; color: #fff;
  background: radial-gradient(400px 200px at 110% -20%, rgba(56, 189, 248, .45), transparent 60%), linear-gradient(135deg, #0f172a, #134e4a 55%, #0f766e);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .35); display: flex; flex-direction: column; gap: 12px; animation: yukari .55s var(--yay) .15s both; }
.kartim::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .05); inset-inline-start: -90px; bottom: -120px; }
.kartim-serit { position: absolute; top: 14px; inset-inline-end: -36px; transform: rotate(var(--serit, 40deg)); width: 130px; text-align: center; padding: 2px 0; font-size: .74rem; font-weight: 900; background: #facc15; color: #713f12; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); z-index: 2; }
[dir="rtl"] .kartim-serit { --serit: -40deg; }
.kartim-ust { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.kartim-avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; background: linear-gradient(135deg, #fbbf24, #f97316); color: #fff; box-shadow: 0 8px 18px rgba(249, 115, 22, .4); }
.kartim-kim { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.kartim-kim strong { font-size: 1.12rem; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kartim-kim small { opacity: .8; font-weight: 600; }
.kartim-duzenle { width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); }
.kartim.ornek .kartim-duzenle { margin-inline-end: 34px; }
.kartim-zaman { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); position: relative; z-index: 1; }
.kartim-saat { font-size: 1.9rem; font-weight: 900; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: #5eead4; text-shadow: 0 0 18px rgba(94, 234, 212, .35); }
.kartim-zaman div { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.kartim-zaman span { font-weight: 800; font-size: .9rem; }
.kartim-zaman small { opacity: .75; font-size: .78rem; }
.kartim-sirket { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1rem; color: #fde68a; position: relative; z-index: 1; }
.kartim-satirlar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; position: relative; z-index: 1; }
.kartim-satir { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .84rem; }
.kartim-satir span { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #a7f3d0; }
.kartim-satir b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.kartim-satir:active { opacity: .7; }
.kartim.ornek .kartim-satirlar, .kartim.ornek .kartim-zaman div, .kartim.ornek .kartim-sirket, .kartim.ornek .kartim-kim { opacity: .82; }
.kartim-yap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 0; border-radius: 14px; font-weight: 900; color: #0f172a; background: linear-gradient(135deg, #fde68a, #facc15); box-shadow: 0 8px 18px rgba(250, 204, 21, .35); animation: nabiz2 2.4s ease-out 1.2s infinite; }
@keyframes nabiz2 { 0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, .55); } 70% { box-shadow: 0 0 0 14px rgba(250, 204, 21, 0); } 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); } }
@media (max-width: 360px) { .kartim-satirlar { grid-template-columns: 1fr; } .kartim-saat { font-size: 1.6rem; } }

/* ---------- tanıtım turu ---------- */
.tanitim { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff;
  background: radial-gradient(600px 400px at 50% 20%, color-mix(in srgb, var(--r1) 70%, transparent), transparent 70%), linear-gradient(160deg, var(--r2), #0f172a);
  transition: background .5s; display: flex; flex-direction: column; animation: buyu .35s var(--yay) both; }
.tanitim.foto { background: linear-gradient(180deg, rgba(8, 47, 73, .35), rgba(6, 78, 59, .85)), url('../img/vadi-dikey.jpg') center / cover; }
@media (orientation: landscape) { .tanitim.foto { background-image: linear-gradient(180deg, rgba(8, 47, 73, .35), rgba(6, 78, 59, .85)), url('../img/vadi-yatay.jpg'); } }
.tanitim.kapaniyor { animation: acilis-cik .22s ease forwards; }
.tanitim::backdrop { background: #0f172a; }
.tanitim-atla { position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 2; border: 0; padding: 8px 16px; border-radius: 99px; color: #fff; font-weight: 800; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.tanitim-kap { flex: 1; display: grid; place-items: center; padding: 24px; touch-action: pan-y; user-select: none; }
.tanitim-sayfa { max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: tanitim-gir .45s var(--yay) both; }
@keyframes tanitim-gir { from { opacity: 0; transform: translateX(calc(var(--yon) * 40px)); } to { opacity: 1; transform: none; } }
[dir="rtl"] .tanitim-sayfa { animation-name: tanitim-gir-r; }
@keyframes tanitim-gir-r { from { opacity: 0; transform: translateX(calc(var(--yon) * -40px)); } to { opacity: 1; transform: none; } }
.tanitim-gorsel { position: relative; width: 200px; height: 200px; display: grid; place-items: center; margin-bottom: 10px; }
.tanitim-halka { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); animation: halka 2.6s ease-out infinite; }
.tanitim-halka.h2 { animation-delay: 1.3s; }
@keyframes halka { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.tanitim-simge { width: 128px; height: 128px; border-radius: 38px; display: grid; place-items: center; background: linear-gradient(135deg, var(--r1), var(--r2)); box-shadow: 0 24px 50px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .25); animation: suzul 3s ease-in-out infinite; }
.tanitim-gorsel img { width: 130px; height: 130px; border-radius: 36px; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); animation: suzul 3s ease-in-out infinite; }
.tanitim-sayfa h2 { font-size: 1.6rem; font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.tanitim-sayfa p { margin: 0; font-size: 1.02rem; line-height: 1.9; opacity: .92; }
.tanitim-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); max-width: 560px; width: 100%; margin: 0 auto; }
.tanitim-geri { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); }
.tanitim-noktalar { display: flex; gap: 7px; }
.tanitim-noktalar button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: width .3s var(--yay), background .3s; }
.tanitim-noktalar button.secili { width: 26px; background: #fff; }
.tanitim-ileri { display: flex; align-items: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 99px; font-weight: 900; color: var(--r2); background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }
.tanitim-ileri:active, .tanitim-geri:active { transform: scale(.94); }
.kartim-satir.genis { grid-column: 1 / -1; }
.kartim-avatar { font-size: 1.5rem; }
