/* Nexell — istem kutusu, sohbet yerleşimi, balonlar ve kurulum penceresi.
 *
 * istem.js (NXIstem) ve kurulum.js (NXKurulum) ile birlikte gelir. Belirteçler
 * base.css'ten (--accent, --surface, --line-soft …); koyu/açık tema ve RTL
 * kendiliğinden işler. Düzen LeGras "AI" ekranından, marka Nexell.
 *
 * Yerleşim:
 *   .nx-sohbet[data-durum="bos"]  → ortada selamlama (.nx-sohbet__bos) + kutu + öneriler
 *   .nx-sohbet[data-durum="akis"] → üstte kayan akış (.nx-sohbet__akis), kutu altta (.nx-sohbet__dok)
 */

.nx-gizli {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ============================================================ sohbet */

.nx-sohbet {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  min-width: 0;
}
.nx-sohbet > * { min-width: 0; }

.nx-sohbet__akis {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px max(16px, calc((100% - 760px) / 2)) 12px;
  scroll-padding-bottom: 24px;
}
.nx-sohbet[data-durum="bos"] .nx-sohbet__akis { display: none; }

.nx-sohbet__bos {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-top: auto;
  padding: 24px 16px 22px;
}
.nx-sohbet[data-durum="akis"] .nx-sohbet__bos { display: none; }
.nx-sohbet__selam {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}
.nx-sohbet__alt { margin: 0; max-width: 540px; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

.nx-sohbet__dok { flex: none; position: relative; z-index: 5; padding: 8px 16px max(14px, env(safe-area-inset-bottom)); }
.nx-sohbet[data-durum="bos"] .nx-sohbet__dok { margin-bottom: auto; }
.nx-sohbet[data-durum="akis"] .nx-sohbet__dok {
  position: sticky;
  bottom: 0;
  padding-top: 18px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 22px);
}
.nx-sohbet__dok > .nx-istem { max-width: 760px; margin: 0 auto; }

/* ============================================================= istem */

.nx-istem { position: relative; min-width: 0; font-family: inherit; }
.nx-istem__kutu {
  position: relative;
  margin: 0;
  padding: 12px 12px 10px 16px;
  padding-inline: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-s);
  transition: border-color .2s, box-shadow .25s;
}
.nx-istem[data-kip="bos"] .nx-istem__kutu { box-shadow: var(--shadow-m); }
.nx-istem__kutu:focus-within {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line-soft));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), var(--shadow-m);
}
.nx-istem__metin {
  display: block;
  width: 100%;
  min-height: 26px;
  max-height: 220px;
  margin: 0;
  padding: 2px 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  overflow-y: auto;
}
.nx-istem[data-kip="bos"] .nx-istem__metin { min-height: 56px; }
.nx-istem__metin::placeholder { color: var(--muted); opacity: 1; }
.nx-istem__metin:focus-visible { outline: none; }
.nx-istem__metin:disabled { opacity: .7; }

.nx-istem__cubuk { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.nx-istem__ekle,
.nx-istem__gonder {
  width: 36px; height: 36px;
  flex: none;
  display: grid; place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.nx-istem__ekle { border: 1px solid var(--line-soft); background: transparent; color: var(--text-2); }
.nx-istem__ekle:hover:not(:disabled) { background: var(--bg-alt); color: var(--text); border-color: var(--line); }
.nx-istem__ekle svg, .nx-istem__gonder svg { width: 18px; height: 18px; }
.nx-istem__gonder { margin-inline-start: auto; border: 0; background: var(--grad); color: var(--on-accent); }
.nx-istem__gonder svg { stroke-width: 2.2; }
.nx-istem__gonder:not(:disabled):hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent), 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.nx-istem__gonder:not(:disabled):active { transform: scale(.94); }
.nx-istem__gonder:disabled { background: var(--bg-alt); color: var(--muted); cursor: not-allowed; }
.nx-istem__ekle:focus-visible, .nx-istem__gonder:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nx-istem__ipucu {
  min-width: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 12px; color: var(--muted);
  opacity: 0;
  transition: opacity .2s;
}
.nx-istem__kutu:focus-within .nx-istem__ipucu,
.nx-istem.is-dolu .nx-istem__ipucu { opacity: 1; }
.nx-istem.is-kilitli .nx-istem__kutu { background: color-mix(in srgb, var(--bg-alt) 60%, var(--surface)); }

.nx-istem__uyari { margin: 6px 0 0; min-height: 0; font-size: 12.5px; color: var(--danger); text-align: center; overflow-wrap: anywhere; }
.nx-istem__uyari:empty { display: none; }

/* dosya çipleri */
.nx-istem__cipler { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; min-width: 0; }
.nx-istem__cipler[hidden] { display: none; }
.nx-istem__cip {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  max-width: min(100%, 260px);
  min-width: 0;
  height: 46px;
  padding: 0 6px;
  padding-inline: 6px 4px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--bg-alt);
  animation: nxistemcip .25s var(--ease-out);
}
@keyframes nxistemcip { from { opacity: 0; transform: scale(.94); } }
.nx-istem__cipSimge {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tint);
  color: var(--accent-text);
}
.nx-istem__cipSimge svg { width: 17px; height: 17px; }
.nx-istem__cipSimge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-istem__cipYazi { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nx-istem__cipAd { font-size: 12.5px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nx-istem__cipBoyut { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nx-istem__cipX {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nx-istem__cipX svg { width: 14px; height: 14px; }
.nx-istem__cipX:hover { background: var(--surface); color: var(--text); }
.nx-istem__cipX:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* sürükle-bırak */
.nx-istem__birak {
  position: absolute; inset: -1px;
  display: grid; place-items: center;
  border-radius: inherit;
  border: 2px dashed var(--accent);
  background: color-mix(in srgb, var(--tint) 88%, transparent);
  color: var(--accent-text);
  font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .15s;
}
.nx-istem__kutu.is-surukle .nx-istem__birak { opacity: 1; }

/* öneri kartları (yalnız boş durumda) */
.nx-istem__oneriler {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 16px;
  min-width: 0;
}
.nx-istem[data-kip="akis"] .nx-istem__oneriler { display: none; }
.nx-istem__oneri {
  position: relative;
  min-width: 0;
  min-height: 100px;
  padding: 12px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--text-2);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease-out);
  animation: nxistemoneri .5s var(--ease-out) both;
}
.nx-istem__oneri:nth-child(2) { animation-delay: 50ms; }
.nx-istem__oneri:nth-child(3) { animation-delay: 100ms; }
.nx-istem__oneri:nth-child(4) { animation-delay: 150ms; }
.nx-istem__oneri:nth-child(n+5) { animation-delay: 200ms; }
@keyframes nxistemoneri { from { opacity: 0; transform: translateY(8px); } }
.nx-istem__oneriSimge {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--tint);
  color: var(--accent-text);
  transition: background .2s, color .2s;
}
.nx-istem__oneriSimge svg { width: 16px; height: 16px; }
.nx-istem__oneriYazi { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
.nx-istem__oneriBaslik { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text); }
.nx-istem__oneriMetin {
  font-size: 12px; line-height: 1.4; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nx-istem__oneri:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line-soft));
  background: color-mix(in srgb, var(--tint) 55%, var(--surface));
  color: var(--text);
  transform: translateY(-1px);
}
.nx-istem__oneri:hover:not(:disabled) .nx-istem__oneriSimge { background: var(--grad); color: var(--on-accent); }
.nx-istem__oneri:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nx-istem__oneri:disabled { opacity: .55; cursor: progress; }

@media (max-width: 640px) {
  .nx-istem__kutu { border-radius: 22px; }
  .nx-istem__ipucu { display: none; }
  .nx-istem__oneriler { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nx-istem__oneri { min-height: 56px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding: 8px 10px; }
  .nx-istem__oneriSimge { width: 28px; height: 28px; }
  .nx-istem__oneriMetin { display: none; }
  .nx-istem__oneriBaslik { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nx-istem__oneri:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ============================================================ balonlar */

.nx-balon { min-width: 0; animation: nxbalon .3s var(--ease-out); }
@keyframes nxbalon { from { opacity: 0; transform: translateY(8px); } }
.nx-balon--kullanici {
  align-self: flex-end;
  max-width: min(82%, 560px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.nx-balon--kullanici .nx-balon__metin {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 20px 20px 6px 20px;
  border: 1px solid var(--line-soft);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
[dir="rtl"] .nx-balon--kullanici .nx-balon__metin { border-radius: 20px 20px 20px 6px; }
.nx-balon__dosyalar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 100%; }
.nx-balon__dosya {
  display: inline-flex; align-items: center; gap: 7px;
  max-width: 220px; min-width: 0;
  height: 32px;
  padding: 0 10px 0 6px;
  padding-inline: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  font-size: 12px; font-weight: 500; color: var(--text-2);
}
.nx-balon__dosyaSimge { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--tint); color: var(--accent-text); }
.nx-balon__dosyaSimge svg { width: 13px; height: 13px; }
.nx-balon__dosyaAd { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.nx-balon--nexell { position: relative; align-self: stretch; padding-inline-start: 18px; }
.nx-balon--nexell::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 5px; bottom: 5px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent) 0, color-mix(in srgb, var(--accent) 32%, transparent) 56px, color-mix(in srgb, var(--accent) 6%, transparent) 100%);
}
.nx-balon--nexell[data-durum="bekliyor"]::before { animation: nxnefes 1.6s ease-in-out infinite; }
@keyframes nxnefes { 50% { opacity: .5; } }
.nx-balon__govde {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-width: 0;
  font-size: 15px; line-height: 1.6; color: var(--text-2);
  overflow-wrap: anywhere;
}
.nx-balon__govde > * { max-width: 100%; }
.nx-balon--nexell .nx-balon__metin { margin: 0; color: var(--text); }

/* ===================================================== kurulum penceresi */
/* NXKurulum: pencere çubuğu (dosya + durum), fx çubuğu, satır satır dolan
   ızgara ve adım çipleri. Bugünkü ana sayfa canlandırmasının (wb) dili. */

.nx-kur {
  position: relative;
  width: 100%;
  min-width: 0;
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-m), 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
  overflow: hidden;
  animation: nxkurin .5s var(--ease-out);
}
@keyframes nxkurin { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.nx-kur::after {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .7;
  pointer-events: none;
}

.nx-kur__ust {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.nx-kur__nokta { display: inline-flex; gap: 6px; }
.nx-kur__nokta i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.nx-kur__nokta i:last-child { background: var(--accent); }
.nx-kur__dosya { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--text-2); }
.nx-kur__dosya svg { width: 15px; height: 15px; flex: none; color: var(--accent-text); }
.nx-kur__dosya b { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nx-kur__durum { justify-self: end; display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.nx-kur__durum i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.nx-kur__durum[data-durum="calisiyor"] i { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); animation: nxblink .8s steps(2) infinite; }
.nx-kur__durum[data-durum="hata"] { color: var(--danger); }
.nx-kur__durum[data-durum="hata"] i { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); }
.nx-kur__durum[data-durum="iptal"] i { background: var(--muted); box-shadow: none; }

.nx-kur__fx { display: flex; align-items: center; height: 34px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; min-width: 0; }
.nx-kur__ad {
  width: 62px; height: 100%; flex: none;
  display: grid; place-items: center;
  border-inline-end: 1px solid var(--line-soft);
  color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums;
}
.nx-kur__fxi { padding: 0 12px; flex: none; font-style: italic; font-weight: 600; color: var(--muted); font-family: Georgia, serif; }
.nx-kur__formul {
  min-width: 0; flex: 1 1 auto;
  display: flex; align-items: center;
  overflow: hidden; white-space: nowrap;
  color: var(--text); font-variant-numeric: tabular-nums;
  direction: ltr; unicode-bidi: plaintext; text-align: start;
}
.nx-kur__formulMetin { overflow: hidden; text-overflow: ellipsis; }
.nx-kur__formul b { color: var(--accent-text); font-weight: 600; }
.nx-kur__formul .nx-kur__dize { color: var(--warn); }
.nx-kur__imlec { width: 2px; height: 16px; margin-inline-start: 1px; flex: none; border-radius: 2px; background: var(--accent); animation: nxblink 1s steps(2) infinite; }
.nx-kur:not(.is-yaziyor) .nx-kur__imlec { display: none; }

.nx-kur__govde { position: relative; min-height: 196px; max-height: 420px; overflow: auto; overscroll-behavior: contain; }
.nx-kur__t { width: 100%; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; table-layout: auto; }
.nx-kur__t th, .nx-kur__t td {
  height: 32px;
  max-width: 260px;
  padding: 0 12px;
  border-inline-end: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}
.nx-kur__t .L { height: 24px; position: sticky; top: 0; z-index: 2; background: var(--bg-alt); color: var(--muted); font-size: 11px; font-weight: 600; text-align: center; }
.nx-kur__t .L.is-sec { background: color-mix(in srgb, var(--accent) 16%, var(--bg-alt)); color: var(--accent-text); }
.nx-kur__t .n { width: 42px; min-width: 42px; padding: 0; text-align: center; background: var(--bg-alt); color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.nx-kur__t .H { background: var(--head); color: var(--on-head); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.nx-kur__t .num { text-align: end; font-variant-numeric: tabular-nums; }
.nx-kur__t .bos td:not(.n) { background: transparent; }
.nx-kur__t tr.is-in > * { animation: nxrow .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.nx-kur__t .is-yeni { animation: nxkuryeni .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
@keyframes nxkuryeni {
  from { opacity: 0; background: color-mix(in srgb, var(--accent) 30%, transparent); }
  60%  { background: color-mix(in srgb, var(--accent) 16%, transparent); }
}
.nx-kur__t td.is-akt { position: relative; box-shadow: inset 0 0 0 2px var(--accent); }
.nx-kur__t .fazla td { color: var(--muted); font-size: 12px; font-style: italic; }
.nx-kur__t .nx-kur__iskelet td:not(.n) { color: transparent; }

.nx-kur__alt {
  display: flex; align-items: center; gap: 10px;
  min-height: 36px;
  padding: 4px 10px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
  font-size: 12px;
  min-width: 0;
}
.nx-kur__sekme { position: relative; flex: none; height: 28px; padding: 0 14px; display: grid; place-items: center; color: var(--text); font-weight: 600; background: var(--surface); border-radius: 8px 8px 0 0; }
.nx-kur__sekme::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.nx-kur__adimlar {
  list-style: none; margin: 0; padding: 2px 0;
  margin-inline-start: auto;
  display: flex; gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nx-kur__adimlar::-webkit-scrollbar { display: none; }
.nx-kur__adim {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.nx-kur__adimIsaret { width: 12px; height: 12px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; font-size: 9px; line-height: 1; }
.nx-kur__adim[data-durum="calisiyor"] { color: var(--text-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--line-soft)); }
.nx-kur__adim[data-durum="calisiyor"] .nx-kur__adimIsaret { border-color: var(--accent); border-top-color: transparent; opacity: 1; animation: nxkurdon .8s linear infinite; }
@keyframes nxkurdon { to { transform: rotate(360deg); } }
.nx-kur__adim[data-durum="tamam"] { background: var(--tint); border-color: transparent; color: var(--accent-text); animation: nxpop .45s var(--ease-spring); }
.nx-kur__adim[data-durum="tamam"] .nx-kur__adimIsaret { border: 0; opacity: 1; }
.nx-kur__adim[data-durum="tamam"] .nx-kur__adimIsaret::before { content: "\2713"; font-size: 11px; font-weight: 700; }
.nx-kur__adim[data-durum="hata"] { background: color-mix(in srgb, var(--danger) 12%, transparent); border-color: transparent; color: var(--danger); }
.nx-kur__adim[data-durum="hata"] .nx-kur__adimIsaret { border: 0; opacity: 1; }
.nx-kur__adim[data-durum="hata"] .nx-kur__adimIsaret::before { content: "!"; font-size: 11px; font-weight: 800; }

@media (max-width: 640px) {
  .nx-kur { border-radius: 14px; }
  .nx-kur__ust { grid-template-columns: auto 1fr auto; padding: 0 10px; }
  .nx-kur__nokta i { width: 8px; height: 8px; }
  .nx-kur__dosya { justify-self: start; }
  .nx-kur__durum span { display: none; }
  .nx-kur__alt { flex-wrap: wrap; }
  .nx-kur__adimlar { margin-inline-start: 0; flex: 1 1 100%; }
  .nx-kur__sekme { display: none; }
}

/* ================================================= az hareket tercihi */
@media (prefers-reduced-motion: reduce) {
  .nx-istem__cip, .nx-istem__oneri, .nx-balon, .nx-kur,
  .nx-kur__t tr.is-in > *, .nx-kur__t .is-yeni, .nx-kur__adim[data-durum="tamam"] { animation: none !important; }
  .nx-kur__adim[data-durum="calisiyor"] .nx-kur__adimIsaret,
  .nx-kur__durum[data-durum="calisiyor"] i,
  .nx-balon--nexell[data-durum="bekliyor"]::before { animation: none; }
  .nx-istem__oneri, .nx-istem__kutu { transition: none; }
}

/* ----- İmza gönder düğmeleri (kullanıcı 2026-10-24: "kendi imzalarımız olan dönüştürme butonumuz
   veya şekiller değil, yerleştirme değişsin"). 'ok' = markanın yuvarlak dönüşüm oku (base.css
   .arrowbtn — görsel ve nabız halkası oradan), 'hap' = araçtaki "Tabloya çevir →" hapı (eski
   app.css .duzen__gonder ile aynı ölçü ve davranış). */
.nx-istem__gonder.arrowbtn {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--arrow-btn) center / contain no-repeat;
  color: transparent;
}
.nx-istem__gonder.arrowbtn:not(:disabled):hover { box-shadow: none; transform: scale(1.08) rotate(-8deg); }
.nx-istem__gonder.arrowbtn:not(:disabled):active { transform: scale(.94); }
.nx-istem__gonder.arrowbtn:disabled { background: var(--arrow-btn) center / contain no-repeat; opacity: .45; cursor: not-allowed; }
.nx-istem__gonder--hap {
  width: auto; min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 14px;
  border: 0; border-radius: 11px;
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .25s var(--ease-spring), background .2s, box-shadow .2s;
}
.nx-istem__gonder--hap:not(:disabled):hover { background: var(--accent-h); box-shadow: var(--glow); transform: translateX(1px); }
.nx-istem__gonder--hap:not(:disabled):active { transform: scale(.92); }
.nx-istem__gonder--hap:disabled { background: var(--accent); color: var(--on-accent); opacity: .4; cursor: default; }
[dir="rtl"] .nx-istem__gonder--hap svg { transform: scaleX(-1); }
@media (max-width: 560px) {
  .nx-istem__gonder--hap { width: 38px; padding: 0; }
  .nx-istem__gonder--hap .nx-istem__gonderMetin { display: none; }
}
