/* GİB Sorgu Merkezi – web arayüzü. Renkler ve ölçüler masaüstü programla (arayuz_qt.QSS) aynı. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #161616; color: #f2f2f2; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 14px; }
body { overflow: hidden; }
a { color: #8ab8ff; }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
input, select, textarea { font-family: inherit; font-size: 14px; color: #f2f2f2; }
.gizli { display: none !important; }
.soluk { color: #9a9a9a; }
.kucuk-yazi { font-size: 12px; }

/* ---- çerçeve */
#uygulama { display: flex; height: 100%; }
#yan { width: 232px; flex: 0 0 232px; background: #0b0b0b; display: flex; flex-direction: column; padding: 26px 12px 16px; overflow-y: auto; }
#marka { font-size: 19px; font-weight: 600; padding: 0 12px 16px; line-height: 1.25; }
.menu { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border: none; border-radius: 10px;
        font-size: 16px; color: #c8c8c8; background: transparent; margin-bottom: 4px; }
.menu:hover { background: #1a1a1a; }
.menu.secili { background: #2a2a2a; color: #fff; font-weight: 600; }
.menu svg { flex: 0 0 20px; }
.menu .rozet-say { margin-left: auto; background: #3a1414; color: #ff6b6b; border-radius: 9px; padding: 0 7px; font-size: 12px; }
#yan .bosluk { flex: 1; }
#yan .etk { color: #9a9a9a; padding: 0 12px 2px; font-size: 13px; }
#yan select, #firma-dugme { width: 100%; margin-bottom: 8px; }
#firma-dugme { text-align: left; padding: 6px 10px; background: #262626; border: 1px solid #3a3a3a; border-radius: 6px; color: #e6e6e6; }
#firma-dugme:hover { border-color: #3b82f6; }
#yan-alt { font-size: 12px; color: #6a6a6a; padding: 6px 12px 0; }
#yan-alt b { color: #c8c8c8; font-weight: 600; }
#sag { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
#seritler { flex: 0 0 auto; }
.serit { display: flex; align-items: center; gap: 10px; padding: 8px 30px; background: #1c2a3f; color: #9cc3ff; font-size: 13px; flex-wrap: wrap; }
.serit.turuncu { background: #3a2a14; color: #f5a524; }
.serit.kirmizi { background: #3a1414; color: #ffb4b4; }
.serit .bos { flex: 1; }
#icerik { flex: 1; overflow: auto; padding: 24px 30px 22px; }
#icerik.genis { padding: 24px 30px 110px; }

/* ---- ortak öğeler */
.buyukbaslik { font-size: 23px; font-weight: 600; margin: 0 0 6px; }
.baslik { font-size: 17px; font-weight: 600; }
.aciklama { color: #9a9a9a; margin: 0 0 14px; line-height: 1.45; max-width: 1400px; }
.kart { background: #1c1c1c; border: 1px solid #333; border-radius: 16px; }
.kart.ic { padding: 16px 22px; margin-bottom: 12px; }
.satir-yatay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.yayil { flex: 1; }
.hap { padding: 7px 16px; border-radius: 17px; border: 1px solid #4a4a4a; background: transparent; color: #d6d6d6; white-space: nowrap; }
.hap:hover { background: #242424; }
.hap.secili { background: #0f2747; border-color: #1f4e99; color: #7fb3ff; }
.hap.secili::before { content: "✓ "; }
.hap:disabled { color: #777; }
.cip { padding: 2px 10px; border-radius: 10px; border: 1px solid #3a3a3a; background: transparent; color: #7a7a7a; font-size: 12px; white-space: nowrap; }
.cip:hover { border-color: #5a5a5a; }
.cip.secili { background: #0f2747; border-color: #1f4e99; color: #7fb3ff; }
.cip:disabled { color: #5a5a5a; }
.cip.secili:disabled { background: #14233a; border-color: #1c3a6b; color: #5f8fd0; }
.cipmavi { padding: 3px 10px; border-radius: 9px; background: #0f2747; border: 1px solid #1f4e99; color: #7fb3ff; font-size: 12px; white-space: nowrap; }
.cipmavi:hover { background: #163563; border-color: #3b82f6; color: #fff; }
.cipmavi:disabled { background: #14233a; border-color: #1c3a6b; color: #4f6f9a; }
.ikincil { padding: 6px 14px; border-radius: 8px; border: 1px solid #4a4a4a; background: transparent; color: #d6d6d6; }
.ikincil:hover { background: #262626; }
.ikincil:disabled { color: #666; border-color: #333; }
.kucuk { padding: 3px 10px; border-radius: 6px; border: 1px solid #444; background: transparent; color: #c8c8c8; font-size: 12px; white-space: nowrap; }
.kucuk:hover { background: #262626; }
.kucuk:disabled { color: #555; }
.kisayol { padding: 5px 14px; border-radius: 14px; border: 1px solid #4a4a4a; background: transparent; color: #d6d6d6; font-size: 13px; }
.kisayol:hover { background: #262626; }
.kisayol.secili { background: #0f2747; border-color: #1f4e99; color: #7fb3ff; }
.baslat { background: #fff; color: #111; border: none; border-radius: 12px; padding: 12px 22px; font-size: 16px; font-weight: 600; }
.baslat:hover { background: #e2e2e2; }
.durdur { background: #dc2626; color: #fff; border: none; border-radius: 12px; padding: 12px 22px; font-size: 16px; font-weight: 600; }
.durdur:hover { background: #b91c1c; }
.birincil { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 8px 18px; font-weight: 600; }
.birincil:hover { background: #1d4ed8; }
.birincil:disabled { background: #2a2f3a; color: #6b7280; }
.kilitli { background: #3a2a14; color: #f5a524; border: 1px solid #7a5216; border-radius: 8px; padding: 8px 18px; font-weight: 600; }
.yesil { background: #15803d; color: #fff; border: none; border-radius: 8px; padding: 7px 16px; font-weight: 600; }
.yesil:hover { background: #166534; }
.yesil:disabled { background: #1f2a22; color: #5d6b61; }
.tehlike { background: transparent; color: #ff6b6b; border: 1px solid #6b2a2a; border-radius: 8px; padding: 6px 14px; }
.tehlike:hover { background: #3a1414; }
select { background: #1f1f1f; border: 1px solid #333; border-radius: 9px; padding: 7px 12px; font-size: 15px; }
select:hover { border-color: #4a4a4a; }
input[type=text], input[type=password], input[type=search], input[type=number], input[type=date], input[type=email], textarea {
  background: #111; border: 1px solid #3a3a3a; border-radius: 8px; padding: 6px 10px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: #3b82f6; }
input[type=date] { color-scheme: dark; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #3b82f6; vertical-align: middle; cursor: pointer; margin: 0; }
label.kutu { display: inline-flex; align-items: center; gap: 8px; color: #c8c8c8; cursor: pointer; }
.rozet { display: inline-block; border-radius: 12px; padding: 4px 12px; font-size: 13px; white-space: nowrap; }
.rozet.yesil { background: #0f2a14; color: #35c759; }
.rozet.sari { background: #3a2300; color: #f5a524; }
.rozet.kirmizi { background: #3a1414; color: #ff6b6b; }
.rozet.gri { background: #262626; color: #9a9a9a; }
.rozet.mavi { background: #0f2747; color: #7fb3ff; }
pre.kayit { background: #1c1c1c; border: 1px solid #333; border-radius: 10px; font-family: Consolas, monospace; font-size: 12px; padding: 10px; white-space: pre-wrap; max-height: 60vh; overflow: auto; margin: 0; }

/* ---- Sorgu sayfası */
#sorgu-ust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
#donem-dugme { min-width: 180px; text-align: left; }
#donem-dugme::after { content: " ▾"; color: #7fb3ff; }
#haplar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
#cekmece { padding: 12px 16px; margin-bottom: 12px; display: grid; grid-template-columns: repeat(3, max-content); gap: 10px; }
#cekmece .tum { grid-column: 1 / -1; }
.firmakart { display: flex; flex-direction: column; min-height: 240px; margin-bottom: 12px; }
.firmakart .ust { display: flex; align-items: center; gap: 12px; padding: 12px 20px; flex-wrap: wrap; border-bottom: 1px solid #333; }
.firmakart .liste { overflow: visible; }
.fsatir { display: flex; align-items: flex-start; gap: 14px; padding: 11px 20px; border-bottom: 1px solid #2c2c2c; }
.fsatir.vurgu { background: #1b2430; }
.fsatir .orta { flex: 1; min-width: 0; }
.fsatir .ad { font-size: 15px; font-weight: 600; cursor: pointer; }
.fsatir .ad:hover { color: #8ab8ff; }
.fsatir .ad.pasif { color: #8a8a8a; }
.fsatir .alt { font-size: 13px; color: #9a9a9a; margin-top: 2px; }
.fsatir .uyari { font-size: 13px; color: #f5a524; margin-top: 2px; }
.fsatir .uyari.tik { text-decoration: underline; cursor: pointer; }
.fsatir .cipler { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.fsatir .sagdurum { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ilerleme { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cubuk { width: 300px; max-width: 40vw; height: 6px; background: #383838; border-radius: 3px; overflow: hidden; }
.cubuk > div { height: 100%; background: #3b82f6; border-radius: 3px; min-width: 8px; }
.degisen-satir { display: flex; gap: 14px; padding: 7px 4px; font-size: 15px; }
.degisen-satir .ek { font-size: 13px; color: #8a8a8a; }
#kok-uyari { color: #f5a524; font-size: 13px; margin-bottom: 8px; }
.hafta-serit { display: flex; gap: 10px; align-items: center; padding: 8px 14px; background: #3a2a14; border: 1px solid #7a5216; border-radius: 8px; color: #f5a524; margin-bottom: 12px; }

/* ---- doğrulama kodu paneli (sağ alt, her sayfada) */
#kod-panel { position: fixed; right: 30px; bottom: 14px; z-index: 40; background: #1b2430; border: 2px solid #3b82f6; border-radius: 10px;
             padding: 8px 10px 8px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
#kod-panel .bilgi { width: 160px; }
#kod-panel .bilgi .ad { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#kod-panel .bilgi .alt { font-size: 13px; color: #9a9a9a; }
#kod-panel .bilgi .alt.hatali { color: #ff6b6b; }
#kod-resim { height: 56px; min-width: 120px; border: 1px dashed #555; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; color: #111; font-size: 12px; }
#kod-resim img { height: 52px; display: block; }
#kod-giris { width: 140px; font-family: Consolas, monospace; font-size: 18px; font-weight: 700; padding: 7px 10px; letter-spacing: 1px; }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.8); } 100% { box-shadow: 0 0 0 16px rgba(59,130,246,0); } }
#kod-panel.yeni { animation: nabiz 1s ease-out 3; }

/* ---- tablo */
.tablo-kap { display: flex; flex-direction: column; gap: 8px; }
.tablo-arac { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tablo-arac input[type=search] { width: 210px; }
.tablo-kutu { background: #1c1c1c; border: 1px solid #333; border-radius: 12px; overflow: auto; max-height: calc(100vh - 250px); position: relative; }
table.veri { border-collapse: separate; border-spacing: 0; font-size: 13px; table-layout: fixed; }
table.veri th { position: sticky; top: 0; z-index: 2; background: #232323; color: #c8c8c8; font-weight: 400; font-size: 12px; text-align: left;
                padding: 6px 22px 6px 8px; border-bottom: 1px solid #333; border-right: 1px solid #2e2e2e; white-space: normal; user-select: none; vertical-align: bottom; }
table.veri th.menulu { cursor: pointer; }
table.veri th.menulu:hover { background: #2c2c2c; color: #fff; }
table.veri th.suzulu { color: #f5a524; }
table.veri th .ok { position: absolute; right: 6px; bottom: 7px; font-size: 10px; color: #8a8a8a; }
table.veri th.suzulu .ok { color: #f5a524; }
table.veri th .sira { position: absolute; right: 6px; top: 4px; font-size: 10px; color: #7fb3ff; }
table.veri th .tutamak { position: absolute; right: -3px; top: 0; bottom: 0; width: 7px; cursor: col-resize; z-index: 3; }
table.veri th .tutamak:hover { background: #3b82f6; }
table.veri th.surukle-hedef { box-shadow: inset 3px 0 0 #3b82f6; }
table.veri th .acikapa { margin-right: 6px; color: #7fb3ff; cursor: pointer; font-size: 13px; }
table.veri td { padding: 5px 8px; border-bottom: 1px solid #262626; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
table.veri td.sag, table.veri th.sag { text-align: right; }
table.veri tr:hover td { background: #24344f; }
table.veri tr.grup td { font-weight: 700; }
table.veri tr.soluk td { color: #9a9a9a; }
table.veri td .acok { display: inline-block; width: 16px; color: #9a9a9a; cursor: pointer; user-select: none; }
table.veri td .firma { color: #8ab8ff; text-decoration: underline; cursor: pointer; }
table.veri td .eylem { color: #7fb3ff; cursor: pointer; }
table.veri td .eylem:hover { text-decoration: underline; }
table.veri td.dugmeli { white-space: normal; overflow: visible; }
table.veri tr.ic-tablo > td { padding: 4px 8px 8px 30px; background: #181818; white-space: normal; }
table.veri tr.ic-tablo:hover > td { background: #181818; }
table.ic { border-collapse: collapse; font-size: 12px; margin: 4px 0 6px; }
table.ic th { background: #232323; color: #c8c8c8; font-weight: 400; padding: 4px 8px; text-align: left; white-space: nowrap; }
table.ic td { padding: 3px 8px; border-bottom: 1px solid #262626; white-space: nowrap; }
.ic-kap { max-height: 320px; overflow: auto; display: inline-block; max-width: 100%; }
.toplam-serit { display: flex; background: #232323; font-weight: 700; color: #c8c8c8; border-radius: 0 0 10px 10px; overflow: hidden; min-height: 30px; align-items: center; font-size: 13px; }
.toplam-serit div { padding: 0 8px; overflow: hidden; white-space: nowrap; flex: 0 0 auto; }
.tablo-ozet { color: #9a9a9a; font-size: 13px; }
.dugmeler-hucre { display: flex; gap: 5px; flex-wrap: wrap; padding: 2px 0; }

/* ---- açılır menüler / pencereler */
.acilir { position: fixed; z-index: 80; background: #1f1f1f; border: 1px solid #3a3a3a; border-radius: 12px; padding: 8px; box-shadow: 0 12px 34px rgba(0,0,0,.55); }
.suzgec { width: 300px; display: flex; flex-direction: column; gap: 6px; }
.suzgec .secenek { padding: 6px 8px; border-radius: 6px; cursor: pointer; color: #e6e6e6; }
.suzgec .secenek:hover { background: #2a3b5a; }
.suzgec .liste { max-height: 300px; overflow: auto; border: 1px solid #333; border-radius: 8px; padding: 4px; background: #181818; }
.suzgec .liste label { display: flex; gap: 8px; align-items: center; padding: 3px 6px; cursor: pointer; border-radius: 4px; }
.suzgec .liste label:hover { background: #24344f; }
.suzgec .alt { display: flex; justify-content: flex-end; gap: 8px; }
.firmamenu { width: 400px; max-width: 94vw; padding: 6px; }
.firmamenu .kartim { background: #16233a; border: 1px solid #2c4a7a; border-radius: 10px; padding: 12px 14px; margin-bottom: 6px; }
.firmamenu .kartim .u { font-size: 14px; font-weight: 700; }
.firmamenu .kartim .b { font-size: 12px; color: #9fb6d9; margin-top: 3px; }
.firmamenu .msatir { padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.firmamenu .msatir:hover { background: #2a3b5a; }
.firmamenu .msatir.pasif { color: #6a6a6a; cursor: default; }
.firmamenu .msatir.pasif:hover { background: transparent; }
.firmamenu .msatir .bb { font-size: 13px; font-weight: 600; }
.firmamenu .msatir .aa { font-size: 11px; color: #9a9a9a; }
.firmamenu .engel { color: #ffb4b4; background: #3a1414; border: 1px solid #6b2a2a; border-radius: 8px; padding: 8px 10px; font-size: 12px; margin: 6px 4px 2px; }
.perde { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pencere { background: #1c1c1c; border: 1px solid #3a3a3a; border-radius: 14px; max-width: 1100px; width: 100%; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.pencere.dar { max-width: 520px; }
.pencere .pb { padding: 16px 20px 6px; font-size: 17px; font-weight: 600; }
.pencere .pi { padding: 6px 20px 10px; overflow: auto; white-space: pre-wrap; line-height: 1.45; }
.pencere .pi.duz { white-space: normal; }
.pencere .pa { padding: 10px 20px 16px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid #2a2a2a; }
#bildirimler { position: fixed; top: 12px; right: 12px; z-index: 95; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.bildirim { background: #1f1f1f; border: 1px solid #3a3a3a; border-left: 4px solid #3b82f6; border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); white-space: pre-wrap; font-size: 13px; cursor: pointer; }
.bildirim.uyari { border-left-color: #f5a524; }
.bildirim.hata { border-left-color: #ff6b6b; }
.bildirim.tamam { border-left-color: #35c759; }
.bildirim b { display: block; margin-bottom: 2px; }

/* ---- dönem seçici */
.donem { width: 430px; max-width: 94vw; padding: 14px 16px 12px; }
.donem .ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.donem .ok { padding: 4px 12px; border-radius: 8px; border: 1px solid #4a4a4a; background: transparent; font-size: 16px; }
.donem .ok:disabled { color: #555; border-color: #333; }
.donem .yil { padding: 4px 16px; border-radius: 8px; border: none; background: transparent; font-size: 18px; font-weight: 600; }
.donem .yil:hover, .donem .ok:hover:not(:disabled) { background: #262626; }
.donem .izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; user-select: none; touch-action: none; }
.donem .hucre { padding: 9px 6px; border-radius: 9px; border: 1px solid #3a3a3a; text-align: center; color: #d6d6d6; cursor: pointer; }
.donem .hucre.bugun { border-color: #7a7a7a; }
.donem .hucre.yari { border: 1px dashed #3b82f6; color: #7fb3ff; }
.donem .hucre.secili { background: #1f4e99; border: 1px solid #3b82f6; color: #fff; font-weight: 600; }
.donem .alt { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.donem .alt .ozet { flex: 1; font-size: 12px; color: #9a9a9a; }

/* ---- uzak tarayıcı (canlı yayın) */
.uzak { position: fixed; inset: 0; z-index: 85; background: #0b0b0b; display: flex; flex-direction: column; }
.uzak .arac { display: flex; gap: 6px; align-items: center; padding: 8px 12px; background: #0b0b0b; border-bottom: 1px solid #333; flex-wrap: wrap; }
.uzak .arac .baslik { font-size: 14px; }
.uzak .arac .sekme { max-width: 220px; padding: 4px 8px; font-size: 13px; }
.uzak .ekran { flex: 1; overflow: auto; padding: 4px; -webkit-overflow-scrolling: touch; background: #111; }
.uzak .sahne { margin: 0 auto; }
.uzak img { display: block; height: auto; cursor: crosshair; background: #fff; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; }
.uzak .klavye { position: fixed; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; font-size: 16px; }
.uzak .tuslar { display: flex; gap: 6px; padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); background: #0b0b0b; border-top: 1px solid #333; overflow-x: auto; }
.uzak .tuslar .kucuk { padding: 8px 14px; font-size: 14px; }
.uzak .not { font-size: 12px; color: #9a9a9a; }
body.uzak-acik #kod-panel { z-index: 88; }
@media (max-width: 760px) { .uzak .arac .kucuk { padding: 7px 11px; font-size: 15px; } }

/* ---- giriş */
#giris { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #111; z-index: 100; padding: 16px; }
#giris .kart { width: 380px; max-width: 100%; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
#giris h1 { font-size: 22px; margin: 0 0 4px; }
#giris input { width: 100%; padding: 10px 12px; font-size: 16px; }
#giris .hata { color: #ff6b6b; min-height: 18px; font-size: 13px; white-space: pre-wrap; }
#giris button.birincil { padding: 11px; font-size: 16px; }

/* ---- ayarlar / formlar */
.form-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; align-items: end; }
.form-izgara label { display: flex; flex-direction: column; gap: 4px; color: #9a9a9a; font-size: 13px; }
.liste-sec { list-style: none; margin: 0; padding: 4px; border: 1px solid #333; border-radius: 8px; max-width: 420px; background: #181818; }
.liste-sec li { padding: 6px 10px; border-radius: 6px; cursor: grab; }
.liste-sec li.secili { background: #2f3f5c; }
.gezgin-satir { display: flex; gap: 10px; padding: 6px 8px; border-bottom: 1px solid #262626; align-items: center; }
.gezgin-satir:hover { background: #24344f; }
.gezgin-satir .ad { flex: 1; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- üst çubuk (telefon) */
#ustcubuk { display: none; }

/* ================================================================ TELEFON (dar ekran) */
@media (max-width: 760px) {
  body { overflow: auto; }
  #uygulama { flex-direction: column; height: auto; min-height: 100%; }
  #yan { position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.6); }
  #yan.acik { transform: none; }
  #ustcubuk { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0b0b0b; position: sticky; top: 0; z-index: 60; }
  #ustcubuk .ad { font-weight: 600; font-size: 16px; flex: 1; }
  #ustcubuk button { background: transparent; border: 1px solid #333; border-radius: 8px; padding: 6px 10px; }
  #sag { min-height: calc(100vh - 50px); }
  #icerik { padding: 14px 12px 120px; overflow: visible; }
  .serit { padding: 8px 12px; }
  .buyukbaslik { font-size: 20px; }
  #kod-panel { left: 8px; right: 8px; bottom: auto; top: 58px; flex-wrap: wrap; justify-content: center; z-index: 65; }
  #kod-panel .bilgi { width: 100%; text-align: center; }
  #kod-resim { height: 64px; flex: 1 1 100%; }
  #kod-resim img { height: 60px; }
  #kod-giris { flex: 1; font-size: 22px; width: auto; min-width: 0; }
  .fsatir { flex-wrap: wrap; padding: 10px 12px; }
  .fsatir .sagdurum { width: 100%; justify-content: flex-end; }
  .cubuk { width: 160px; }
  #cekmece { grid-template-columns: 1fr 1fr; }
  .tablo-kutu { max-height: none; }
  .tablo-arac input[type=search] { width: 100%; }
  .pencere { max-height: 96vh; }
  .firmakart .ust { padding: 10px 12px; }
  #bildirimler { left: 8px; right: 8px; max-width: none; }
}

/* sade (telefon) görünümü: kartlar */
.mkart { background: #1c1c1c; border: 1px solid #333; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.mkart h3 { margin: 0 0 8px; font-size: 16px; }
.mkart .msatir { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #262626; }
.mkart .msatir:last-child { border-bottom: none; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mgrid button { padding: 12px 8px; border-radius: 10px; border: 1px solid #333; background: #1f1f1f; text-align: left; }
.mgrid button b { display: block; font-size: 14px; }
.mgrid button span { font-size: 12px; color: #9a9a9a; }

/* uygulama olarak yükle düğmesi: tarayıcı tek tıkla yüklemeye hazırsa vurgulu */
.yukle-dugme.hazir { border-color: #3b82f6; color: #7fb3ff; }
