/* Nexo — app.css (şablon) üzerine eklenen bileşenler.
   Şablonun renk ve boşluk değişkenlerini (--accent, --line, --muted, --r-lg …) kullanır. */

/* ---------- Genel ---------- */
select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field:focus-visible, .select:focus-visible, .input:focus-visible, textarea.field:focus-visible { outline: none; }
.content:focus { outline: none; }
.btn { text-decoration: none; white-space: nowrap; }
.btn[disabled], .btn[aria-busy] { opacity: .6; pointer-events: none; }
.btn[aria-busy]::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--danger { background: linear-gradient(180deg, #e5483f, #c4261c); color: #fff; box-shadow: inset 0 1px 0 #ffffff40, 0 10px 22px -12px #c4261c; }
.btn--good { background: linear-gradient(180deg, #2fbf6b, #18753a); color: #fff; box-shadow: inset 0 1px 0 #ffffff40; }
.top__sep { opacity: .6; }
.top__day { white-space: nowrap; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.t-right { text-align: right !important; }
.pos { color: var(--good); }
.neg { color: var(--bad); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; }

/* ---------- Form alanları ---------- */
textarea.field { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m7 10 5 5 5-5' fill='none' stroke='%23b6bfcd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.select option { color: #0b1220; }
.field-wrap { position: relative; display: block; }
.field-wrap__ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.field--search { padding-left: 36px; }
.field--search::-webkit-search-cancel-button { filter: grayscale(1); }
.field-error { color: var(--bad); font-size: 12.5px; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.input-validation-error { box-shadow: inset 0 0 0 1.5px var(--bad) !important; }
.alert { border-radius: 14px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.alert ul { margin: 0; padding-left: 18px; }
.alert--bad { background: #ff696122; color: #ffb4ae; }
[data-theme="light"] .alert--bad { background: #ff3b301a; color: #a3231a; }
.alert--info { background: #0a84ff1f; color: #9cc9ff; }
[data-theme="light"] .alert--info { color: #005ec4; }
.validation-summary-valid { display: none; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid--3 { grid-template-columns: repeat(3, 1fr); }
.fgrid .span-2 { grid-column: 1 / -1; }
.modal__body label, .form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.modal__body .field, .modal__body .select { width: 100%; min-width: 0; color: var(--ink); }
.modal__body .check, .form .check { flex-direction: row; color: var(--ink-2); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.toggle-row:first-of-type { border-top: 0; }
.toggle-row b { display: block; font-size: 14px; color: var(--ink); }
.toggle-row small { color: var(--muted); font-size: 12.5px; }
input.switch-input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: #ffffff22; position: relative; flex: none; cursor: pointer; transition: background .3s var(--ease); margin: 0; }
input.switch-input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #0006; transition: transform .35s var(--ease); }
input.switch-input:checked { background: #30d158; }
input.switch-input:checked::after { transform: translateX(18px); }
[data-theme="light"] input.switch-input:not(:checked) { background: #d7dee8; }

/* ---------- Sekmeler, çipler, sayfalama ---------- */
.seg a { display: inline-grid; place-items: center; color: var(--muted); height: 28px; padding: 0 12px; border-radius: 99px; font-weight: 700; font-size: 12px; }
.seg a.is-on { background: #ffffff22; color: var(--ink); }
[data-theme="light"] .seg a.is-on { background: #fff; box-shadow: 0 1px 4px #0b122018; }
.phead__actions .seg { align-self: center; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; }
a.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip__n { font-size: 12px; opacity: .75; }
a.pager__n { display: inline-grid; place-items: center; text-decoration: none; }
.pager__info { margin-left: 6px; }
.pager__pages { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.table td.is-wrap { white-space: normal; min-width: 220px; }
.table tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.table tr.is-static { cursor: default; }
.table .row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.bulk { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; color: var(--muted); font-size: 13px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 12px 0; }

/* ---------- Boş / hata / yükleniyor ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 36px 16px; }
.empty__ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #ffffff12; color: var(--muted); margin-bottom: 4px; }
[data-theme="light"] .empty__ico { background: #0f192d0c; }
.empty b { font-size: 15px; }
.empty p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; max-width: 360px; }
.empty__acts { display: flex; gap: 8px; }
.empty--error .empty__ico { color: var(--bad); }
.skeleton { display: flex; flex-direction: column; gap: 12px; padding: 24px 20px; }
.skeleton i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, #ffffff10, #ffffff22, #ffffff10); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton i:first-child { height: 26px; width: 55%; }
.skeleton i:nth-child(3) { width: 80%; }
.skeleton i:nth-child(5) { width: 40%; }
[data-theme="light"] .skeleton i { background: linear-gradient(90deg, #0f192d0a, #0f192d16, #0f192d0a); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Modal ---------- */
#confirm-wrap { z-index: 70; }
.attn { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.attn__ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.attn__text b { display: block; font-size: 15px; }
.attn__text p { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.link--bad { color: var(--bad); }
.ok--bad { color: var(--bad); }
.ok--bad i { background: var(--bad); }
.modal--sm { width: min(420px, 100%); }
.modal--wide { width: min(720px, 100%); }
.modal form { display: contents; }
.modal .formfoot { align-items: center; }
.formfoot__sum { margin-right: auto; color: var(--muted); font-size: 13px; }
.formfoot__sum b { color: var(--ink); font-size: 16px; margin-left: 6px; }
.line-edit { grid-template-columns: minmax(0, 1fr) 70px 110px 96px 36px; }
.line-edit [data-line-total] { text-align: right; font-weight: 700; font-size: 13.5px; }
.line-head { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px 96px 36px; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 650; }
.line-head span:nth-child(4) { text-align: right; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 4px 0 0 auto; min-width: 220px; font-size: 13.5px; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; text-align: right; font-weight: 650; }
.sums .ink { color: var(--ink); font-weight: 700; font-size: 15px; }

/* ---------- Radyo seçici, cari arama, tutar önizleme ---------- */
.seg--full { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.seg__opt { position: relative; display: grid; place-items: center; height: 34px; border-radius: 99px; font-weight: 700; font-size: 13px; color: var(--muted) !important; cursor: pointer; flex-direction: row !important; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt:has(input:checked) { background: #ffffff22; color: var(--ink) !important; }
[data-theme="light"] .seg__opt:has(input:checked) { background: #fff; box-shadow: 0 1px 4px #0b122018; }
.seg__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.cari-ara { position: relative; display: block; }
.cari-ara .field { width: 100%; }
.cari-ara__list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 6px; border-radius: 14px; max-height: 260px; overflow: auto; background: #121820f5; box-shadow: 0 20px 40px -20px #000c, inset 0 0 0 1px #ffffff18; }
[data-theme="light"] .cari-ara__list { background: #fffffff5; box-shadow: 0 20px 40px -20px #0f1e3c66, inset 0 0 0 1px #0f192d14; }
.cari-ara__list li { padding: 8px 10px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; }
.cari-ara__list li b { color: var(--ink); font-size: 13.5px; }
.cari-ara__list li small { color: var(--muted); font-size: 12px; }
.cari-ara__list li:hover, .cari-ara__list li.is-on { background: #0a84ff22; }
.tutar-onizleme { font-weight: 700; }
.tutar-onizleme:empty { display: none; }

/* ---------- Çekmece içerikleri ---------- */
.drawer__body .alert { margin: 12px 0 4px; }
.drawer__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.drawer__foot form { display: contents; }
.drawer__foot { flex-wrap: wrap; }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px; border-radius: 14px; background: #ffffff0a; margin-bottom: 8px; }
[data-theme="light"] .match { background: #0f192d08; }
.match b { font-size: 13.5px; }
.match small { color: var(--muted); font-size: 12.5px; }
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.conf i { width: 44px; height: 6px; border-radius: 99px; background: #ffffff18; overflow: hidden; display: block; }
.conf i span { display: block; height: 100%; border-radius: inherit; background: var(--good); }
.conf.is-mid i span { background: var(--warn); }
.conf.is-low i span { background: var(--bad); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: flex; flex-direction: column; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; font-size: 13px; }
.timeline li::before { content: ""; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.timeline small { display: block; color: var(--muted); }

/* ---------- Sayfa bileşenleri ---------- */
.kpis--4 { grid-template-columns: repeat(4, 1fr); }
.kpi--plain { background: var(--card) !important; box-shadow: var(--glow), var(--shadow); }
.kpi strong.is-sm { font-size: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--gap); align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list b { display: block; font-size: 14px; }
.list small { display: block; color: var(--muted); font-size: 12.5px; }
.job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.job__ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; }
.job h2 { margin: 0; font-size: 15.5px; }
.job p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.job__meta b { color: var(--ink); font-weight: 650; }
.job__msg { grid-column: 2 / -1; margin: 0; font-size: 13px; color: var(--ink-2); }
.job__acts { display: flex; gap: 8px; align-items: center; }
.rule-cond { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 13px; }
.rule-cond code { font-family: inherit; font-weight: 700; background: #ffffff12; border-radius: 7px; padding: 1px 6px; }
[data-theme="light"] .rule-cond code { background: #0f192d0c; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vcard { border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--glow), var(--shadow); display: flex; flex-direction: column; color: var(--ink); }
.vcard__art { height: 150px; display: grid; place-items: center; position: relative; }
.vcard__art svg { width: 46px; height: 46px; stroke: #283142; }
.vcard__art em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; font-weight: 700; background: #0b1220cc; color: #fff; border-radius: 8px; padding: 2px 7px; }
.vcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.vcard__body small { color: var(--muted); font-size: 12.5px; }
.ftype { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; background: #0a84ff22; color: #9cc9ff; flex: none; }
[data-theme="light"] .ftype { color: #005ec4; }
.ftype--pdf { background: #ff696126; color: #ffb4ae; }
.ftype--xlsx { background: #30d15826; color: #8fdcb1; }
.ftype--zip, .ftype--exe { background: #ffb34026; color: #ffd18a; }
[data-theme="light"] .ftype--pdf { color: #c4261c; }
[data-theme="light"] .ftype--xlsx { color: #18753a; }
[data-theme="light"] .ftype--zip, [data-theme="light"] .ftype--exe { color: #975400; }
.drop { border: 1.5px dashed var(--line-2); border-radius: 18px; padding: 22px; text-align: center; color: var(--muted); }
.drop input { margin-top: 10px; }
.pcard { cursor: pointer; }
.pcard__flag.tone-bad { background: #ffd6d2; color: #8a1a12; }
.pcard__flag.tone-warn { background: #fff0c8; color: #6b3d00; }
.help h2 { margin: 0 0 6px; }
.help p { line-height: 1.5; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tag--off { color: var(--muted); background: #ffffff12; }
[data-theme="light"] .tag--off { background: #0f192d0c; }

/* ---------- Destekler ---------- */
.thread { width: 100%; text-decoration: none; }
.thread:hover { background: #ffffff0a; }
.thread small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.thread__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); justify-self: end; }
.bubbles { overflow: auto; max-height: 440px; padding-right: 4px; }
.bubble small { display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.talk .chead__tools form { display: contents; }

/* ---------- Arama paleti ---------- */
.palette li { align-items: center; gap: 12px; }
.palette li span { display: flex; flex-direction: column; min-width: 0; }
.palette li b { font-weight: 650; }
.palette li em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); background: #ffffff10; border-radius: 7px; padding: 2px 7px; }
.palette li.is-empty { color: var(--muted); cursor: default; }
.palette ul#hits { max-height: min(420px, 60vh); overflow: auto; }

/* ---------- Mobil "Daha" menüsü ---------- */
.sheet { max-height: calc(100dvh - 120px); overflow: auto; }
.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

/* ---------- Giriş sayfası ---------- */
.gate--page { position: relative; min-height: 100dvh; z-index: 1; display: grid !important; }
.is-auth .gate__card .field-error { margin-top: -2px; }

/* ---------- Hata sayfası ---------- */
.errpage { max-width: 520px; margin: 8vh auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.errpage strong { font-size: 64px; letter-spacing: -.04em; line-height: 1; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1280px) {
  .kpis--4 { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* Arka plan küreleri telefonda küçülür ve söner; metin okunur kalsın. */
  .orb { animation: none; }
  .orb-1 { width: 320px; height: 320px; left: -140px; top: 58%; opacity: .55; }
  .orb-2 { width: 170px; height: 170px; right: -50px; top: -60px; opacity: .45; }
  .orb-3 { width: 260px; height: 260px; right: -120px; bottom: -110px; opacity: .5; }
  .orb-4, .orb-5 { display: none; }
  .bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 45%, transparent); }
  .card, .pcard, .lcard, .vcard { backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); }
  :root { --card: #161c2afa; }
  [data-theme="light"] { --card: #ffffffed; }

  .top { padding-top: 16px; align-items: center; }
  .top__hello strong { font-size: 17px; }
  .top__day { font-size: 12px; }
  .top__day .top__sep, .top__day .top__crumb { display: none; }
  .top__tools { gap: 6px; }
  .top__tools .ibtn { width: 38px; height: 38px; }
  .phead { flex-direction: column; align-items: stretch; gap: 10px; }
  .phead h1 { font-size: 28px; }
  .phead__actions { flex-wrap: wrap; }
  .phead__actions .btn { flex: 1; justify-content: center; }
  .toolbar { flex-direction: column; }
  .toolbar > label, .toolbar .field, .toolbar .select { width: 100%; min-width: 0; }
  .pgrid, .vgrid, .kpis--4 { grid-template-columns: 1fr 1fr; }
  .pcard__art, .vcard__art { height: 100px; }
  .fgrid, .fgrid--3 { grid-template-columns: 1fr; }
  .line-head { display: none; }
  .line-edit { grid-template-columns: 1fr 70px 36px; }
  .line-edit [data-name="Fiyat"] { grid-column: 1 / 2; }
  .line-edit [data-line-total] { grid-column: 2 / -1; }
  .job { grid-template-columns: auto minmax(0, 1fr); }
  .job__acts { grid-column: 1 / -1; }
  .job__msg { grid-column: 1 / -1; }
  .pager__pages { margin-left: 0; }
  .modal-wrap { padding: 10px; place-items: end center; }
  .modal { max-height: calc(100dvh - 20px); border-radius: 24px; }
  .inbox { min-height: 0; }
  .bubbles { max-height: 50vh; }
}
@media (max-width: 420px) {
  .pgrid, .vgrid, .kpis--4 { grid-template-columns: 1fr; }
  .sheet__grid { grid-template-columns: 1fr; }
}

/* Satır işlem ikonları (Cariler: tahsilat / tediye / virman). Şablondaki renkli ikon karoları (notice__ico + tone--*) ile aynı dil. */
.table .row-acts { align-items: center; gap: 6px; }
.act {
  width: 34px; height: 34px; border: 0; border-radius: 10px; flex: none;
  display: grid; place-items: center; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.act svg { width: 18px; height: 18px; stroke-width: 2.4; }
.act:hover { transform: translateY(-1px); }
.act:active { transform: scale(.96); }
.act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.act.tone--good:hover { background: var(--good); color: #fff; box-shadow: 0 6px 14px -6px var(--good); }
.act.tone--bad:hover { background: var(--bad); color: #fff; box-shadow: 0 6px 14px -6px var(--bad); }
.act.tone--accent:hover { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -6px var(--accent); }
.act--plain { background: #ffffff14; color: var(--ink); box-shadow: inset 0 0 0 1px #ffffff1a; }
.act--plain:hover, .act--plain[aria-expanded="true"] { background: #ffffff24; }
[data-theme="light"] .act.tone--good { background: #34c75938; }
[data-theme="light"] .act.tone--bad { background: #ff3b302e; }
[data-theme="light"] .act.tone--accent { background: #007aff2b; }
[data-theme="light"] .act--plain { background: #ffffffd0; box-shadow: inset 0 0 0 1px #0f192d14; }
[data-theme="light"] .act--plain:hover, [data-theme="light"] .act--plain[aria-expanded="true"] { background: #fff; box-shadow: inset 0 0 0 1px #0f192d24; }
/* Virman: iki cari kartı, ortada yön değiştirme */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vir { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px; margin-bottom: 14px; }
.vir[data-yon="Al"] .vir__bu { order: 3; }
.vir[data-yon="Al"] .vir__swap { order: 2; }
.vir[data-yon="Al"] .vir__karsi { order: 1; }
.vir__card {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 14px; border-radius: 16px; background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.vir__card.is-kaynak { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--good) 55%, transparent); }
.vir__card.is-hedef { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bad) 55%, transparent); }
.vir__rol { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.is-kaynak .vir__rol { color: var(--good); }
.is-hedef .vir__rol { color: var(--bad); }
.vir__ad { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.vir__ara { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.vir__bk { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: auto 0 0; font-size: 13px; }
.vir__bk dt { color: var(--muted); }
.vir__bk dd { margin: 0; text-align: right; font-weight: 650; }
.vir__bk dd.pos { color: var(--good); }
.vir__swap {
  align-self: center; width: 40px; height: 40px; border: 0; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  box-shadow: 0 8px 18px -8px var(--accent); transition: transform .3s var(--ease);
}
.vir__swap svg { width: 20px; height: 20px; stroke-width: 2.4; }
.vir__swap:hover { transform: rotate(180deg); }
.vir__swap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vir__tamami { border: 0; background: none; padding: 2px 0 0; cursor: pointer; text-align: left; }
.vir__ozet { margin: 4px 2px 0; font-size: 13.5px; font-weight: 600; min-height: 1.4em; }
[data-theme="light"] .vir__card { background: #ffffffb8; }
@media (max-width: 640px) {
  .vir { grid-template-columns: 1fr; }
  .vir__swap { justify-self: center; transform: rotate(90deg); }
  .vir__swap:hover { transform: rotate(270deg); }
}

/* Tahsilat/tediye: tutar + "Bakiyeyi aktar" yan yana */
.tutar-satir { display: flex; gap: 8px; align-items: center; }
.tutar-satir .field { flex: 1; min-width: 0; }
.tutar-satir .btn { white-space: nowrap; }
.hint.neg { color: var(--bad); }
.hint.pos { color: var(--good); }
textarea.field { resize: vertical; min-height: 72px; padding-top: 10px; }

/* Cari hareketleri modalı — sıkı düzen: küçük özet kartları, tek satırlık hareketler, ekrana göre uzayan tablo */
.modal--xl { width: min(1120px, 100%); }
.hrk { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.hrk .modal__head { padding: 14px 12px 4px 18px; align-items: center; }
.hrk .modal__head h2 { font-size: 17px; }
.hrk__alt-bilgi { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.hrk__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hrk__tools .btn { display: inline-flex; align-items: center; gap: 6px; }
.hrk__body { gap: 8px; padding: 6px 18px 12px; overflow: hidden; }

.hrk__ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hrk__oz { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 7px 12px; border-radius: 12px; }
.hrk__oz span { font-size: 11.5px; color: var(--muted); }
.hrk__oz b { font-size: 15px; font-weight: 700; }
.hrk__oz small { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.hrk__oz .tag { height: 20px; font-size: 11px; }
.hrk__oz--borc { background: #8a1f1a3d; }
.hrk__oz--alacak { background: #0e644c3d; }
.hrk__oz--bakiye { background: #0a46964d; }
[data-theme="light"] .hrk__oz--borc { background: #ffe1dcb0; }
[data-theme="light"] .hrk__oz--alacak { background: #d6f5e3b0; }
[data-theme="light"] .hrk__oz--bakiye { background: var(--tile-1); }

.hrk__chips { gap: 6px; }
.hrk__chips .chip { height: 26px; padding: 0 10px; font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chip__n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 11px; background: #ffffff1f; }
.chip.is-on .chip__n { background: #ffffff38; }
[data-theme="light"] .chip__n { background: #0f192d10; }
[data-theme="light"] .chip.is-on .chip__n { background: #ffffff40; }

.hrk__kart { overflow: hidden; flex: 1; min-height: 0; display: flex; }
.hrk__tablo { flex: 1; max-height: calc(100dvh - 290px); min-height: 240px; overflow: auto; }
.hrk .table { font-size: 12.5px; }
.hrk .table th { padding: 6px 10px; font-size: 11px; position: sticky; top: 0; z-index: 1; background: var(--card); backdrop-filter: blur(12px); }
.hrk .table td { padding: 5px 10px; }
.hrk .table td.is-wrap { min-width: 200px; }
.hrk__islem { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hrk__islem b { font-weight: 650; }
.hrk__ico { width: 22px; height: 22px; border-radius: 7px; flex: none; display: inline-grid; place-items: center; }
.hrk__ico svg { width: 13px; height: 13px; }
.hrk__evrak { color: var(--muted); font-size: 11.5px; }
.hrk__aciklama { color: var(--muted); max-width: 420px; font-size: 11.5px; line-height: 1.35; }
.hrk__tutar { font-weight: 700; white-space: nowrap; }
.hrk__tutar--borc { color: var(--bad); }
.hrk__tutar--alacak { color: var(--good); }
.hrk .table .tag { height: 20px; font-size: 11.5px; padding: 0 7px; }
.tag--dot { gap: 5px; }
.tag--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.hrk tbody tr[hidden] { display: none; }
.hrk__alt { margin: 2px 4px 0; font-size: 11.5px; }
.table td.nowrap { white-space: nowrap; }
.tone--muted { background: #ffffff14; color: var(--muted); }
.hrk__ico.tone--accent { background: #0a84ff22; color: var(--accent); }
.hrk__ico.tone--info { background: #5ac8fa26; color: #3aa0c8; }
.hrk__ico.tone--good { background: #30d15822; color: var(--good); }
.hrk__ico.tone--warn { background: #ffb34026; color: var(--warn); }
.hrk__ico.tone--muted { background: #ffffff14; color: var(--muted); }
[data-theme="light"] .hrk__ico.tone--accent { background: #007aff1f; }
[data-theme="light"] .hrk__ico.tone--info { background: #5ac8fa33; color: #1f7fa6; }
[data-theme="light"] .hrk__ico.tone--good { background: #34c75929; }
[data-theme="light"] .hrk__ico.tone--warn { background: #ff95002b; }
[data-theme="light"] .hrk__ico.tone--muted { background: #0f192d0c; }
@media (max-width: 640px) {
  .hrk__ozet { grid-template-columns: 1fr; }
  .hrk__tablo { max-height: calc(100dvh - 340px); }
}
/* Hareketler: satırdaki makbuz kısayolu ve makbuz modalı */
.hrk .table td.hrk__mk { padding-left: 0; padding-right: 6px; width: 1%; }
.act--mini { width: 24px; height: 24px; border-radius: 7px; text-decoration: none; }
.act--mini svg { width: 13px; height: 13px; stroke-width: 2.2; }
.act.tone--good:hover { color: #fff; }
.makbuz-ozet { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #30d15814; }
.makbuz-ozet .hrk__ico { width: 40px; height: 40px; border-radius: 12px; }
.makbuz-ozet .hrk__ico svg { width: 20px; height: 20px; }
.makbuz-ozet b { display: block; font-size: 20px; }
.makbuz-ozet small { color: var(--muted); font-size: 12px; }

/* Stoklar: liste alt satırı, düzenleme formundaki kalan kutusu, hareket açıklaması */
.stk-alt { display: block; font-size: 11px; color: var(--muted); }
.stk-ac { display: block; font-size: 11px; color: var(--muted); }
.hrk__aciklama b { display: block; font-weight: 600; }
.stk-kalan { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--chip, #8881); }
.stk-kalan .hrk__ico { width: 36px; height: 36px; border-radius: 11px; }
.stk-kalan .hrk__ico svg { width: 18px; height: 18px; }
.stk-kalan small { display: block; color: var(--muted); font-size: 11.5px; }
.stk-kalan b { font-size: 18px; }
.stk-kalan .btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }

/* PayTR ödeme linki: mor ikon, sonuç paneli, link listesi */
.tone--violet { background: #af52de26; color: #bf7af0; }
[data-theme="light"] .tone--violet { background: #af52de24; color: #8e3ec2; }
.act.tone--violet:hover { background: #af52de; color: #fff; box-shadow: 0 6px 14px -6px #af52de; }
.paytr-sonuc { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: #30d15812; box-shadow: inset 0 0 0 1px #30d15833; }
.paytr-sonuc__ust { display: flex; align-items: center; gap: 12px; }
.paytr-sonuc__ust .hrk__ico { width: 40px; height: 40px; border-radius: 12px; }
.paytr-sonuc__ust .hrk__ico svg { width: 20px; height: 20px; }
.paytr-sonuc__ust b { display: block; font-size: 20px; }
.paytr-sonuc__ust small { color: var(--muted); font-size: 12.5px; }
.paytr-sonuc__btn { display: flex; gap: 8px; flex-wrap: wrap; }
.paytr-liste { max-height: 260px; overflow: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.paytr-mesaj { display: block; margin-top: 2px; font-size: 11px; white-space: normal; max-width: 260px; }
/* PayTR ödemeleri sayfası: varsayılan banka satırı */
.paytr-banka { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 14px; padding: 14px 16px; }
.paytr-banka label { display: grid; gap: 4px; flex: 0 1 320px; min-width: 0; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.paytr-banka .select { width: 100%; }
.paytr-banka .hint { flex: 1 1 220px; margin: 0; align-self: center; }

/* Tablo satırındaki küçük işlem formu (ör. cari kodu + Tahsilat) */
.row-form { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.row-form .input { width: 110px; }

/* Posta (Destekler düzeni): okunmuş postalar ince, okunmamışlar kalın + nokta */
.thread b { font-weight: 500; }
.thread.is-new b { font-weight: 700; }
.thread__cari { color: var(--accent) !important; }
.thread em .thread__dot { display: block; margin: 6px 0 0 auto; }
.threads__pager { padding: 8px 12px; }
.talk .dl { margin: 0; }
.posta-ekler { display: flex; gap: 6px; flex-wrap: wrap; }
.posta-ek-liste { margin: 0 0 12px 18px; }
/* Posta gövdesi her temada beyaz zeminde gösterilir (gönderenin HTML'i açık renge göre yazılır). */
.posta-icerik { flex: 1; width: 100%; min-height: 520px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.posta-icerik--drawer { flex: none; min-height: 0; height: 60vh; }

/* Sayfa geçişi (app.js): içerik arka planda yüklenirken üstte ince çubuk, içerik hafif soluk */
html.is-nav #main { opacity: .82; transition: opacity .15s ease; pointer-events: none; }
html.is-nav body::after {
  content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 40%; z-index: 9999;
  background: var(--accent, #3b82f6); border-radius: 0 3px 3px 0;
  animation: nav-bar 1s ease-in-out infinite;
}
@keyframes nav-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { html.is-nav body::after { animation: none; width: 100%; opacity: .6; } }

/* Posta yazma penceresi */
.posta-yaz__bilgi summary { cursor: pointer; font-size: 13px; color: var(--muted); width: max-content; }
.posta-yaz__bilgi[open] summary { margin-bottom: 6px; }
.posta-yaz__metin { min-height: 240px; font: 14px/1.5 inherit; }
.chead__tools { flex-wrap: wrap; }

/* Banka Entegrasyonu alt sayfaları */
.banka-sekme { width: max-content; max-width: 100%; overflow-x: auto; margin: 0 0 14px; scrollbar-width: none; }
.banka-sekme a { white-space: nowrap; font-size: 13px; height: 32px; padding: 0 14px; }

/* Başlıklar: yarı kalın (600), sıkı harf aralığı */
h1, .phead h1 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
h2, h3, .chead h2, .modal__head h2, .drawer__head h2 { font-weight: 600; letter-spacing: -.02em; }
.btn { font-weight: 600; }

/* Akınsoft: VKN eşleşmeyen ama ünvanı benzeyen Wolvox carisi uyarısı */
.benzer-cari { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.benzer-cari small { font-size: 12px; }

/* Önemli posta */
.onem-neden { color: var(--warn, #b26a00); font-size: 11.5px; }
.onem-liste { display: flex; flex-direction: column; gap: 2px; }
.onem-liste a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.onem-liste a:last-child { border-bottom: 0; }
.onem-liste small { grid-column: 1 / -1; }

/* Pano hatırlatıcıları: küçük özet kartları */
.hat-bolum { display: flex; flex-direction: column; gap: 10px; }
.hat-bas { display: flex; align-items: center; gap: 10px; }
.hat-bas h2 { margin: 0; font-size: 15px; }
.hat-bas form { margin-left: auto; }
.hat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.hat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; border-radius: 18px; min-width: 0; color: inherit; text-decoration: none; }
.hat__ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.hat__ust > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hat strong { font-size: 24px; letter-spacing: -.03em; font-weight: 650; line-height: 1.2; }
.hat small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hat__is { margin-top: auto; padding-top: 6px; display: flex; }
.hat--bad { background: linear-gradient(180deg, #8a1f1a55, #8a1f1a1c); }
.hat--warn { background: linear-gradient(180deg, #8a5a0a55, #8a5a0a1c); }
.hat--info { background: linear-gradient(180deg, #0a469655, #0a46961c); }
.hat--accent { background: linear-gradient(180deg, #4b2a8a55, #4b2a8a1c); }
a.hat:hover { filter: brightness(1.08); }
[data-theme="light"] .hat--bad { background: #ffe0dc9e; }
[data-theme="light"] .hat--warn { background: var(--tile-3); }
[data-theme="light"] .hat--info { background: var(--tile-1); }
[data-theme="light"] .hat--accent { background: #ebe2ff9e; }
[data-theme="light"] .hat__ust, [data-theme="light"] .hat small { color: #0b1220a8; }

/* Bayiler: fatura kontrol ikonu üzerindeki sorun sayısı */
.act--rozet { position: relative; }
.act--rozet .rozet { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--bad, #e5484d); color: #fff; font: 600 10px/16px var(--font, inherit); font-style: normal; text-align: center; }
.fk__kontrol { margin: 4px 0 0; padding: 0; list-style: none; }
.fk__kontrol li { line-height: 1.35; }
.modal--full { width: min(1480px, 96vw); }
/* Pencere genişliği içerikten de gelir: modal--* sınıfı düşse ya da eski yanıtla gelse bile geniş pencere dar açılmaz. */
.modal:has(> .fk) { width: min(1480px, 100%); }
.modal:has(> .hrk:not(.fk)) { width: min(1120px, 100%); }

/* Tüm pencereler: açılınca içindeki her şey ekrana sığsın (cari hareketler penceresi örnek alındı).
   Pencere ekran dışına taşmaz; gövde kendi içinde dikey kayar; yatayda tablo kendi alanında kayar, sayfa kaymaz. */
.modal { max-width: calc(100vw - 20px); }
.modal__body { min-width: 0; }
.modal__body > *, .modal .form > *, .modal fieldset { min-width: 0; max-width: 100%; }
.modal .table-wrap { max-width: 100%; overflow: auto; }
.modal img, .modal iframe, .modal canvas, .modal video { max-width: 100%; height: auto; }
.modal pre, .modal code { white-space: pre-wrap; overflow-wrap: anywhere; }
.modal .field, .modal .select, .modal textarea { min-width: 0; max-width: 100%; }
.modal .formfoot { flex-wrap: wrap; }
/* Başlık: uzun ad ya da çok düğme (stok hareketleri: Düzenle + PDF + İndir) dar pencerede alt satıra sarılır, yana taşmaz. */
.modal__head { flex-wrap: wrap; }
.modal__head > div:first-child { flex: 1 1 220px; min-width: 0; }
.hrk__tools { flex-wrap: wrap; justify-content: flex-end; }
/* <div data-size> sarmalı (makbuz, PayTR, salt okunur): pencere gibi sütun olsun ki gövde kendi içinde kaysın, alt düğmeler kesilmesin. */
.modal > div[data-size]:not(.hrk) { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
@media (max-width: 760px) {
  .modal-wrap { padding: 10px; }
  .modal, .modal--wide, .modal--xl, .modal--full { width: 100%; max-height: calc(100dvh - 20px); }
  .modal__head { padding: 14px 10px 4px 14px; }
  .modal__body { padding: 6px 12px 10px; }
  .line-edit { grid-template-columns: minmax(0, 1fr) 52px 80px 36px; gap: 6px; }
}

/* Bayi fatura kontrolü: her ekrana sığan pencere, kaydırılan tablo, bilgi açılırı */
.fk { max-height: inherit; }
.fk__body { overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.fk__tablo { flex: 1; min-height: 0; overflow: auto; border-radius: 12px; }
.fk__tablo thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-2, #1b2335); }
[data-theme="light"] .fk__tablo thead th { background: #eef2f8; }
.table--sik td, .table--sik th { padding: 7px 10px; }
.fk__ad { display: inline-block; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.fk__durum { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fk__acts { display: inline-flex; align-items: center; gap: 4px; }
.fk__acts form { display: inline-flex; }
.fk__info { position: relative; }
.fk__info > summary { list-style: none; cursor: pointer; position: relative; }
.fk__info > summary::-webkit-details-marker { display: none; }
.fk__say { position: absolute; top: -5px; right: -5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--bad, #e5484d); color: #fff; font: 600 9px/14px inherit; font-style: normal; text-align: center; }
.fk__pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(360px, 80vw); padding: 10px 12px; border-radius: 12px;
  background: var(--surface, #141b2b); box-shadow: 0 12px 32px #0008, inset 0 0 0 1px #ffffff1a; font-size: 12.5px; }
[data-theme="light"] .fk__pop { background: #fff; box-shadow: 0 12px 32px #0f192d33, inset 0 0 0 1px #0f192d14; }
.fk__pop ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
@media (max-width: 760px) { .fk .hrk__ozet { grid-template-columns: 1fr; } }
/* Fatura kontrol tablosu yatay kaymaz: düzen ekrana değil pencere (tablo alanı) genişliğine göre değişir. */
.fk__tablo { container-type: inline-size; }
.fk__tablo > table { width: 100%; }
@container (max-width: 820px) {
  .fk__tablo table, .fk__tablo thead, .fk__tablo tbody, .fk__tablo tr, .fk__tablo td { display: block; width: 100%; }
  .fk__tablo thead { display: none; }
  .fk__tablo tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid #ffffff14; }
  [data-theme="light"] .fk__tablo tr { border-bottom-color: #0f192d14; }
  .fk__tablo td:first-child { grid-column: 1 / -1; }
  .fk__tablo td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); }
  .fk__tablo td { padding: 2px 4px; text-align: left; box-sizing: border-box; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .fk__tablo table { table-layout: fixed; }
  .fk__durum, .fk__acts, .fk__info { position: static; }
  .fk__info[open] { flex-basis: 100%; }
  .fk__tablo td.num { text-align: left; }
  .fk__ad { max-width: 100%; }
  .fk__pop { position: static; width: auto; margin-top: 6px; box-shadow: inset 0 0 0 1px #ffffff1a; }
}


/* ---------- Pano kart dili (2026-11): nötr yüzey + renkli işaret, büyük rakam + küçük açıklama ----------
   Hatırlatıcılar tümüyle renkli zemin yerine kart yüzeyinde; ton, etiketin önündeki nokta ve üstten hafif bir renk geçişiyle verilir. */
.hat { --ton: var(--accent); }
.hat--bad { --ton: var(--bad); }
.hat--warn { --ton: var(--warn); }
.hat--accent { --ton: #b49cff; }
[data-theme="light"] .hat--accent { --ton: #6a4bd0; }
.hat, [data-theme="light"] .hat {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ton) 16%, transparent), transparent 62%), var(--card);
  padding: 14px 16px 12px; gap: 6px;
}
.hat__ust > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.hat__ust > span:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ton); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ton) 22%, transparent); }
.hat strong { font-size: 26px; }
a.hat { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.hat:hover { filter: none; transform: translateY(-2px); }
a.hat:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Özet kartı (KPI): rakam tek başına tam satır; artış rozeti ve karşılaştırma metni altında aynı satırda. */
.kpi { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
.kpi strong { grid-column: 1 / -1; line-height: 1.15; overflow-wrap: anywhere; }
.kpi small { grid-column: auto; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi strong, .hat strong, .livebox strong, .goal__stats dd, .channels strong, .queue em, .tops .qty { font-variant-numeric: tabular-nums; }

/* Kart içi listeler: satırlar ince çizgiyle ayrılır (destek, kritik stok, çok satanlar, otomasyon özeti). */
.queue li + li, .lows li + li, .tops li + li { padding-top: 12px; border-top: 1px solid var(--line); }
.facts li + li { padding-top: 8px; border-top: 1px solid var(--line); }

/* Tablolar: başlık satırı çizgiyle ayrılır; durum etiketlerinin önünde renk noktası. */
.table thead th { border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table tbody tr:first-child td { border-top: 0; }
.table td .tag:not(.tag--off):not(.tag--neutral) { gap: 5px; }
.table td .tag:not(.tag--off):not(.tag--neutral)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* Telefonda kart başlığı: başlık solda, kısa eylem (bağlantı / ikon düğme) sağda kalır; sığmazsa alt satıra sarılır. */
@media (max-width: 760px) {
  .chead { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .chead > div:first-child { flex: 1 1 160px; min-width: 0; }
}

/* ---------- Kenar menüsü ve alt çubuk (2026-11): sık satırlar, küçük grup başlıkları, görünür kaydırma ----------
   21 öğe 900 px ekrana sığmıyor; gizli kaydırma çubuğu alttaki öğeleri saklıyordu: ince çubuk gösterilir, satırlar sıkılaşır. */
.snav { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.snav::-webkit-scrollbar { display: block; width: 4px; }
.snav::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.snav__group { gap: 2px; }
.snav__item { height: 38px; }
html.is-wide .snav__group, html.is-drawer .snav__group { gap: 2px; }
html.is-wide .snav__item, html.is-drawer .snav__item { height: 36px; border-radius: 12px; gap: 10px; }
html.is-wide .snav__item svg, html.is-drawer .snav__item svg { width: 18px; height: 18px; }
html.is-wide .snav__label, html.is-drawer .snav__label { font-size: 13.5px; font-weight: 600; }
html.is-wide .side__group, html.is-drawer .side__group { padding: 12px 12px 4px; }
html.is-wide .side__group span, html.is-drawer .side__group span { font-size: 10.5px; letter-spacing: .09em; }
html.is-wide .snav__group > .side__group:first-child, html.is-drawer .snav__group > .side__group:first-child { padding-top: 2px; }
.snav__item.is-on svg { color: #fff; }
.snav__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tabbar a, .tabbar button { border-radius: 22px; transition: background .3s var(--ease), color .3s var(--ease); }
.tabbar a:not(.is-on):hover, .tabbar button:not(.is-on):hover { color: var(--ink); }
.tabbar .is-on { box-shadow: inset 0 1px 0 #ffffff40, 0 10px 18px -12px #0a84ff; }

/* ---------- Kırılımlar (2026-11): 761–1180 px arasında ana grafik tam genişlik, yan kartlar altında iki sütun ----------
   1024 px'te grafik kartı 499 px'e sıkışıyordu (yan sütun 340 px sabit). */
@media (min-width: 761px) and (max-width: 1180px) {
  .db-upper, .db-row--2 { grid-template-columns: minmax(0, 1fr); }
  .db-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}

/* ---------- Geçişler: kısa, yumuşak, yalnız transform/opacity ----------
   Kartlar daha kısa mesafeden belirir; hatırlatıcı ve özet kartları sırayla gelir. Hareket azaltma tercihinde app.css sonundaki kural hepsini kapatır. */
@keyframes stamp-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.card { animation-duration: .55s; }
.hat-grid > .hat { animation-delay: calc(var(--i, 0) * 50ms); }
.hat-grid > .hat:nth-child(2) { --i: 1; } .hat-grid > .hat:nth-child(3) { --i: 2; } .hat-grid > .hat:nth-child(4) { --i: 3; } .hat-grid > .hat:nth-child(n+5) { --i: 4; }
.kpi { animation: stamp-in .5s var(--ease) both; }
.kpi:nth-child(2) { animation-delay: .05s; } .kpi:nth-child(3) { animation-delay: .1s; }
.btn, .ibtn, .pill, .chip, .tabs a, .seg button, .act { transition-property: transform, background-color, color, box-shadow, filter, opacity; transition-duration: .25s; transition-timing-function: var(--ease); }
.tabs a::after { transform-origin: left; animation: tab-in .35s var(--ease) both; }
@keyframes tab-in { from { transform: scaleX(.3); opacity: 0; } }

/* Sayfa geçişi ve pencere/çekmece kapanışı (app.js: swap → .is-enter, closeLayers(true) → .is-closing).
   Yalnız opacity/transform; prefers-reduced-motion'da app.css'teki genel kural kapatır. */
@keyframes sayfa-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#main.is-enter { animation: sayfa-in .32s var(--ease) both; }
@keyframes katman-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px) scale(.985); } }
@keyframes cekmece-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(24px); } }
@keyframes perde-out { from { opacity: 1; } to { opacity: 0; } }
.modal-wrap.is-closing { animation: perde-out .18s ease-in both; }
.modal-wrap.is-closing .modal { animation: katman-out .18s ease-in both; }
.drawer.is-closing { animation: cekmece-out .18s ease-in both; }
.veil.is-closing { animation: perde-out .18s ease-in both; }
.modal-wrap.is-closing, .drawer.is-closing, .veil.is-closing { pointer-events: none; }

/* Telefonda tablo → liste satırı (app.js kartTablolar: .table--kart, td[data-label|data-ana|data-acts|data-tick]).
   Yatay kaydırma kalkar; her satır bir kart: üstte ana hücre (ünvan), altında "başlık: değer" çiftleri iki sütun, en altta işlemler. */
@media (max-width: 760px) {
  .table-wrap:has(> .table--kart) { overflow: visible; }
  .table--kart, .table--kart tbody { display: block; width: 100%; }
  .table--kart thead { display: none; }
  .table--kart tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .table--kart tbody tr:first-child { border-top: 0; }
  .table--kart td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .table--kart td.is-wrap { min-width: 0; }
  .table--kart td.t-right, .table--kart td.num { text-align: left; }
  .table--kart td:empty, .table--kart td[data-tick] { display: none; }
  .table--kart td[data-ana], .table--kart td[data-acts], .table--kart td[colspan] { grid-column: 1 / -1; }
  .table--kart td[data-ana] { font-size: 14px; }
  .table--kart td[data-label]:not([data-ana])::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 11px; font-weight: 650; color: var(--muted); }
  .table--kart td[data-acts] .row-acts { justify-content: flex-start; flex-wrap: wrap; }
}

/* Ek kazanç satır detayı (bayi × ay) */
.ek__grup td { background: #ffffff08; padding-top: 10px; }
[data-theme="light"] .ek__grup td { background: #0f192d08; }
.ek__toplam td { font-weight: 600; border-top: 1px solid #ffffff24; }
[data-theme="light"] .ek__toplam td { border-top-color: #0f192d24; }
.hat__is { display: flex; flex-wrap: wrap; gap: 6px; }
@container (max-width: 820px) {
  .fk__tablo tfoot { display: block; width: 100%; }
  .ek__tablo tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ek__tablo .ek__grup { display: block; }
  .ek__toplam td:nth-child(2), .ek__toplam td:nth-child(3) { display: none; }
}

/* Ek kazanç kartı: uzun bayi adı kesilmesin, ay adı görünsün (alt satıra geçer) */
.hat--ek .hat__ust { align-items: flex-start; }
.hat--ek .hat__ust > span:first-child { white-space: normal; overflow: visible; align-items: flex-start; overflow-wrap: anywhere; }
.hat--ek .hat__ust > span:first-child::before { margin-top: 5px; }
.hat--ek .hat__ust > .tag { flex: none; }

/* Ek kazanç: bayi × son 3 ay tablosu ve hakediş analizi penceresi */
.ek-ozet tbody tr { cursor: pointer; }
.ek-hucre { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ek-hucre .tag, .hk-fatura .tag { white-space: nowrap; }
.ek-ozet th { white-space: normal; }
@media (max-width: 1180px) { .ek-ozet td, .ek-ozet th { padding-left: 8px; padding-right: 8px; } }
.fk--kaydir .fk__body { overflow: auto; }
.fk--kaydir .fk__tablo { flex: none; overflow: visible; }
.fk--kaydir .fk__tablo thead th { position: static; }
.ek-ay { border-top: 1px solid #ffffff14; padding-top: 6px; }
[data-theme="light"] .ek-ay { border-top-color: #0f192d14; }
.ek-ay > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0; list-style: none; }
.ek-ay > summary::-webkit-details-marker { display: none; }
.ek-ay > summary::before { content: "▸"; color: var(--muted); transition: transform .15s; }
.ek-ay[open] > summary::before { transform: rotate(90deg); }
@media (max-width: 760px) { .table--kart .ek-hucre { align-items: flex-start; } }

/* Hakediş penceresi: dönem seçimi + ay / tür tablosu */
.hk-donem { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hk-donem__hizli { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-donem__hizli .pill.is-active { background: var(--accent); color: #fff; }
.modal form.hk-donem__aralik, .hk-donem__aralik { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.hk-donem .field.hk-donem__ay { display: inline-block; flex: 0 0 auto; width: 150px; min-width: 0; height: 34px; padding: 4px 8px; font-size: 13px; }
.hk-tablo .hk-ay td { border-top: 1px solid #ffffff1f; padding-top: 10px; }
[data-theme="light"] .hk-tablo .hk-ay td { border-top-color: #0f192d1f; }
.hk-tablo .hk-tur td { color: var(--muted); font-size: 12.5px; padding-top: 3px; padding-bottom: 3px; }
.hk-tablo .hk-tur td:first-child { padding-left: 22px; }
.hk-tablo .hk-toplam td { font-weight: 700; border-top: 2px solid #ffffff2a; }
[data-theme="light"] .hk-tablo .hk-toplam td { border-top-color: #0f192d2a; }
.hk-fatura { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hk-fatura .linkbtn { padding: 0; font-size: 12.5px; }
@container (max-width: 820px) {
  .hk-tablo tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hk-tablo .hk-tur { padding: 2px 0 6px 12px; border-bottom: 0; }
  .hk-tablo .hk-tur td:first-child { padding-left: 4px; }
  .hk-tablo .hk-tur td:last-child, .hk-tablo td[data-label=""]:empty { display: none; }
  .hk-tablo .hk-ay td { border-top: 0; padding-top: 2px; }
  .hk-tablo .hk-ay td:last-child { grid-column: 1 / -1; }
}

/* Bayiler: ay sütunlu tablo 1180 px altında sığmaz → liste satırı (kart) düzeni tablette de */
@media (min-width: 761px) and (max-width: 1180px) {
  .table-wrap:has(> .bayi-tablo.table--kart) { overflow: visible; }
  .bayi-tablo.table--kart, .bayi-tablo.table--kart tbody { display: block; width: 100%; }
  .bayi-tablo.table--kart thead { display: none; }
  .bayi-tablo.table--kart tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .bayi-tablo.table--kart tbody tr:first-child { border-top: 0; }
  .bayi-tablo.table--kart td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .bayi-tablo.table--kart td.t-right, .bayi-tablo.table--kart td.num { text-align: left; }
  .bayi-tablo.table--kart td:empty, .bayi-tablo.table--kart td[data-tick] { display: none; }
  .bayi-tablo.table--kart td[data-ana], .bayi-tablo.table--kart td[data-acts] { grid-column: 1 / -1; }
  .bayi-tablo.table--kart td[data-label]:not([data-ana])::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 11px; font-weight: 650; color: var(--muted); }
  .bayi-tablo.table--kart td[data-acts] .row-acts { justify-content: flex-start; flex-wrap: wrap; }
  .bayi-tablo.table--kart .ek-hucre { align-items: flex-start; }
}

/* ---------- Ortak: uyarı kutusu, metin blokları ---------- */
.alert--warn { background: #ff9f0a22; color: #ffcf86; }
[data-theme="light"] .alert--warn { background: #ff95001f; color: #8a4b00; }
.page > .alert { margin-bottom: 10px; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.btn--danger-text { color: #ff8a82; }
[data-theme="light"] .btn--danger-text { color: #c4261c; }

/* ---------- Lisanslar ---------- */
.lisans-tablo td.is-wrap { min-width: 150px; }
.lisans-tablo td.num { white-space: nowrap; }
.lisans-tablo td .tag { white-space: nowrap; }
/* Kalan gün rengi: satır içi koyu tema renkleri açık temada 1.7–2.7:1 kalıyordu → iki temalı sınıf (tag renkleri) */
.lis-kalan--good { color: #30d158; } .lis-kalan--warn { color: #ffb340; } .lis-kalan--bad { color: #ff6f66; } .lis-kalan--off { color: var(--muted); }
[data-theme="light"] .lis-kalan--good { color: #18753a; } [data-theme="light"] .lis-kalan--warn { color: #975400; } [data-theme="light"] .lis-kalan--bad { color: #c4261c; }
/* 9 sütun en az ≈1000 px ister: 1024'te alan 841, 820'de 637 (tablo 1001) → 1200 px altında kart düzeni */
@media (min-width: 761px) and (max-width: 1200px) {
  .table-wrap:has(> .lisans-tablo.table--kart) { overflow: visible; }
  .lisans-tablo.table--kart, .lisans-tablo.table--kart tbody { display: block; width: 100%; }
  .lisans-tablo.table--kart thead { display: none; }
  .lisans-tablo.table--kart tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .lisans-tablo.table--kart tbody tr:first-child { border-top: 0; }
  .lisans-tablo.table--kart td { display: block; padding: 0; border: 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .lisans-tablo.table--kart td:empty { display: none; }
  .lisans-tablo.table--kart td[data-ana] { grid-column: 1 / -2; grid-row: 1; }
  .lisans-tablo.table--kart td[data-acts] { grid-column: -2 / -1; grid-row: 1; }
  .lisans-tablo.table--kart td:nth-child(2) { grid-column: span 2; }
  .lisans-tablo.table--kart td[data-label]:not([data-ana])::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 11px; font-weight: 650; color: var(--muted); }
  .lisans-tablo.table--kart td[data-acts] .row-acts { justify-content: flex-end; }
}
/* Telefonda is-wrap 150 px genel kart kuralını (min-width 0) eziyordu: Müşteri 149 px, sütun 141 px */
@media (max-width: 760px) {
  .lisans-tablo.table--kart td { min-width: 0; }
  .lisans-tablo.table--kart td:nth-child(2) { grid-column: 1 / -1; }
}
.lis-ent { display: flex; flex-direction: column; gap: 10px; }
.lis-ent label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.lis-ent__row { display: flex; gap: 6px; min-width: 0; }
.lis-ent__row .field { flex: 1; min-width: 0; font-size: 12.5px; }
.lis-ent .hint { margin: 0; }
.lis-ent > .btn { align-self: flex-start; }
.lis-log li { grid-template-columns: minmax(92px, max-content) minmax(0, 1fr) auto; }
/* Kategoriler penceresi (wide, 680 px alan): 7 sütun is-wrap 220 px ile 739 px oluyordu → 150 px */
.lis-kat td.is-wrap { min-width: 150px; }
.lis-log em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.lis-blok { display: block; }
.lis-sayfa { margin-right: auto; align-self: center; font-size: 13px; }

/* ---------- Destekler ---------- */
.hizli { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.hizli__cariler { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.hizli__cari {
  display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; cursor: pointer;
  padding: 9px 11px; border-radius: 14px; border: 1px solid var(--line); background: #ffffff08; color: inherit; font: inherit;
}
.hizli__cari b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hizli__cari small { color: var(--muted); font-size: 12px; }
.hizli__cari:hover { border-color: #0a84ff66; }
.hizli__cari.is-on { background: #0a84ff26; border-color: #0a84ff; }
[data-theme="light"] .hizli__cari { background: #ffffffb0; }
[data-theme="light"] .hizli__cari.is-on { background: #007aff1a; }
.hizli__form { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.hizli__form label { display: block; min-width: 0; }
.hizli__form .select, .hizli__form .field { width: 100%; }
.hizli__form .btn { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hizli__acik .list { margin-top: 0; }
.hizli__acik .list li > div { min-width: 0; }
.hizli__acik .list small { overflow-wrap: anywhere; }
.hizli__acik .hint { margin: 0; }
/* Tablo 1440 px'te 1364 px'ti (alan 1257): is-wrap 220 px'lik üç sütun daraltıldı */
.destek-tablo td.is-wrap { min-width: 180px; }
.destek-tablo td.destek-konu { min-width: 200px; max-width: 320px; }
.destek-tablo td.destek-soz { min-width: 120px; }
.destek-tablo .who .av { flex: none; }
.destek-tablo .who > div { min-width: 0; }
.secim { border: 0; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.secim legend { font-size: 13px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.secim .check { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
/* 9 sütun 1400 px altında sığmaz (1300 px: tablo 1226, alan 1117) → liste satırı (kart) düzeni tablette de (Bayiler'deki gibi) */
@media (min-width: 761px) and (max-width: 1400px) {
  .table-wrap:has(> .destek-tablo.table--kart) { overflow: visible; }
  .destek-tablo.table--kart, .destek-tablo.table--kart tbody { display: block; width: 100%; }
  .destek-tablo.table--kart thead { display: none; }
  .destek-tablo.table--kart tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .destek-tablo.table--kart tbody tr:first-child { border-top: 0; }
  .destek-tablo.table--kart td { display: block; padding: 0; border: 0; min-width: 0; max-width: none; white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .destek-tablo.table--kart td:empty { display: none; }
  .destek-tablo.table--kart td[data-ana] { grid-column: 1 / -1; }
  .destek-tablo.table--kart td[data-acts] { grid-column: span 2; align-self: end; }
  .destek-tablo.table--kart td[data-label]:not([data-ana])::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 11px; font-weight: 650; color: var(--muted); }
  .destek-tablo.table--kart td[data-acts] .row-acts { justify-content: flex-end; flex-wrap: wrap; }
}
/* "Tamamlandı · ödeme bekliyor" 142 px'lik hücrede iki satıra bölünüp 24 px'lik hapın dışına taşıyordu → Durum iki sütun */
.destek-tablo td .tag { white-space: nowrap; }
@media (max-width: 1400px) {
  .destek-tablo.table--kart tbody tr { grid-auto-flow: row dense; }
  .destek-tablo.table--kart td:has(> .who), .destek-tablo.table--kart td.destek-konu, .destek-tablo.table--kart td:has(> .tag) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .destek-tablo.table--kart td:has(> .who), .destek-tablo.table--kart td.destek-konu, .destek-tablo.table--kart td:has(> .tag) { grid-column: 1 / -1; }
  /* 13 cari 2 sütunda 7 satır (≈450 px) tutuyordu → iki satırlık yatay şerit, sonraki kutu ucu görünür */
  .hizli__cariler { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }
  .hizli__cari { scroll-snap-align: start; }
  .hizli__form { grid-template-columns: 1fr; }
  .hizli__form .btn { max-width: none; }
  .destek-tablo.table--kart td { min-width: 0; max-width: none; }
  .hizli__acik .list li { grid-template-columns: auto minmax(0, 1fr); }
  .hizli__acik .list li .row-acts { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Banka hareketleri: Cari sütunundaki arama kutusu — liste tablo kaydırma alanında kesilmesin diye satır içinde açılır */
.ziraat-cari { min-width: 240px; }
.ziraat-cari .cari-ara__list { position: static; margin-top: 4px; }
.ziraat-cari small { display: block; margin-top: 2px; }


/* Mail ve WhatsApp ayarları */
.mailayar { display: contents; }
.mailayar__deneme { display: flex; flex-wrap: wrap; gap: 8px; }
.mailayar__deneme form { display: contents; }
.mailayar__deneme .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* Mail ve WhatsApp ayarları */
.mailayar { display: contents; }
.mailayar__deneme { display: flex; flex-wrap: wrap; gap: 8px; }
.mailayar__deneme form { display: contents; }
.mailayar__deneme .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* PIN kilidi */
.pin-alani { letter-spacing: .5em; text-align: center; font-size: 22px; }
.gate__alt { margin-top: 14px; text-align: center; }
.gate__alt .link { background: none; border: 0; cursor: pointer; color: var(--muted); font: inherit; text-decoration: underline; }
.pin-liste { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 6px; }

.mailayar__alt { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 800; }

/* ===== İş durumu · plan formu ===== */
.job__plan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.job__plan label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.job__plan .field { width: 190px; max-width: 100%; height: 34px; }
.job__plan small { flex-basis: 100%; }
.job__acik input { width: 16px; height: 16px; }

/* ===== Akınsoft · demo talepleri ===== */
.demo-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.demo-kart { --ton: var(--muted); position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr) 260px; gap: 18px; align-items: start; padding: 16px 18px; overflow: hidden; }
.demo-kart::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ton); }
.demo-kart--warn { --ton: var(--warn); } .demo-kart--info { --ton: var(--accent); } .demo-kart--good { --ton: var(--good); } .demo-kart--neutral { --ton: var(--line-2); }
.demo-kart__tarih { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: color-mix(in srgb, var(--ton) 12%, transparent); text-align: center; }
.demo-kart__tarih strong { font-size: 24px; font-weight: 800; line-height: 1; }
.demo-kart__tarih span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.demo-kart__tarih small { font-size: 12px; color: var(--muted); }
.demo-kart__tarih .tag { margin-top: 4px; font-style: normal; }
.demo-kart__ana { min-width: 0; display: grid; gap: 6px; }
.demo-kart__bas { margin: 0; font-size: 15.5px; min-width: 0; overflow-wrap: anywhere; }
.demo-kart__alt { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--ink-2); }
.demo-kart__alt .link { overflow-wrap: anywhere; }
.demo-kart__istek { margin: 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.demo-kart__cevap summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.demo-kart__cevap p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.demo-kart__yan { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.demo-kart__bayi { display: grid; gap: 1px; min-width: 0; }
.demo-kart__bayi b { font-size: 14px; overflow-wrap: anywhere; }
.demo-kart__is { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-kart__uyari { font-size: 12.5px; }
@media (max-width: 1100px) { .demo-kart { grid-template-columns: 70px minmax(0, 1fr); } .demo-kart__yan { grid-column: 2; } }
@media (max-width: 560px) {
  .demo-kart { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .demo-kart__tarih { grid-auto-flow: column; justify-content: start; gap: 8px; align-items: baseline; padding: 6px 10px; }
  .demo-kart__tarih strong { font-size: 18px; }
  .demo-kart__yan { grid-column: auto; }
}

/* ===== Pano · brüt kâr ===== */
.delta--down { color: #ffb4ae; background: #00000040; }
[data-theme="light"] .delta--down { color: #b42318; background: #ffffffd9; }
.delta--flat { color: var(--muted); background: #00000026; }
[data-theme="light"] .delta--flat { background: #ffffffb3; }
.db-not { margin: 10px 2px 0; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ===== Nexo logosu: açık temada mavi, koyu temada beyaz ===== */
.logo--koyu { display: none; }
[data-theme="dark"] .logo--acik { display: none; }
[data-theme="dark"] .logo--koyu { display: inline-block; }
.brand__mark img { width: 26px; height: auto; display: block; }
.brand__yazi img { height: 22px; width: auto; display: block; }
.brand__yazi .logo--koyu { display: none; }
[data-theme="dark"] .brand__yazi .logo--acik { display: none; }
[data-theme="dark"] .brand__yazi .logo--koyu { display: block; }
.gate__logo { display: block; }
.gate__logo img { height: 44px; width: auto; }
.nx-kim h2 { line-height: 0; }
.nx-kim h2 img { height: 22px; width: auto; }

/* ===== Pano · Nexo asistan kartı (otomatik işler + hatırlatmalar, tek akış) ===== */
.nx-ai { --c: var(--accent); container-type: inline-size; position: relative; overflow: hidden; }
.nx-ai[data-durum="basarili"] { --c: var(--good); }
.nx-ai[data-durum="hata"] { --c: var(--bad); }
.nx-ai::before { content: ""; position: absolute; inset: -45% auto auto -12%; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 16%, transparent), transparent); transition: background .6s; }
.nx-ai__ic { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); grid-template-areas: "sol orta sag"; gap: 26px; align-items: start; margin-top: 18px; }
.nx-akis--sol { grid-area: sol; } .nx-orta { grid-area: orta; } .nx-akis--sag { grid-area: sag; }

/* orta: yüz, ad, bugünün üç sayısı */
.nx-orta { display: grid; gap: 12px; justify-items: center; }
.nx-core { position: relative; width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #0d2340, #071222 70%);
  box-shadow: 0 0 0 1px #0a84ff40, 0 0 60px -10px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 50px -10px color-mix(in srgb, var(--c) 45%, transparent); transition: box-shadow .6s; }
.nx-core svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nx-r { fill: none; stroke: var(--c); transform-origin: 140px 140px; transition: stroke .6s; }
.nx-r--tick { stroke-width: 6; stroke-dasharray: 1.2 7.6; opacity: .55; animation: nxDon 60s linear infinite; }
.nx-r--arc { stroke-width: 2.5; stroke-dasharray: 120 40 30 40 200 60; opacity: .85; animation: nxDon 18s linear infinite reverse; }
.nx-r--arc2 { stroke-width: 1.2; stroke-dasharray: 4 6; opacity: .5; animation: nxDon 30s linear infinite; }
.nx-r--prog { stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); stroke-dasharray: 0 999; transition: stroke-dasharray .8s var(--ease), stroke .6s; }
.nx-ai[data-durum="calisiyor"] .nx-r--arc { animation-duration: 4s; }
.nx-ai[data-durum="calisiyor"] .nx-r--tick { animation-duration: 14s; }
.nx-ai[data-durum="calisiyor"] .nx-r--prog { stroke-dasharray: 160 620; animation: nxDon2 1.6s linear infinite; }
.nx-scan { fill: url(#nx-tarama); opacity: 0; transform-origin: 140px 140px; }
.nx-ai[data-durum="calisiyor"] .nx-scan { opacity: 1; animation: nxDon 2.4s linear infinite; }
@keyframes nxDon { to { transform: rotate(360deg); } }
@keyframes nxDon2 { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.nx-face { position: absolute; inset: 27%; display: grid; place-items: center; }
.nx-eyes { display: flex; gap: 26%; width: 100%; justify-content: center; margin-top: 8%; }
.nx-eye { width: 22%; aspect-ratio: 1 / 1.35; border-radius: 40%; background: var(--c); box-shadow: 0 0 18px var(--c), 0 0 4px #fff inset; animation: nxKirp 6s infinite;
  transition: background .6s, box-shadow .6s, border-radius .4s, transform .4s; }
.nx-ai[data-durum="basarili"] .nx-eye { border-radius: 50% 50% 0 0 / 70% 70% 0 0; transform: scaleY(.55) translateY(20%); animation: none; }
.nx-ai[data-durum="hata"] .nx-eye { transform: scaleY(.5) rotate(var(--egim, 0deg)); animation: none; }
.nx-ai[data-durum="hata"] .nx-eye:first-child { --egim: 12deg; }
.nx-ai[data-durum="hata"] .nx-eye:last-child { --egim: -12deg; }
.nx-ai[data-durum="calisiyor"] .nx-eye { animation: nxBak 2.4s var(--ease) infinite; }
@keyframes nxKirp { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.08); } }
@keyframes nxBak { 0%, 100% { transform: translateX(-18%); } 50% { transform: translateX(18%); } }
.nx-mouth { display: flex; align-items: center; justify-content: center; gap: 5%; height: 26%; width: 62%; }
.nx-mouth i { width: 6%; height: 14%; border-radius: 4px; background: var(--c); opacity: .9; transition: height .12s, background .6s; }

.nx-kim { display: flex; align-items: center; gap: 8px; }
.nx-kim h2 { margin: 0; font-size: 20px; font-weight: 800; }
.nx-canli { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  padding: 2px 9px; border-radius: 999px; transition: color .6s, border-color .6s; white-space: nowrap; }
.nx-canli::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: nxNabiz 1.8s infinite; }
@keyframes nxNabiz { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.nx-ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; border: 1px solid var(--line); border-radius: 14px; }
.nx-ozet div { padding: 8px 6px; text-align: center; min-width: 0; }
.nx-ozet div + div { border-left: 1px solid var(--line); }
.nx-ozet dt { order: 2; font-size: 12px; color: var(--muted); }
.nx-ozet dd { margin: 0; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-ozet div { display: flex; flex-direction: column-reverse; }
.nx-ozet .is-bad dd { color: var(--bad); }
/* tutar uzun olabilir: üstte tam genişlik, işlem ve hata altında yan yana */
.nx-ozet { grid-template-columns: 1fr 1fr; }
.nx-ozet div:nth-child(2) { grid-column: 1 / -1; order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
.nx-ozet div:nth-child(2) dd { font-size: 19px; }
.nx-ozet div:nth-child(3) { border-left: 1px solid var(--line); }
.nx-ozet div:first-child { border-left: 0; }

/* en üst: Nexo ne yapıyor / ne söylüyor */
.nx-soz { position: relative; margin: 0 auto; max-width: 820px; text-align: center; padding: 14px 20px; border-radius: 18px; font-size: clamp(16px, 1.8vw, 20px); font-weight: 600; line-height: 1.4; min-height: 3.6em;
  background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); transition: background .6s, border-color .6s; }
.nx-soz::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg);
  background: inherit; border-right: 1px solid color-mix(in srgb, var(--c) 28%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.nx-soz { background: color-mix(in srgb, var(--c) 10%, var(--card)); }
.nx-imlec { display: inline-block; width: .5em; height: 1em; vertical-align: -.12em; margin-left: 2px; background: var(--c); animation: nxYanip 1s steps(1) infinite; }
@keyframes nxYanip { 50% { opacity: 0; } }

.nx-akis { list-style: none; margin: 0; padding: 0; position: relative; }
.nx-akis::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 18px; width: 2px; background: var(--line-2); border-radius: 2px; }
.nx-baslik { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0 6px 44px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nx-baslik:first-child { padding-top: 0; }
.nx-baslik form { margin: 0; }
.nx-baslik .link { text-transform: none; letter-spacing: 0; font-weight: 600; }
.nx-oge { --ton: var(--good); position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 8px 7px 0; border-radius: 12px; transition: background .3s; }
.nx-oge__ikon { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ton);
  background: var(--card); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ton) 55%, transparent), 0 0 0 4px var(--card); }
.nx-oge__ikon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--ton) 14%, transparent); }
.nx-oge__ikon svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.nx-oge__metin { min-width: 0; }
.nx-oge__metin b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; min-width: 0; }
.nx-oge__metin b .tag { flex: none; }
.nx-oge__metin small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-oge--olay .nx-oge__metin b { display: block; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-oge strong { font-size: 15px; font-weight: 800; white-space: nowrap; }
.nx-oge form { margin: 0; }
.nx-oge > form, .nx-oge > a { grid-column: 2 / -1; justify-self: start; margin-top: -2px; }
.nx-oge--info { --ton: var(--accent); } .nx-oge--warn { --ton: var(--warn); } .nx-oge--bad { --ton: var(--bad); } .nx-oge--accent { --ton: #b49cff; }
[data-theme="light"] .nx-oge--accent { --ton: #6a4bd0; }
.nx-oge--bos { --ton: var(--muted); }
.nx-oge.is-okunan { background: color-mix(in srgb, var(--ton) 11%, transparent); }
.nx-oge.is-yeni { animation: nxGir .6s var(--ease); }
@keyframes nxGir { from { opacity: 0; transform: translateY(-6px); } }
.nx-dip { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.nx-dip b { color: var(--ink-2); font-weight: 600; }

@container (max-width: 980px) {
  .nx-ai__ic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "orta orta" "sol sag"; gap: 18px 22px; }
  .nx-orta { grid-template-columns: auto auto; align-items: center; justify-content: center; column-gap: 18px; }
  .nx-core { max-width: 150px; grid-row: span 2; }
  .nx-kim { justify-self: start; }
  .nx-ozet { width: 260px; }
}
@container (max-width: 600px) {
  .nx-ai__ic { grid-template-columns: 1fr; grid-template-areas: "orta" "sol" "sag"; }
  .nx-orta { grid-template-columns: 1fr; justify-items: center; }
  .nx-core { grid-row: auto; max-width: 150px; }
  .nx-kim { justify-self: center; }
  .nx-ozet { width: 100%; }
  .nx-oge__metin small { white-space: normal; }
}

/* ===== Arka plan seçenekleri (html[data-arka]; boş = "kure", şu anki küreler) =====
   Hesap menüsü → Arka plan. Tercih tarayıcıda "nexo-arka" olarak saklanır (boot.js sayfa boyanmadan uygular). */
html[data-arka]:not([data-arka="kure"]) .orb { display: none; }
.bg::before, .bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }

/* 2 · Kutup ışığı */
html[data-arka="aurora"] .bg { background: #050a14; }
html[data-arka="aurora"] .bg::before {
  inset: -25%;
  background:
    radial-gradient(38% 30% at 22% 30%, #1d6bff66, transparent 70%),
    radial-gradient(34% 28% at 72% 22%, #7b3cff55, transparent 70%),
    radial-gradient(40% 32% at 60% 78%, #00c2a855, transparent 70%),
    radial-gradient(30% 26% at 18% 82%, #0aa2ff44, transparent 70%);
  filter: blur(40px); animation: arkaSuz 28s ease-in-out infinite alternate;
}
[data-theme="light"][data-arka="aurora"] .bg { background: #eef3fa; }
[data-theme="light"][data-arka="aurora"] .bg::before {
  background:
    radial-gradient(38% 30% at 22% 30%, #7fb2ffcc, transparent 70%),
    radial-gradient(34% 28% at 72% 22%, #c7a8ffcc, transparent 70%),
    radial-gradient(40% 32% at 60% 78%, #86e3cdcc, transparent 70%),
    radial-gradient(30% 26% at 18% 82%, #9fd4ffbb, transparent 70%);
}
@keyframes arkaSuz { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(4%, -3%) rotate(8deg) scale(1.06); } 100% { transform: translate(-4%, 3%) rotate(-6deg) scale(1.02); } }

/* 3 · Izgara */
html[data-arka="izgara"] .bg { background: radial-gradient(80% 60% at 50% -10%, #0b2f63 0%, #050b17 55%, #04070d 100%); }
html[data-arka="izgara"] .bg::before {
  background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%);
}
html[data-arka="izgara"] .bg::after { background: radial-gradient(40% 30% at 50% 0%, #2f8cff33, transparent 70%); }
[data-theme="light"][data-arka="izgara"] .bg { background: radial-gradient(80% 60% at 50% -10%, #d3e4ff 0%, #eef3f9 55%, #f4f6fa 100%); }
[data-theme="light"][data-arka="izgara"] .bg::before { background-image: linear-gradient(#0f1e3c12 1px, transparent 1px), linear-gradient(90deg, #0f1e3c12 1px, transparent 1px); }
[data-theme="light"][data-arka="izgara"] .bg::after { background: radial-gradient(40% 30% at 50% 0%, #6aa8ff2e, transparent 70%); }

/* 4 · Renk ağı */
html[data-arka="ag"] .bg {
  background:
    radial-gradient(55% 50% at 8% 12%, #0b3f8a 0%, transparent 60%),
    radial-gradient(45% 45% at 92% 8%, #3b1466 0%, transparent 60%),
    radial-gradient(55% 55% at 85% 95%, #05524f 0%, transparent 60%),
    radial-gradient(40% 40% at 15% 92%, #12305e 0%, transparent 60%),
    #04070d;
}
[data-theme="light"][data-arka="ag"] .bg {
  background:
    radial-gradient(55% 50% at 8% 12%, #b3d1ff 0%, transparent 60%),
    radial-gradient(45% 45% at 92% 8%, #dcc6ff 0%, transparent 60%),
    radial-gradient(55% 55% at 85% 95%, #ade9d5 0%, transparent 60%),
    radial-gradient(40% 40% at 15% 92%, #c6e0ff 0%, transparent 60%),
    #f2f5fa;
}

/* 5 · Devre */
html[data-arka="devre"] .bg { background: radial-gradient(90% 70% at 70% 0%, #082348 0%, #050b17 50%, #04070d 100%); }
html[data-arka="devre"] .bg::before {
  opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' fill='none' stroke='%2346d2ff' stroke-width='1' stroke-opacity='.45'%3E%3Cpath d='M10 40h50l20 20h60M140 60v40l20 20h50M30 110h40l15-15h45M70 160h30l20 20h80M160 10v30M20 200h40l20-20'/%3E%3Cg fill='%2346d2ff' fill-opacity='.45' stroke='none'%3E%3Ccircle cx='10' cy='40' r='2.5'/%3E%3Ccircle cx='140' cy='60' r='2.5'/%3E%3Ccircle cx='210' cy='120' r='2.5'/%3E%3Ccircle cx='30' cy='110' r='2.5'/%3E%3Ccircle cx='130' cy='95' r='2.5'/%3E%3Ccircle cx='200' cy='180' r='2.5'/%3E%3Ccircle cx='160' cy='10' r='2.5'/%3E%3Ccircle cx='20' cy='200' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #0008 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #0008 60%, transparent 100%);
}
html[data-arka="devre"] .bg::after { background: radial-gradient(35% 30% at 85% 10%, #1d6bff33, transparent 70%), radial-gradient(30% 30% at 10% 90%, #00c2a822, transparent 70%); }
[data-theme="light"][data-arka="devre"] .bg { background: radial-gradient(90% 70% at 70% 0%, #d6e7ff 0%, #eef3f9 50%, #f4f6fa 100%); }
[data-theme="light"][data-arka="devre"] .bg::before { opacity: .8; filter: hue-rotate(10deg) saturate(1.4) brightness(.55); }
[data-theme="light"][data-arka="devre"] .bg::after { background: radial-gradient(35% 30% at 85% 10%, #8fbaff40, transparent 70%), radial-gradient(30% 30% at 10% 90%, #9de8d640, transparent 70%); }

/* 6 · Yıldızlı (açık temada ince nokta deseni) */
html[data-arka="yildiz"] .bg { background: radial-gradient(120% 90% at 50% 110%, #0d1f45 0%, #060b18 45%, #03050b 100%); }
html[data-arka="yildiz"] .bg::before {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffffcc 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 80px, #ffffff99 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 200px 150px, #bfe6ffcc 50%, transparent 51%),
    radial-gradient(1px 1px at 60px 190px, #ffffff80 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 260px 40px, #ffffffaa 50%, transparent 51%);
  background-size: 300px 220px;
  animation: arkaPirilti 6s ease-in-out infinite alternate;
}
html[data-arka="yildiz"] .bg::after {
  background-image: radial-gradient(1px 1px at 50px 60px, #ffffff70 50%, transparent 51%), radial-gradient(1px 1px at 170px 120px, #ffffff55 50%, transparent 51%);
  background-size: 210px 170px; opacity: .7;
}
@keyframes arkaPirilti { from { opacity: .65; } to { opacity: 1; } }
[data-theme="light"][data-arka="yildiz"] .bg { background: linear-gradient(160deg, #eef3fa 0%, #f6f4f0 100%); }
[data-theme="light"][data-arka="yildiz"] .bg::before {
  background-image: radial-gradient(#0f1e3c1f 1px, transparent 1.4px); background-size: 22px 22px; animation: none; opacity: 1;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 30%, #000 40%, transparent 100%); mask-image: radial-gradient(90% 80% at 50% 30%, #000 40%, transparent 100%);
}
[data-theme="light"][data-arka="yildiz"] .bg::after { background: radial-gradient(40% 35% at 80% 10%, #cfe0ff80, transparent 70%); background-image: none; }

/* Hesap menüsündeki seçici: küçük renk örnekleri */
.menu__arka { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 4px 10px 8px; }
.menu__arka button { position: relative; aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--line-2); cursor: pointer; padding: 0; overflow: hidden; }
.menu__arka button.is-on { outline: 2px solid var(--accent); outline-offset: 1px; }
.menu__arka [data-arka-choice="kure"] { background: radial-gradient(circle at 30% 70%, #3b93ff 0 22%, transparent 24%), radial-gradient(circle at 78% 22%, #ffbf4d 0 16%, transparent 18%), var(--wall); }
.menu__arka [data-arka-choice="aurora"] { background: radial-gradient(60% 50% at 25% 30%, #1d6bffaa, transparent), radial-gradient(60% 50% at 75% 70%, #00c2a8aa, transparent), radial-gradient(50% 40% at 80% 20%, #7b3cffaa, transparent), #050a14; }
.menu__arka [data-arka-choice="izgara"] { background: linear-gradient(#ffffff22 1px, transparent 1px) 0 0 / 7px 7px, linear-gradient(90deg, #ffffff22 1px, transparent 1px) 0 0 / 7px 7px, radial-gradient(80% 60% at 50% 0%, #0b2f63, #04070d); }
.menu__arka [data-arka-choice="ag"] { background: radial-gradient(70% 60% at 0% 0%, #0b3f8a, transparent 70%), radial-gradient(60% 60% at 100% 0%, #3b1466, transparent 70%), radial-gradient(70% 70% at 100% 100%, #05524f, transparent 70%), #04070d; }
.menu__arka [data-arka-choice="devre"] { background: linear-gradient(90deg, transparent 45%, #46d2ff88 46% 50%, transparent 51%) 0 6px / 100% 30% no-repeat, linear-gradient(transparent 45%, #46d2ff88 46% 50%, transparent 51%) 12px 0 / 30% 100% no-repeat, radial-gradient(90% 70% at 70% 0%, #082348, #04070d); }
.menu__arka [data-arka-choice="yildiz"] { background: radial-gradient(1px 1px at 6px 8px, #fff, transparent 60%), radial-gradient(1px 1px at 18px 14px, #fff, transparent 60%), radial-gradient(1px 1px at 12px 22px, #bfe6ff, transparent 60%), radial-gradient(120% 90% at 50% 110%, #0d1f45, #03050b); }
[data-theme="light"] .menu__arka [data-arka-choice="aurora"] { background: radial-gradient(60% 50% at 25% 30%, #9cc4ff, transparent), radial-gradient(60% 50% at 75% 70%, #a8ecdc, transparent), radial-gradient(50% 40% at 80% 20%, #d6c2ff, transparent), #eef3fa; }
[data-theme="light"] .menu__arka [data-arka-choice="izgara"] { background: linear-gradient(#0f1e3c22 1px, transparent 1px) 0 0 / 7px 7px, linear-gradient(90deg, #0f1e3c22 1px, transparent 1px) 0 0 / 7px 7px, radial-gradient(80% 60% at 50% 0%, #d3e4ff, #f4f6fa); }
[data-theme="light"] .menu__arka [data-arka-choice="ag"] { background: radial-gradient(70% 60% at 0% 0%, #cfe2ff, transparent 70%), radial-gradient(60% 60% at 100% 0%, #eadcff, transparent 70%), radial-gradient(70% 70% at 100% 100%, #cdf3e6, transparent 70%), #f4f6fb; }
[data-theme="light"] .menu__arka [data-arka-choice="devre"] { background: linear-gradient(90deg, transparent 45%, #3a7bd588 46% 50%, transparent 51%) 0 6px / 100% 30% no-repeat, linear-gradient(transparent 45%, #3a7bd588 46% 50%, transparent 51%) 12px 0 / 30% 100% no-repeat, radial-gradient(90% 70% at 70% 0%, #d6e7ff, #f4f6fa); }
[data-theme="light"] .menu__arka [data-arka-choice="yildiz"] { background: radial-gradient(#0f1e3c33 1px, transparent 1.4px) 0 0 / 6px 6px, linear-gradient(160deg, #eef3fa, #f6f4f0); }
