:root {
  --zemin: #f4f4f1;
  --kart: #ffffff;
  --yazi: #161616;
  --soluk: #6b6b66;
  --cizgi: #deded8;
  --siyah: #111111;
  --sari: #ffd100;
  --yesil: #0b6e5f;
  --kirmizi: #b42318;
  --sicak: #c2410c;
  --ilik: #a16207;
  --soguk: #1d4ed8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--zemin); color: var(--yazi);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
a { color: inherit; }
.ust {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  background: var(--siyah); color: #fff; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
}
.marka { color: var(--sari); font-weight: 700; font-size: 18px; text-decoration: none; }
.ust-yeni {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sari); color: var(--siyah);
  display: grid; place-items: center; font-size: 26px; font-weight: 700; text-decoration: none;
}
main { max-width: 640px; margin: 0 auto; padding: 16px; }
.alt {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; background: var(--kart);
  border-top: 1px solid var(--cizgi); padding-bottom: env(safe-area-inset-bottom);
}
.alt a { flex: 1; text-align: center; padding: 14px 4px; font-size: 13px; text-decoration: none; color: var(--soluk); }
.alt a.secili { color: var(--yazi); font-weight: 700; box-shadow: inset 0 3px 0 var(--sari); }

h1 { font-size: 20px; margin: 4px 0 12px; }
h2 { font-size: 15px; margin: 22px 0 8px; color: var(--soluk); text-transform: uppercase; letter-spacing: .04em; }
.bos { color: var(--soluk); margin: 4px 0 12px; }
.kart {
  display: block; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; text-decoration: none;
}
.kart.gecikti { border-left: 4px solid var(--kirmizi); }
.satir { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ad { font-weight: 600; }
.kucuk { font-size: 13px; color: var(--soluk); }
.not { margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.etiket { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; }
.etiket.sicak { color: var(--sicak); } .etiket.ilik { color: var(--ilik); } .etiket.soguk { color: var(--soguk); }
.etiket.kirmizi { color: var(--kirmizi); } .etiket.gri { color: var(--soluk); }
.buyuk-dugme {
  display: block; width: 100%; text-align: center; padding: 16px; border-radius: 12px; border: 0;
  background: var(--sari); color: var(--siyah); font: inherit; font-size: 18px; font-weight: 700; text-decoration: none;
}
.dugme {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--yesil); background: transparent; color: var(--yesil);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.dugme.dolu { background: var(--yesil); color: #fff; }
.dugmeler { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.dugmeler .dugme { flex: 1; }
button:disabled { opacity: .5; }

label { display: block; font-weight: 600; margin: 14px 0 6px; }
input[type=text], input[type=tel], input[type=search], input[type=date], textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--cizgi);
  border-radius: 10px; background: var(--kart); color: var(--yazi);
}
textarea { min-height: 84px; resize: vertical; }
.secenekler { display: flex; gap: 6px; flex-wrap: wrap; }
.secenek {
  min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--cizgi); background: var(--kart);
  font: inherit; font-size: 15px; color: var(--yazi); cursor: pointer;
}
.secenek[aria-pressed=true] { background: var(--siyah); color: #fff; border-color: var(--siyah); }
.portfoy-liste { max-height: 260px; overflow-y: auto; border: 1px solid var(--cizgi); border-radius: 10px; background: var(--kart); margin-top: 6px; }
.portfoy-liste button {
  display: block; width: 100%; text-align: left; padding: 12px; border: 0; border-bottom: 1px solid var(--cizgi);
  background: none; font: inherit; color: var(--yazi); cursor: pointer;
}
.portfoy-liste button[aria-pressed=true] { background: #fff6c2; font-weight: 600; }
.portfoy-liste .grup { padding: 6px 12px; font-size: 12px; color: var(--soluk); background: var(--zemin); }
.bilgi { background: #fff6c2; border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-size: 14px; }
.hata { background: #fde8e6; color: var(--kirmizi); border-radius: 10px; padding: 10px 12px; margin: 12px 0; }
.sayi { font-weight: 700; font-size: 18px; min-width: 2ch; text-align: right; }
.alt-baglanti { display: block; text-align: center; margin: 24px 0 8px; color: var(--yesil); }
