body.yonetim { overflow: auto; background: radial-gradient(70% 50% at 80% 0%, rgba(255, 93, 143, 0.08), transparent 70%), var(--gece); min-height: 100%; }
.y-giris { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; }
.y-giris .gise { width: min(380px, 100%); }
.y-kabuk { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: 60px 1fr; min-height: 100vh; }
.y-ust { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--cizgi); background: linear-gradient(180deg, #1e0b16, #15070f); position: sticky; top: 0; z-index: 5; }
.y-ust a.marka { text-decoration: none; }
.y-ust-sag { display: flex; gap: 8px; }
.y-menu { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid var(--cizgi); }
.y-menu button { text-align: left; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--yazi2); transition: background 0.15s, color 0.15s; }
.y-menu button:hover { background: rgba(255, 196, 216, 0.06); color: var(--yazi); }
.y-menu button.secili { background: rgba(255, 93, 143, 0.14); color: var(--isik); box-shadow: 0 0 0 1px rgba(255, 143, 178, 0.25) inset; }
.y-ic { padding: 26px 30px 60px; min-width: 0; }
.y-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.y-bas h1 { flex: 1; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--isik); }
.y-not { color: var(--soluk); font-size: 13px; margin: 0 0 16px; line-height: 1.5; }
.y-bas select, .y-bas input { height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, 0.35); box-shadow: 0 0 0 1px var(--cizgi2) inset; color: var(--yazi); font-size: 14px; outline: none; }
.y-bas input { width: 200px; }
.y-tablo-sar { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--cizgi) inset; background: rgba(34, 16, 26, 0.6); }
.y-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.y-tablo th { text-align: left; padding: 12px 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soluk); border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.y-tablo td { padding: 12px 14px; border-bottom: 1px solid var(--cizgi); vertical-align: middle; }
.y-tablo tr:last-child td { border-bottom: 0; }
.y-tablo td.s { color: var(--soluk); white-space: nowrap; font-size: 13px; }
.y-tablo .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.rozet-rol { padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; background: rgba(255, 196, 216, 0.08); color: var(--yazi2); }
.rozet-rol.sahip { background: rgba(255, 93, 143, 0.18); color: var(--isik); }
.y-tablo td.islem { white-space: nowrap; text-align: right; }
.y-tablo td.islem .btn + .btn { margin-left: 6px; }
.gizli-acik { color: var(--bekle) !important; box-shadow: 0 0 0 1px rgba(200, 168, 255, 0.35) inset !important; }
.sen-etiket { margin-left: 6px; font-size: 11px; color: var(--kadife2); font-weight: 700; }
.y-mesajlar { display: flex; flex-direction: column; border-radius: 14px; box-shadow: 0 0 0 1px var(--cizgi) inset; background: rgba(34, 16, 26, 0.6); overflow: hidden; margin-bottom: 14px; }
.y-mesajlar:empty::before { content: "Bu odada mesaj yok."; padding: 30px; text-align: center; color: var(--soluk); }
.y-m { display: grid; grid-template-columns: 112px 110px 1fr auto; gap: 12px; align-items: start; padding: 10px 14px; border-bottom: 1px solid var(--cizgi); font-size: 14px; }
.y-m:last-child { border-bottom: 0; }
.y-m:hover { background: rgba(255, 196, 216, 0.03); }
.y-m .z { color: var(--soluk); font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.y-m .k { font-weight: 700; color: var(--kadife2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.y-m .t { white-space: pre-wrap; word-break: break-word; line-height: 1.45; }
.y-m.sis .t { color: var(--soluk); font-style: italic; }
.y-m.sis .k { color: var(--soluk); font-weight: 600; }
.y-m .i { display: flex; gap: 4px; opacity: 0.5; transition: opacity 0.15s; }
.y-m:hover .i { opacity: 1; }
.y-m .i button { height: 28px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--yazi2); background: rgba(255, 196, 216, 0.06); }
.y-m .i button:hover { color: var(--yazi); background: rgba(255, 196, 216, 0.12); }
.y-m .i button.sil:hover { color: #fff; background: var(--kadife); }
.y-m textarea { width: 100%; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 8px; background: rgba(0, 0, 0, 0.4); box-shadow: 0 0 0 1.5px rgba(255, 195, 214, 0.5) inset; color: var(--yazi); font: inherit; resize: vertical; outline: none; }
.y-kart { padding: 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--cizgi) inset; background: rgba(34, 16, 26, 0.6); max-width: 560px; border-bottom: 0; }
.canli-oda { max-width: none; margin-bottom: 14px; padding: 14px 16px; }
.canli-bas { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--cizgi); }
.canli-bas b { font-size: 16px; color: var(--isik); }
.canli-bas span { flex: 1; color: var(--yazi2); font-size: 13.5px; }
.canli-bas em { font-style: normal; color: var(--soluk); font-size: 12.5px; }
.canli-b { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--cizgi); }
.canli-b:last-child { border-bottom: 0; }
.canli-b small { display: block; color: var(--soluk); font-size: 12px; margin-top: 2px; }
.cb-durum { text-align: right; font-size: 13px; font-weight: 600; }
.cb-durum .iyi { color: var(--senkron); } .cb-durum .uyari { color: #f0b46a; } .cb-durum .bekle { color: var(--bekle); } .cb-durum .kopuk { color: var(--kadife2); }
.nokta { width: 10px; height: 10px; border-radius: 50%; background: var(--soluk); }
.nokta.iyi { background: var(--senkron); box-shadow: 0 0 10px var(--senkron); }
.nokta.uyari { background: #f0b46a; box-shadow: 0 0 10px #f0b46a; }
.nokta.bekle { background: var(--bekle); animation: yanson 0.9s infinite; }
.nokta.kopuk { background: var(--kadife2); }
.rozet-rol.eski { background: rgba(240, 180, 106, 0.18); color: #f0b46a; }
.canli-b .btn { height: 32px; padding: 0 12px; font-size: 13px; }
@media (max-width: 600px) {
  .canli-b { grid-template-columns: 12px 1fr auto; }
  .cb-durum { grid-column: 2 / -1; text-align: left; }
}
.btn-tehlike:hover { background: var(--kadife) !important; color: #fff !important; }
@media (max-width: 760px) {
  .y-kabuk { grid-template-columns: 1fr; grid-template-rows: 60px auto 1fr; }
  .y-menu { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--cizgi); padding: 10px; }
  .y-menu button { white-space: nowrap; }
  .y-ic { padding: 18px 14px 50px; }
  .y-m { grid-template-columns: 1fr auto; }
  .y-m .z { grid-column: 1 / -1; order: -1; }
  .y-m .t { grid-column: 1 / -1; }
  .y-ust .btn span { display: none; }
  .y-bas h1 { font-size: 28px; }
  .y-bas input, .y-bas select { flex: 1 1 140px; width: auto; }
  /* tablolar telefonda kart olur */
  .y-tablo thead { display: none; }
  .y-tablo, .y-tablo tbody, .y-tablo tr, .y-tablo td { display: block; width: 100%; }
  .y-tablo tr { padding: 12px 14px; border-bottom: 1px solid var(--cizgi); }
  .y-tablo tr:last-child { border-bottom: 0; }
  .y-tablo td { padding: 2px 0; border: 0 !important; }
  .y-tablo td:first-child { font-size: 15.5px; margin-bottom: 4px; }
  .y-tablo td[data-l]::before { content: attr(data-l) ": "; color: var(--soluk); opacity: 0.7; }
  .y-tablo td.islem { text-align: left; margin-top: 10px; }
  .y-tablo td:nth-child(2):not([data-l]) { margin-bottom: 4px; }
}
