/* OlimPOS — görünüş ("Xəzər").
   Dərin petrol-göy menyu, firuzəyi vurğu, dumanlı açıq fon. Yadda qalan tək element: banknot naxışlı (gilyoş)
   kassa kartı; qalan hər şey sakitdir. Rəqəmlər ayrıca şriftlə (Bahnschrift) yazılır ki, sütunda düz düzülsün.
   Rənglərin mənası: firuzəyi = əsas əməl, yaşıl = daxil olan pul, göy = nağdsız, kəhrəba = xəbərdarlıq/xərc,
   nar qırmızısı = borc, gecikmə, ləğv. İnternetsiz də eyni görünsün deyə yalnız sistemin öz şriftləri işlədilir. */

:root {
  --derin: #082a33;            /* menyu, kassa kartı */
  --derin2: #0d3f4b;
  --firuze: #17b3a3;           /* vurğu */
  --firuze-tund: #0d8b7f;      /* əsas əməl, keçidlər */
  --firuze-fon: #dff5f1;
  --firuze-halqa: rgba(23, 179, 163, .28);

  --kagiz: #eef3f4;            /* səhifənin fonu */
  --vereq: #ffffff;            /* kartlar, cədvəllər */
  --bas-fon: #f4f8f8;          /* cədvəl başlığı */
  --boz-fon: #e6eeef;
  --cizgi: #dbe5e7;
  --cizgi-tund: #c3d2d5;
  --murekkeb: #0c2329;         /* əsas mətn */
  --murekkeb-aciq: #3f5a61;
  --solgun: #6c858b;
  --solgun2: #9fb2b6;

  --yasil: #1b8f5a; --yasil-tund: #136b43; --yasil-fon: #e2f4ea; --yasil-cizgi: #b4e0c8;
  --qirmizi: #c8354f; --qirmizi-tund: #a3233b; --qirmizi-fon: #fdecef; --qirmizi-cizgi: #f3c6ce;
  --marker: #c9871f; --marker-metn: #8a5a0d; --marker-fon: #fbf1dc; --marker-cizgi: #efd9a8;
  --goy: #2f6fd0; --goy-fon: #e5eefb;
  --benovse: #6a55c9; --benovse-fon: #ece8fa;

  /* köhnə adlar (şablonlarda işlənir) */
  --esas: var(--firuze-tund); --esas-tund: #0a6f66; --esas-fon: var(--firuze-fon);

  --metn-sirift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --basliq-sirift: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --reqem-sirift: Bahnschrift, "DIN Alternate", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;

  --r: 10px;
  --r-boyuk: 16px;
  --kolge-kicik: 0 1px 0 rgba(12, 35, 41, .03);
  --kolge: 0 2px 4px rgba(12, 35, 41, .05), 0 14px 32px -12px rgba(12, 35, 41, .22);
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0; background: var(--kagiz); color: var(--murekkeb);
  font-family: var(--metn-sirift); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: var(--basliq-sirift); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 1.72rem; margin: 0; }
h2 { font-size: 1.1rem; margin: 0 0 14px; letter-spacing: -.01em; }
a { color: var(--firuze-tund); text-decoration: none; font-weight: 500; }
a:hover { color: var(--esas-tund); text-decoration: underline; text-underline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--cizgi); margin: 18px 0; }
ul { padding-left: 20px; margin: 8px 0 14px; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--firuze); outline-offset: 2px; border-radius: 4px; }

/* ikonlar: iki qat (açıq dolğu + cizgi) */
.ik { width: 20px; height: 20px; flex: 0 0 20px; }
.ik-f { fill: currentColor; stroke: none; opacity: .2; }

/* ---------- Çərçivə və menyu ---------- */
.qabiq { display: flex; min-height: 100vh; }
.menyu {
  width: 252px; flex: 0 0 252px; color: #b9d0d4; padding: 0 14px 14px;
  background: linear-gradient(180deg, var(--derin) 0%, #0a3540 100%);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.menyu a.menyu-bas, .menyu-bas {
  display: flex; align-items: center; gap: 12px; padding: 22px 8px 18px; margin: 0; color: #fff; background: none; box-shadow: none;
}
.menyu-bas > span:last-child { font-family: var(--reqem-sirift); font-size: 1.27rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.menyu-bas small { display: block; font-family: var(--metn-sirift); font-size: .77rem; font-weight: 400; color: #7fa3a9; margin-top: 3px; letter-spacing: 0; }
.menyu-nisan {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; color: #fff; display: grid; place-items: center;
  background: linear-gradient(145deg, #22cdb9, #0d8b7f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(0, 0, 0, .25);
  font-weight: 700;
}
.menyu-nisan svg { width: 22px; height: 22px; }
.menyu a {
  display: flex; align-items: center; gap: 12px; padding: 8.5px 10px; margin: 1px 0; color: #b9d0d4; position: relative;
  text-decoration: none; font-size: .97rem; font-weight: 400; border-radius: 9px; transition: background .12s, color .12s;
}
.menyu a .ik { color: #7fb0b3; }
.menyu a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.menyu a.aktiv { background: rgba(255, 255, 255, .09); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.menyu a.aktiv::before {
  content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0;
  background: var(--firuze); box-shadow: 0 0 12px var(--firuze);
}
.menyu a.aktiv .ik { color: #3fe0cd; }
.menyu-ayirici { height: 1px; background: rgba(255, 255, 255, .09); margin: 10px 8px; }
.menyu-qrup { font-size: .77rem; font-weight: 600; letter-spacing: .02em; color: #6f959c; padding: 18px 10px 7px; }
.menyu-alt { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .09); }
.menyu-alt form { margin: 0; }
.duyme-metn {
  display: flex; align-items: center; gap: 12px; background: none; border: 0; color: #b9d0d4; padding: 8.5px 10px; font: inherit;
  font-size: .97rem; cursor: pointer; width: 100%; text-align: left; border-radius: 9px;
}
.duyme-metn .ik { color: #7fb0b3; }
.duyme-metn:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.mezmun {
  flex: 1; padding: 0 34px 70px; min-width: 0;
  background: radial-gradient(900px 420px at 100% -80px, #dcefee 0, transparent 70%) no-repeat;
}
.mezmun > * { max-width: 1480px; }

/* üst zolaq: səhifənin adı, tarix, istifadəçi */
.ust-zolaq { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 20px; }
.ust-sag { display: flex; align-items: center; gap: 12px; }
.ust-tarix {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; background: var(--vereq);
  border: 1px solid var(--cizgi); border-radius: 999px; font-size: .9rem; color: var(--murekkeb-aciq);
}
.ust-tarix .ik { width: 17px; height: 17px; flex-basis: 17px; color: var(--firuze-tund); }
.kim { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; background: var(--vereq); border: 1px solid var(--cizgi); border-radius: 999px; }
.kim-nisan { width: 32px; height: 32px; border-radius: 50%; background: var(--derin); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .93rem; }
.kim b { display: block; font-size: .9rem; line-height: 1.15; font-weight: 600; }
.kim small { display: block; font-size: .77rem; color: var(--solgun); }

/* ---------- Kassa kartı: proqramın imzası (banknot naxışı ilə) ---------- */
.kassa-kart {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff; padding: 26px 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end;
  background-color: var(--derin);
  background-image:
    repeating-radial-gradient(circle at 12% 120%, transparent 0 13px, rgba(255, 255, 255, .05) 13px 14px),
    repeating-radial-gradient(circle at 88% -20%, transparent 0 13px, rgba(255, 255, 255, .05) 13px 14px),
    linear-gradient(120deg, #082a33 0%, #0e4a55 60%, #116a68 100%);
  box-shadow: 0 18px 40px -18px rgba(8, 42, 51, .7);
}
.kassa-kart::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 18px rgba(255, 255, 255, .035), 0 0 0 44px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.kassa-kart .etiket { font-size: .9rem; color: #9fd3cf; display: flex; align-items: center; gap: 8px; }
.kassa-kart .mebleg {
  font-family: var(--reqem-sirift); font-size: 3.6rem; font-weight: 600; line-height: 1; margin: 12px 0 14px;
  letter-spacing: .005em; font-variant-numeric: tabular-nums;
}
.kassa-kart .mebleg span { font-size: 1.45rem; color: #8fd8d0; margin-left: 8px; font-weight: 500; }
.kassa-kart .yan { display: flex; gap: 28px; flex-wrap: wrap; font-size: .9rem; color: #a8cfcd; }
.kassa-kart .yan a { color: inherit; font-weight: 400; text-decoration: none; }
.kassa-kart .yan b { display: block; font-family: var(--reqem-sirift); font-size: 1.27rem; color: #fff; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kassa-kart .emeller { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.kassa-kart .duyme { padding: 12px 18px; border-radius: 12px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.kassa-kart .duyme:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.kassa-kart .duyme-esas, .kassa-kart .duyme-esas:hover {
  background: linear-gradient(180deg, #25d0bc, #12a394); border-color: #3ee0cd; color: #04312d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -8px rgba(23, 179, 163, .8);
}
.kassa-kart .duyme-esas:hover { filter: brightness(1.05); }
.kassa-kart .duyme .ik { width: 19px; height: 19px; flex-basis: 19px; }

/* ---------- Kartlar ---------- */
.panel {
  background: var(--vereq); border: 1px solid var(--cizgi); border-radius: var(--r-boyuk);
  padding: 20px 22px; margin-bottom: 20px; box-shadow: var(--kolge-kicik);
}
.salam { color: var(--solgun); margin: -12px 0 20px; }

.bolme-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.bolme-bas h2 { margin: 0; }
.bolme-bas h2 .solgun { font-weight: 400; font-size: .9rem; letter-spacing: 0; margin-left: 4px; }
.secim { display: inline-flex; background: #e2ebec; border-radius: 11px; padding: 3px; gap: 2px; }
.secim a { padding: 6px 15px; border-radius: 8px; color: var(--murekkeb-aciq); font-size: .9rem; font-weight: 500; text-decoration: none; }
.secim a:hover { color: var(--murekkeb); text-decoration: none; }
.secim a.secili { background: var(--vereq); color: var(--murekkeb); box-shadow: 0 1px 2px rgba(12, 35, 41, .12); font-weight: 600; }

.gun-zolagi, .kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 20px; }
.gun-zolagi > *, .kart {
  position: relative; background: var(--vereq); border: 1px solid var(--cizgi); border-radius: var(--r-boyuk);
  box-shadow: var(--kolge-kicik); padding: 16px 16px 15px; text-decoration: none; color: var(--murekkeb); display: block;
  font-weight: 400; transition: border-color .12s, box-shadow .12s, transform .12s;
}
.gun-zolagi a:hover, a.kart:hover { border-color: var(--cizgi-tund); box-shadow: var(--kolge); color: var(--murekkeb); text-decoration: none; transform: translateY(-1px); }
.gun-zolagi .ad, .kart-ad { color: var(--solgun); font-size: .87rem; font-weight: 500; }
.gun-zolagi .cip ~ .ad { padding-right: 42px; min-height: 34px; }
.gun-zolagi .deyer, .kart-deyer {
  font-family: var(--reqem-sirift); font-size: 1.8rem; font-weight: 600; line-height: 1.1; margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.gun-zolagi .alt, .kart-alt { color: var(--solgun); font-size: .83rem; margin-top: 5px; }
.gun-zolagi .xeber, .kart-xeber { border-color: var(--qirmizi-cizgi); background: linear-gradient(180deg, #fff5f6, var(--vereq) 70%); }
.gun-zolagi .xeber .deyer, .kart-xeber .kart-deyer { color: var(--qirmizi); }

/* göstərici kartının rəngli ikon çipi */
.cip { position: absolute; right: 13px; top: 13px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.cip .ik { width: 19px; height: 19px; flex-basis: 19px; }
.cip-firuze { background: var(--firuze-fon); color: var(--firuze-tund); }
.cip-yasil { background: var(--yasil-fon); color: var(--yasil); }
.cip-goy { background: var(--goy-fon); color: var(--goy); }
.cip-benovse { background: var(--benovse-fon); color: var(--benovse); }
.cip-kehraba { background: var(--marker-fon); color: var(--marker); }
.cip-nar { background: var(--qirmizi-fon); color: var(--qirmizi); }

/* ---------- Düymələr ---------- */
.duyme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--r); border: 1px solid var(--cizgi-tund);
  background: var(--vereq); color: var(--murekkeb); font: inherit; font-size: .96rem; font-weight: 500;
  cursor: pointer; text-decoration: none; text-align: center; line-height: 1.3; box-shadow: 0 1px 0 rgba(12, 35, 41, .04);
  transition: background .12s, border-color .12s, filter .12s;
}
.duyme:hover { background: #f3f8f8; border-color: #a9bec2; color: var(--murekkeb); text-decoration: none; }
.duyme:active { transform: translateY(1px); }
.duyme:disabled { opacity: .5; cursor: default; transform: none; }
.duyme-esas {
  background: linear-gradient(180deg, #14a596, #0d8b7f); border-color: #0b7a70; color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px rgba(13, 139, 127, .9);
}
.duyme-esas:hover { background: linear-gradient(180deg, #14a596, #0d8b7f); border-color: #0b7a70; color: #fff; filter: brightness(1.07); }
.duyme-tehluke { border-color: var(--qirmizi-cizgi); color: var(--qirmizi); }
.duyme-tehluke:hover { background: var(--qirmizi-fon); border-color: var(--qirmizi); color: var(--qirmizi-tund); }
.duyme-kicik { padding: 4px 11px; font-size: .86rem; border-radius: 8px; }
.duyme-boyuk { padding: 11px 20px; font-size: 1.02rem; border-radius: 12px; }
.duyme-nehenq { padding: 18px 22px; font-size: 1.15rem; font-weight: 600; flex: 1; min-width: 200px; border-radius: 14px; }
.boyuk-duymeler { display: flex; gap: 12px; flex-wrap: wrap; }
.duyme-qrup { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Formalar ---------- */
label { display: block; font-size: .88rem; font-weight: 500; color: var(--murekkeb-aciq); }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=tel],
input[type=search], input[type=file], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 9px 12px; font: inherit; font-size: .98rem; font-weight: 400;
  color: var(--murekkeb); background: var(--vereq); border: 1px solid var(--cizgi-tund); border-radius: var(--r);
  transition: border-color .12s, box-shadow .12s;
}
input:hover, select:hover { border-color: #9fb6ba; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--firuze); box-shadow: 0 0 0 3px var(--firuze-halqa); }
input[inputmode=decimal], input[type=number] { font-family: var(--reqem-sirift); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
input[type=checkbox] { width: 17px; height: 17px; vertical-align: -3px; margin: 0 6px 0 0; accent-color: var(--firuze-tund); }
::placeholder { color: var(--solgun2); font-family: var(--metn-sirift); font-size: .95rem; }
.forma-setir { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.forma-setir > label { flex: 1; min-width: 150px; }
.forma-sutun { display: grid; gap: 14px; max-width: 540px; }
.setirde { display: flex; gap: 6px; align-items: center; margin: 0; }
.setirde input { margin: 0; min-width: 110px; }
.kicik-giris { width: 110px !important; }

/* ---------- Cədvəllər ---------- */
.cedvel { width: 100%; border-collapse: collapse; background: var(--vereq); }
.cedvel th, .cedvel td { padding: 12px 16px; border-bottom: 1px solid #e9f0f1; text-align: left; vertical-align: middle; }
.cedvel th {
  font-size: .83rem; color: var(--solgun); font-weight: 600; white-space: nowrap;
  background: var(--bas-fon); border-bottom: 1px solid var(--cizgi); padding-top: 10px; padding-bottom: 10px;
}
.cedvel tbody tr { transition: background .1s; }
.cedvel tbody tr:hover { background: #f6fafa; }
.cedvel tbody tr:last-child td { border-bottom: 0; }
.cedvel .sag, .cedvel th.sag { text-align: right; white-space: nowrap; }
.cedvel td.sag { font-family: var(--reqem-sirift); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.cedvel tfoot td { font-weight: 600; border-top: 1px solid var(--cizgi-tund); border-bottom: 0; background: var(--bas-fon); }
.cedvel td > a:not(.duyme) { font-weight: 600; }
.cedvel td > .duyme-kicik + .duyme-kicik { margin-left: 6px; }
.cedvel-qabiq {
  overflow-x: auto; border: 1px solid var(--cizgi); border-radius: var(--r-boyuk); background: var(--vereq);
  box-shadow: var(--kolge-kicik);
}
.panel .cedvel-qabiq { border: 0; border-radius: 0; margin: 0 -22px; border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); box-shadow: none; }
.panel .cedvel-qabiq:last-child { margin-bottom: -20px; border-bottom: 0; border-radius: 0 0 var(--r-boyuk) var(--r-boyuk); }
.panel .cedvel-qabiq + p { margin: 12px 0 0; }
.panel .cedvel-qabiq .cedvel th:first-child, .panel .cedvel-qabiq .cedvel td:first-child { padding-left: 22px; }
.panel .cedvel-qabiq .cedvel th:last-child, .panel .cedvel-qabiq .cedvel td:last-child { padding-right: 22px; }
.solgun { color: var(--solgun); }
tr.solgun td { color: var(--solgun); }
.qirmizi, tr.qirmizi td { color: var(--qirmizi); }
tr.qirmizi { background: var(--qirmizi-fon); }
.cedvel tbody tr.qirmizi:hover { background: #fbdfe4; }
tr.legv td { color: var(--solgun2); text-decoration: line-through; }
tr.legv td.duz { text-decoration: none; }

/* ---------- Bildirişlər və nişanlar ---------- */
.zolaq { padding: 11px 14px; border-radius: var(--r); margin-bottom: 18px; font-weight: 500; border: 1px solid; }
.zolaq a { color: inherit; text-decoration: underline; }
.zolaq-ugur { background: var(--yasil-fon); color: var(--yasil-tund); border-color: var(--yasil-cizgi); }
.zolaq-xeta { background: var(--qirmizi-fon); color: var(--qirmizi-tund); border-color: var(--qirmizi-cizgi); }
.zolaq-xeber { background: var(--marker-fon); color: var(--marker-metn); border-color: var(--marker-cizgi); }
.nisan {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--boz-fon); color: var(--murekkeb-aciq); white-space: nowrap; line-height: 1.5;
}
.nisan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }
.nisan-nagd { background: var(--yasil-fon); color: var(--yasil); }
.nisan-nagdsiz { background: var(--goy-fon); color: var(--goy); }
.nisan-nisye { background: var(--marker-fon); color: var(--marker-metn); }
.nisan-kredit { background: var(--benovse-fon); color: var(--benovse); }
.nisan-legv { background: var(--qirmizi-fon); color: var(--qirmizi); }

/* ---------- Çek vərəqi (Z hesabat və satışın yekunu) ---------- */
.lent {
  position: relative; background: var(--vereq); border: 1px solid var(--cizgi); border-radius: var(--r-boyuk);
  padding: 22px 24px 20px; margin-bottom: 20px; box-shadow: var(--kolge-kicik); font-variant-numeric: tabular-nums;
}
.lent-setir, .z-setir, .yekun-qutu > div { display: flex; align-items: baseline; gap: 0; padding: 5px 0; }
.lent-setir > span:first-child, .z-setir > span:first-child, .yekun-qutu > div > span:first-child { display: flex; flex: 1; align-items: baseline; min-width: 0; color: var(--murekkeb-aciq); }
.lent-setir > span:first-child::after, .z-setir > span:first-child::after, .yekun-qutu > div > span:first-child::after {
  content: ""; flex: 1; min-width: 14px; margin: 0 10px; border-bottom: 1px dotted var(--cizgi-tund); transform: translateY(-4px);
}
.lent-setir > span:last-child, .z-setir > span:last-child, .yekun-qutu > div > span:last-child {
  font-family: var(--reqem-sirift); font-size: 1.07em; font-weight: 500; white-space: nowrap; color: var(--murekkeb);
}

/* Z hesabat: başlığı kassa kartı ilə eyni naxışda */
.z-vereq { max-width: 490px; font-size: 1rem; padding-top: 0; overflow: hidden; }
.z-vereq h2 {
  text-align: center; font-family: var(--reqem-sirift); font-size: 1.2rem; font-weight: 600; letter-spacing: .16em; color: #fff;
  margin: 0 -24px 0; padding: 18px 24px 4px; background-color: var(--derin);
  background-image: repeating-radial-gradient(circle at 0 140%, transparent 0 11px, rgba(255, 255, 255, .05) 11px 12px),
    repeating-radial-gradient(circle at 100% -40%, transparent 0 11px, rgba(255, 255, 255, .05) 11px 12px);
}
.z-vereq .z-alt-basliq {
  text-align: center; color: #a8cfcd; font-size: .88rem; margin: 0 -24px 16px; padding: 2px 24px 16px; background-color: var(--derin);
  background-image: repeating-radial-gradient(circle at 0 20%, transparent 0 11px, rgba(255, 255, 255, .05) 11px 12px),
    repeating-radial-gradient(circle at 100% -160%, transparent 0 11px, rgba(255, 255, 255, .05) 11px 12px);
}
.z-xett { border-top: 1px dashed var(--cizgi-tund); margin: 10px 0; }
.z-setir.solgun > span, .z-setir.solgun > span:last-child { color: var(--solgun2); }
.z-boyuk { font-weight: 600; font-size: 1.08rem; }
.z-boyuk > span:first-child { color: var(--murekkeb); }
.z-boyuk > span:first-child::after { border-bottom-color: var(--solgun2); }
.z-boyuk > span:last-child { font-weight: 600; }
/* kassadakı nağd pul: ən vacib sətir */
.z-kassa {
  font-weight: 600; font-size: 1.15rem; padding: 14px 16px; margin: 10px -8px; border-radius: 12px; color: #fff;
  background: linear-gradient(120deg, #082a33 0%, #0e4a55 70%, #116a68 100%);
}
.z-kassa > span:first-child { color: #9fd3cf; }
.z-kassa > span:last-child { color: #fff; font-size: 1.3em; font-weight: 600; }
.z-kassa > span:first-child::after { border-bottom: 0; }
.z-qeyd { color: var(--solgun); font-size: .82rem; line-height: 1.45; }

/* Satışın yekunu */
.yekun-qutu { font-size: 1rem; }
.yekun-qutu .boyuk { font-size: 1.4rem; font-weight: 650; border-top: 1px dashed var(--cizgi-tund); margin-top: 8px; padding-top: 12px; }
.yekun-qutu .boyuk > span:first-child { color: var(--murekkeb); }
.yekun-qutu .boyuk > span:first-child::after { border-bottom: 0; }
.yekun-qutu .boyuk > span:last-child { font-size: 1.15em; font-weight: 600; color: var(--firuze-tund); }

/* ---------- Giriş səhifəsi ---------- */
.giris-sehife {
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px;
  background-color: var(--derin);
  background-image:
    repeating-radial-gradient(circle at 10% 110%, transparent 0 15px, rgba(255, 255, 255, .045) 15px 16px),
    repeating-radial-gradient(circle at 90% -10%, transparent 0 15px, rgba(255, 255, 255, .045) 15px 16px),
    linear-gradient(120deg, #082a33 0%, #0e4a55 60%, #116a68 100%);
}
.giris-qutu { width: 392px; max-width: 100%; display: grid; gap: 16px; padding: 32px 30px 28px; border: 0; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); }
.giris-qutu h1 { font-family: var(--reqem-sirift); font-size: 1.7rem; font-weight: 600; letter-spacing: .01em; margin: 0; display: flex; align-items: center; gap: 12px; }
.giris-qutu h1 .menyu-nisan { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
.giris-qutu h1 .menyu-nisan svg { width: 25px; height: 25px; }
.giris-qutu .alt-yazi { color: var(--solgun); margin: -8px 0 4px; }
.giris-qutu .duyme { width: 100%; }

/* ---------- Yeni satış ekranı ---------- */
.satis-ekran { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
/* Yekun və "Satışı tamamla" düyməsi həmişə ekranın aşağısında görünür, kredit cədvəli uzun olsa belə. */
.satis-son { position: sticky; bottom: 0; z-index: 5; background: var(--kagiz); padding: 8px 0 16px; margin-top: -8px; }
.satis-son .lent { padding: 14px 20px 12px; margin-bottom: 12px; }
.satis-son .zolaq { margin-bottom: 12px; }
.satis-son .duyme-nehenq { padding: 16px 20px; }
.axtaris { position: relative; }
.axtaris input[type=search] { font-size: 1.06rem; padding: 13px 15px; border-radius: 12px; }
.axtaris-netice {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--vereq);
  border: 1px solid var(--cizgi); border-radius: 14px; box-shadow: var(--kolge); max-height: 340px; overflow-y: auto; padding: 5px;
}
.axtaris-netice button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; width: 100%; padding: 10px 12px; border: 0;
  border-radius: 9px; background: var(--vereq); font: inherit; font-size: .98rem; text-align: left; cursor: pointer; color: var(--murekkeb);
}
.axtaris-netice button:hover, .axtaris-netice button.secili { background: var(--firuze-fon); color: #07463f; }
.axtaris-netice .yan { color: var(--solgun); white-space: nowrap; font-family: var(--reqem-sirift); font-variant-numeric: tabular-nums; }
.setir-cedvel input, .setir-cedvel select { margin: 0; }
.setir-cedvel th, .setir-cedvel td { padding: 9px 7px; }
.setir-cedvel th:first-child, .setir-cedvel td:first-child { padding-left: 14px; }
.setir-cedvel .kicik-giris { width: 82px !important; }
.setir-cedvel .setirde select { width: 68px !important; padding-left: 7px; padding-right: 2px; }
.setir-cedvel .setirde input { width: 64px !important; min-width: 0; }
.setir-cedvel td.sag { font-size: 1.15rem; font-weight: 600; }

.odenis-novleri { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.odenis-novleri label {
  position: relative; border: 1px solid var(--cizgi-tund); border-radius: 12px; padding: 14px 8px 13px; text-align: center;
  font-size: 1.04rem; font-weight: 600; color: var(--murekkeb-aciq); cursor: pointer; background: var(--vereq);
  transition: border-color .12s, background .12s, color .12s;
}
.odenis-novleri label:hover { border-color: #9fb6ba; }
.odenis-novleri input { position: absolute; opacity: 0; pointer-events: none; }
.odenis-novleri label.secili { border-color: var(--derin); background: var(--derin); color: #fff; box-shadow: 0 8px 18px -10px rgba(8, 42, 51, .8); }
.odenis-novleri label:focus-within { outline: 2px solid var(--firuze); outline-offset: 2px; }

/* ---------- Köməkçi düzənlər ---------- */
.gizli { display: none !important; }
.suzgec {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 20px;
  padding: 14px 16px; background: var(--vereq); border: 1px solid var(--cizgi); border-radius: var(--r-boyuk);
  box-shadow: var(--kolge-kicik);
}
.suzgec label { min-width: 150px; }
/* min(340px, 100%): 340 pikseldən dar ekranda (kiçik telefon) sütun ekrandan daşmasın. */
.iki-sutun { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; align-items: start; }
.xulase-setir {
  display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 20px; background: var(--vereq);
  border: 1px solid var(--cizgi); border-radius: var(--r-boyuk); box-shadow: var(--kolge-kicik);
}
.xulase-setir > div { padding: 14px 22px 14px; border-right: 1px solid var(--cizgi); }
.xulase-setir > div:last-child { border-right: 0; }
.xulase-setir div span { display: block; color: var(--solgun); font-size: .84rem; font-weight: 500; }
.xulase-setir div b { font-family: var(--reqem-sirift); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 1180px) {
  .kassa-kart { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 1080px) {
  .satis-ekran { grid-template-columns: 1fr; }
  .mezmun { padding: 0 20px 60px; }
}
@media (max-width: 760px) {
  .qabiq { flex-direction: column; }
  .menyu { width: 100%; flex: none; height: auto; position: static; }
  .menyu a.aktiv::before { display: none; }
  .menyu-alt { margin-top: 8px; }
  .kassa-kart .mebleg { font-size: 2.6rem; }
  .xulase-setir > div { border-right: 0; border-bottom: 1px solid var(--cizgi); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .duyme:active, .gun-zolagi a:hover, a.kart:hover { transform: none; }
}

@media print {
  .cap-gizle, .menyu, .suzgec, .duyme, .zolaq { display: none !important; }
  body, .mezmun { background: #fff; }
  .mezmun { padding: 0; }
  .ust-zolaq { padding: 0 0 10px; }
  .panel, .cedvel-qabiq, .lent { border: 0; padding: 0; margin-left: 0; margin-right: 0; box-shadow: none; }
  .lent { max-width: none; }
  .z-vereq h2, .z-vereq .z-alt-basliq { background: none !important; color: #000; margin-left: 0; margin-right: 0; }
  .z-kassa { background: none !important; color: #000; border-top: 2px solid #000; border-radius: 0; margin: 6px 0; padding: 8px 0; }
  .z-kassa > span:first-child, .z-kassa > span:last-child { color: #000; }
  .cedvel th, .cedvel tfoot td { background: none !important; }
  .kassa-kart { background: none !important; color: #000; box-shadow: none; border: 1px solid #000; }
  h1 { font-size: 1.3rem; }
}

/* ================= Cila: dolğun yan menyu və daha az ağlıq ================= */

/* --- Yan menyu: naxışlı fon, ikonlar çərçivədə, aşağıda istifadəçi kartı --- */
.menyu {
  background-color: var(--derin);
  background-image:
    repeating-radial-gradient(circle at -10% -5%, transparent 0 17px, rgba(255, 255, 255, .028) 17px 18px),
    repeating-radial-gradient(circle at 110% 105%, transparent 0 17px, rgba(255, 255, 255, .028) 17px 18px),
    linear-gradient(180deg, #072730 0%, #0a3540 55%, #0c4047 100%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05);
}
.menyu a.menyu-bas { padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
.menyu a:not(.menyu-bas):not(.menyu-kicik) { padding: 4px 8px; gap: 11px; margin: 1px 0; }
.menyu a:not(.menyu-bas):not(.menyu-kicik) .ik {
  width: 28px; height: 28px; flex: 0 0 28px; padding: 5px; border-radius: 8px; background: rgba(255, 255, 255, .055); color: #8fc0c2;
  transition: background .12s, color .12s;
}
.menyu a:not(.menyu-bas):not(.menyu-kicik):hover .ik { background: rgba(255, 255, 255, .1); color: #d3f1ee; }
.menyu a.aktiv { background: linear-gradient(90deg, rgba(23, 179, 163, .22), rgba(23, 179, 163, .04)); box-shadow: inset 0 0 0 1px rgba(63, 224, 205, .16); }
.menyu a.aktiv:not(.menyu-bas) .ik {
  background: linear-gradient(145deg, #22cdb9, #0d8b7f); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px -3px rgba(23, 179, 163, .8);
}
.menyu a.aktiv::before { top: 7px; bottom: 7px; }
.menyu-qrup { padding: 12px 8px 5px; color: #5f8a91; }
.menyu a.menyu-bas { padding-top: 18px; padding-bottom: 14px; }
.menyu a.aktiv::before { top: 6px; bottom: 6px; }

.menyu-alt { padding-top: 12px; }
.menyu-kim {
  display: flex; align-items: center; gap: 10px; padding: 9px 9px; border-radius: 13px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.menyu-kim .kim-nisan { width: 34px; height: 34px; flex: 0 0 34px; background: linear-gradient(145deg, #22cdb9, #0d8b7f); color: #fff; }
.menyu-kim-ad { flex: 1; min-width: 0; }
.menyu-kim-ad b { display: block; color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menyu-kim-ad small { display: block; color: #7fa3a9; font-size: .77rem; }
.menyu a.menyu-kicik, .menyu-kicik {
  display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; padding: 0; margin: 0; border: 0; border-radius: 9px;
  background: transparent; color: #8fc0c2; cursor: pointer;
}
.menyu a.menyu-kicik:hover, .menyu-kicik:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.menyu-kicik .ik { width: 19px; height: 19px; flex-basis: 19px; }
.menyu-kim form { margin: 0; display: flex; }

/* üst zolaqda sürətli "Yeni satış" */
.ust-sag .duyme-esas { padding: 8px 15px; border-radius: 999px; }
.ust-sag .duyme-esas .ik { width: 18px; height: 18px; flex-basis: 18px; }

/* --- Daha az ağlıq --- */
:root { --kagiz: #e4ecee; --cizgi: #d3dfe2; --bas-fon: #edf3f4; }
.mezmun { background: radial-gradient(1000px 460px at 100% -80px, #cfe6e4 0, transparent 70%) no-repeat; }

/* cədvəl başlığı tünd: hər siyahıda proqramın rəngi görünür */
.cedvel th {
  background: var(--derin2); color: #cfe6e6; border-bottom: 0; font-weight: 500; letter-spacing: .01em;
  padding-top: 11px; padding-bottom: 11px;
}
.cedvel tbody tr:nth-child(even) { background: #f4f8f9; }
.cedvel tbody tr:hover { background: #e6f3f1; }
.cedvel tfoot td { background: #dcebe9; border-top: 0; color: #08312e; }
.panel .cedvel-qabiq { border-top: 0; }
.panel .cedvel-qabiq .cedvel th { border-bottom: 0; }
.setir-cedvel th { background: var(--bas-fon); color: var(--solgun); font-weight: 600; }

/* süzgəc zolağı və xanalar: ağ yox, açıq duman */
.suzgec { background: #f1f6f7; border-color: var(--cizgi); box-shadow: none; }
.panel { background: #fbfdfd; }
.panel > h2:first-child { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--cizgi); }
.panel > h2:first-child:has(+ .cedvel-qabiq) { border-bottom: 0; margin-bottom: 4px; }
.xulase-setir { background: #f1f6f7; }

/* göstərici kartları: hər biri öz rənginin yüngül çaları ilə */
.gun-zolagi { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.gun-zolagi > a:has(.cip-firuze) { background: linear-gradient(140deg, #fbfdfd 45%, #d9f2ee); border-color: #bfe3de; }
.gun-zolagi > a:has(.cip-yasil) { background: linear-gradient(140deg, #fbfdfd 45%, #dcf1e5); border-color: #c2e2d0; }
.gun-zolagi > a:has(.cip-goy) { background: linear-gradient(140deg, #fbfdfd 45%, #dfe9fa); border-color: #c5d5f0; }
.gun-zolagi > a:has(.cip-benovse) { background: linear-gradient(140deg, #fbfdfd 45%, #e7e2f8); border-color: #d0c8ee; }
.gun-zolagi > a:has(.cip-kehraba) { background: linear-gradient(140deg, #fbfdfd 45%, #f8ecd2); border-color: #ead9b0; }
.gun-zolagi > a:has(.cip-nar) { background: linear-gradient(140deg, #fbfdfd 45%, #fbe3e7); border-color: #f0c5cd; }
.gun-zolagi > a.xeber { background: linear-gradient(140deg, #fff3f5 30%, #fbdbe1); border-color: #eeb4bf; }
.cip { background-color: #fff; box-shadow: 0 1px 2px rgba(12, 35, 41, .08); }
.cip-firuze, .cip-yasil, .cip-goy, .cip-benovse, .cip-kehraba, .cip-nar { background: #fff; }
.kart { background: linear-gradient(140deg, #fbfdfd 45%, #e3f1f0); }
.kart-xeber { background: linear-gradient(140deg, #fff3f5 30%, #fbdbe1); border-color: #eeb4bf; }

/* çek vərəqi və giriş xanaları */
.lent { background: #fbfdfd; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=tel],
input[type=search], input[type=file], select, textarea { background: #fff; border-color: #bccdd1; }
.duyme:not(.duyme-esas):not(.duyme-tehluke) { border-color: #bccdd1; }
.ust-tarix { background: #f1f6f7; }

@media (max-width: 760px) {
  .menyu a:not(.menyu-bas):not(.menyu-kicik) .ik { width: 28px; height: 28px; flex-basis: 28px; padding: 5px; }
}
@media print {
  .cedvel th { color: #000; }
  .cedvel tbody tr:nth-child(even) { background: none; }
  .gun-zolagi > a, .kart, .panel, .lent { background: none !important; }
}

/* --- Ümumi axtarış (üst zolaq) --- */
.ust-axtar { position: relative; display: flex; align-items: center; width: 320px; max-width: 46vw; }
.ust-axtar > .ik { position: absolute; left: 13px; width: 18px; height: 18px; color: var(--firuze-tund); pointer-events: none; }
.ust-axtar input[type=search] {
  margin: 0; padding: 9px 40px 9px 40px; border-radius: 999px; background: #f6fafa; border-color: var(--cizgi-tund); font-size: .93rem;
}
.ust-axtar input[type=search]:focus { background: #fff; }
.ust-axtar kbd {
  position: absolute; right: 12px; font: inherit; font-size: .75rem; line-height: 1; padding: 3px 7px; border-radius: 6px;
  background: var(--boz-fon); color: var(--solgun); border: 1px solid var(--cizgi); pointer-events: none;
}
.ust-axtar input:focus ~ kbd, .ust-axtar input:not(:placeholder-shown) ~ kbd { display: none; }
.ust-axtar .axtaris-netice { left: auto; right: 0; width: 440px; max-width: 86vw; max-height: 420px; }
.ust-axtar .axtaris-netice a {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 12px;
  border-radius: 9px; color: var(--murekkeb); text-decoration: none; font-weight: 500;
}
.ust-axtar .axtaris-netice a:hover, .ust-axtar .axtaris-netice a.secili { background: var(--firuze-fon); color: #07463f; text-decoration: none; }
.ust-axtar .axtaris-netice .nov { font-size: .78rem; font-weight: 600; color: var(--firuze-tund); }
.ust-axtar .axtaris-netice .ad { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ust-axtar .axtaris-netice .yan { font-size: .85rem; font-weight: 400; }
@media (max-width: 760px) { .ust-axtar { width: 100%; max-width: none; } .ust-sag { width: 100%; } }
.ust-axtar .axtaris-netice a { text-align: left; }
.ust-axtar .axtaris-netice .ad { text-align: left; }

/* --- Yan menyu: Bahnschrift şrifti, daha iri və dəqiq ikonlar --- */
.ik { shape-rendering: geometricPrecision; }
.menyu, .menyu a, .menyu-qrup, .menyu-kim-ad b, .menyu-kim-ad small { font-family: var(--reqem-sirift); }
.menyu a:not(.menyu-bas):not(.menyu-kicik) { font-size: 1.04rem; letter-spacing: .012em; padding: 3.500px 8px; gap: 12px; }
.menyu a.aktiv { font-weight: 600; }
.menyu a:not(.menyu-bas):not(.menyu-kicik) .ik {
  width: 31px; height: 31px; flex: 0 0 31px; padding: 5px; border-radius: 9px; color: #a6dcd9;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.menyu a:not(.menyu-bas):not(.menyu-kicik) .ik .ik-f { opacity: .3; }
.menyu a.aktiv:not(.menyu-bas) .ik .ik-f { opacity: .35; }
.menyu-qrup { font-size: .84rem; font-weight: 500; letter-spacing: .05em; color: #6f9aa0; padding: 11px 8px 4px; }
.menyu a.menyu-bas { gap: 13px; padding: 18px 8px 15px; }
.menyu-bas > span:last-child { font-size: 1.6rem; font-weight: 600; letter-spacing: .015em; }
.menyu-nisan { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -6px 12px rgba(0, 0, 0, .12), 0 8px 18px -6px rgba(23, 179, 163, .7); }
.menyu-nisan svg { width: 25px; height: 25px; }
.menyu-kim-ad b { font-size: 1rem; letter-spacing: .01em; }
.menyu-kim-ad small { font-size: .84rem; }
.menyu-kicik .ik { width: 20px; height: 20px; flex-basis: 20px; }

/* --- Əsas səhifə: düymənin üstünə gələndə qalxır, kölgəsi böyüyür, rəngi tündləşir; basanda enir --- */
.kassa-kart .duyme { transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, filter .14s ease; }
.kassa-kart .duyme:hover {
  transform: translateY(-2px); background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .65);
}
.kassa-kart .duyme-esas:hover {
  transform: translateY(-2px); filter: none; background: linear-gradient(180deg, #1fc3b0, #0c9486); border-color: #5eead8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 26px -10px rgba(23, 179, 163, .95);
}
.kassa-kart .duyme:active, .kassa-kart .duyme-esas:active { transform: translateY(1px); box-shadow: 0 3px 8px -4px rgba(0, 0, 0, .6); }
.secim a { transition: transform .14s ease, box-shadow .14s ease, background .14s ease; }
.secim a:not(.secili):hover { transform: translateY(-1px); background: rgba(255, 255, 255, .7); box-shadow: 0 6px 12px -6px rgba(12, 35, 41, .35); }
.secim a:active { transform: translateY(1px); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .kassa-kart .duyme:hover, .kassa-kart .duyme-esas:hover, .secim a:not(.secili):hover { transform: none; }
}

/* --- Mallar və qalıq: düymənin üstünə gələndə qalxır, kölgəsi böyüyür, rəngi tündləşir; basanda enir --- */
body[data-yol="/mallar"] .duyme { transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, filter .14s ease; }
body[data-yol="/mallar"] .duyme:hover {
  transform: translateY(-2px); background: var(--firuze-fon); border-color: var(--firuze); color: #07463f;
  box-shadow: 0 10px 18px -10px rgba(12, 35, 41, .5);
}
body[data-yol="/mallar"] .duyme-esas:hover {
  transform: translateY(-2px); filter: none; background: linear-gradient(180deg, #17b3a3, #0b7a70); border-color: #0a6f66; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 22px -10px rgba(13, 139, 127, .95);
}
body[data-yol="/mallar"] .duyme:active { transform: translateY(1px); box-shadow: 0 2px 5px -3px rgba(12, 35, 41, .5); }
@media (prefers-reduced-motion: reduce) {
  body[data-yol="/mallar"] .duyme:hover, body[data-yol="/mallar"] .duyme-esas:hover { transform: none; }
}

/* --- Axıcılıq --- */
/* 1. Səhifələr arası yumşaq keçid (Edge/Chrome): ekran boşalmır, menyu yerində qalır, məzmun yumşaq dəyişir. */
@view-transition { navigation: auto; }
.menyu { view-transition-name: yan-menyu; }
::view-transition-group(yan-menyu) { animation: none; }
::view-transition-old(yan-menyu) { display: none; }
::view-transition-new(yan-menyu) { animation: none; }
::view-transition-old(root) { animation: kecid-get .12s ease-out both; }
::view-transition-new(root) { animation: kecid-gel .18s ease-out both; }
@keyframes kecid-get { to { opacity: 0; } }
@keyframes kecid-gel { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* 3. Qalxan düymə siçanı itirməsin: üstünə gələndə altında görünməz zolaq yaranır, ona görə titrəmir. */
body[data-yol="/mallar"] .duyme, .kassa-kart .duyme, .secim a { position: relative; }
body[data-yol="/mallar"] .duyme:hover::after, .kassa-kart .duyme:hover::after, .secim a:hover::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 5px;
}

/* --- Səbət: yarımçıq satış --- */
.sebet-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: .88rem; }
.menyu-say {
  margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--marker); color: #2b1c00; font-size: .82rem; font-weight: 700; line-height: 1;
}

/* --- Bildiriş zəngi (üst zolaq, tarixin yanında) --- */
.zeng { position: relative; }
.zeng > summary, .support-top {
  list-style: none; cursor: pointer; position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #f1f6f7; border: 1px solid var(--cizgi); color: var(--murekkeb-aciq); transition: background .12s, border-color .12s, color .12s;
}
.zeng > summary::-webkit-details-marker { display: none; }
.zeng > summary:hover, .zeng[open] > summary, .support-top:hover, .support-top[aria-expanded=true] { background: #fff; border-color: var(--firuze); color: var(--firuze-tund); }
.zeng > summary .ik { width: 20px; height: 20px; flex-basis: 20px; transform-origin: 50% 12%; }
.zeng-say {
  position: absolute; top: -5px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center;
  background: var(--qirmizi); color: #fff; font-family: var(--reqem-sirift); font-size: .78rem; font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 2px var(--kagiz);
}
/* bildiriş varsa: zəng yellənir, nişanın ətrafında halqa yayılır */
.zeng-var > summary { color: var(--qirmizi-tund); border-color: var(--qirmizi-cizgi); background: #fff7f8; }
.zeng-var > summary .ik { animation: zeng-yelle 1.200s ease-in-out .400s 3; }
.zeng-var > summary:hover .ik { animation: zeng-yelle .900s ease-in-out 1; }
.zeng-var .zeng-say::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--qirmizi); animation: zeng-halqa 2.200s ease-out infinite;
}
@keyframes zeng-yelle {
  0%, 100% { transform: rotate(0); } 12% { transform: rotate(16deg); } 26% { transform: rotate(-14deg); }
  40% { transform: rotate(10deg); } 54% { transform: rotate(-7deg); } 68% { transform: rotate(4deg); } 82% { transform: rotate(-2deg); }
}
@keyframes zeng-halqa { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.900); opacity: 0; } }
.zeng-qutu {
  position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); width: 340px; max-width: 88vw; background: var(--vereq);
  border: 1px solid var(--cizgi); border-radius: 16px; box-shadow: var(--kolge); padding: 6px; animation: zeng-ac .160s ease-out;
}
@keyframes zeng-ac { from { opacity: 0; transform: translateY(-6px); } }
.zeng-bas { padding: 9px 12px 8px; font-weight: 650; font-size: .95rem; }
.zeng-bos { padding: 4px 12px 14px; color: var(--solgun); font-size: .92rem; }
.zeng-setir { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--murekkeb); text-decoration: none; font-weight: 400; }
.zeng-setir:hover { background: #f1f6f7; color: var(--murekkeb); text-decoration: none; }
.zeng-cip { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; display: grid; place-items: center; }
.zeng-cip.cip-nar { background: var(--qirmizi-fon); color: var(--qirmizi); }
.zeng-cip.cip-kehraba { background: var(--marker-fon); color: var(--marker); }
.zeng-cip .ik { width: 20px; height: 20px; flex-basis: 20px; }
.zeng-metn { flex: 1; min-width: 0; }
.zeng-metn b { display: block; font-size: .93rem; font-weight: 600; }
.zeng-metn small { display: block; font-size: .82rem; color: var(--solgun); }
.zeng-reqem { font-family: var(--reqem-sirift); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .zeng-var > summary .ik, .zeng-var > summary:hover .ik, .zeng-var .zeng-say::after, .zeng-qutu { animation: none; }
}
@media print { .zeng { display: none !important; } }

/* --- Sınaq üçün sıfırlama (əsas səhifənin sonunda, bağlı) --- */
.sifirla { margin-top: 26px; border: 1px dashed var(--qirmizi-cizgi); border-radius: var(--r-boyuk); background: #fff9fa; }
.sifirla > summary { cursor: pointer; padding: 12px 18px; color: var(--qirmizi-tund); font-weight: 600; font-size: .93rem; }
.sifirla-ic { padding: 0 18px 16px; }
.sifirla-ic p { color: var(--murekkeb-aciq); font-size: .92rem; line-height: 1.6; }
.sifirla-ic label { max-width: 320px; }

/* menyu uzandı: bəndlər bir az sıxlaşır ki, adi ekrana sığsın */
.menyu a:not(.menyu-bas):not(.menyu-kicik) { padding-top: 2.500px; padding-bottom: 2.500px; }
.menyu a:not(.menyu-bas):not(.menyu-kicik) .ik { width: 29px; height: 29px; flex-basis: 29px; padding: 4.500px; }
.menyu-qrup { padding-top: 9px; padding-bottom: 3px; }

/* Baxılmış bildirişlər: rəqəm gizlənir (siyahı zəngin içində qalır) */
.zeng:not(.zeng-var) .zeng-say { display: none; }

/* Bildiriş siyahısı: sətir = keçid + "×"; yuxarıda "Hamısını təmizlə" */
.zeng-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zeng-temizle { border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--firuze-tund); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.zeng-temizle:hover { background: var(--firuze-fon); }
.zeng-setir { display: flex; align-items: center; gap: 2px; padding: 0; border-radius: 11px; }
.zeng-setir[hidden], .zeng-bos[hidden], .zeng-temizle[hidden] { display: none; }
.zeng-setir:hover { background: #f1f6f7; }
.zeng-setir > a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 12px; color: var(--murekkeb); text-decoration: none; font-weight: 400; border-radius: 11px; }
.zeng-setir > a:hover { color: var(--murekkeb); text-decoration: none; }
.zeng-x {
  width: 28px; height: 28px; flex: 0 0 28px; margin-right: 8px; border: 0; border-radius: 50%; background: none; color: var(--solgun2);
  font-size: 1.25rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.zeng-x:hover { background: var(--qirmizi-fon); color: var(--qirmizi); }

/* ================= OlimPOS brendi ================= */
/* Ad həmişə "OlimPOS": "Olim" əsas rəngdə, "POS" firuzəyi. Şrift: Bahnschrift (internetsiz də işləsin deyə). */
.brend-ad { font-family: var(--reqem-sirift); font-weight: 700; letter-spacing: .02em; line-height: 1; }
.brand-pos { color: #5FE0C4; }
.brend { display: inline-flex; align-items: center; gap: 14px; }
.brend img { border-radius: 24%; display: block; }
.brend-tund .brend-ad { color: #fff; font-size: 2.150rem; }
.brend-aciq .brend-ad { color: #0D3A3C; font-size: 1.900rem; }
.brend-aciq .brand-pos { color: #1FA68E; }

/* yan menyu başlığı */
.menyu a.menyu-bas { gap: 12px; padding: 16px 8px 14px; }
.menyu-loqo { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.menyu-bas .brend-ad { color: #fff; font-size: 1.650rem; }

/* ---------- Giriş səhifəsi: solda brend paneli, sağda giriş kartı ---------- */
.gir { margin: 0; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); background: #EEF4F3; color: #0D3A3C; }
.gir-sol {
  position: relative; overflow: hidden; background: #0D3A3C; color: #fff; padding: 44px 52px;
  display: flex; flex-direction: column;
}
.gir-suar { margin: auto 0; position: relative; z-index: 1; }
.gir-suar h2 { font-family: var(--reqem-sirift); font-size: 2.900rem; font-weight: 700; letter-spacing: .01em; line-height: 1.100; margin: 0 0 16px; color: #fff; }
.gir-suar p { font-size: 1.150rem; color: #b9d6d3; margin: 0; max-width: 26em; }
.gir-dag { position: absolute; right: -70px; bottom: -90px; width: 560px; max-width: 110%; opacity: .07; pointer-events: none; user-select: none; }
.gir-sag { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.gir-mobil-loqo { display: none; margin-bottom: 22px; }
.gir-kart {
  width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 32px 30px 30px; display: grid; gap: 16px;
  box-shadow: 0 1px 2px rgba(13, 58, 60, .06), 0 18px 40px -18px rgba(13, 58, 60, .28);
}
.gir-kart h1 { font-size: 1.650rem; margin: 0; color: #0D3A3C; }
.gir-alt { margin: -10px 0 4px; color: #4A6563; }
.gir-kart label { color: #0D3A3C; font-size: .93rem; font-weight: 600; }
.gir-kart input[type=text], .gir-kart input[type=password] { height: 46px; font-size: 1rem; border-color: #b9cdca; }
.gir-kart input:focus { border-color: #1FA68E; box-shadow: 0 0 0 3px rgba(31, 166, 142, .25); }
.gir-sifre { position: relative; display: block; }
.gir-sifre input { padding-right: 48px; }
.gir-goz {
  position: absolute; right: 5px; bottom: 5px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: #4A6563;
  display: grid; place-items: center; cursor: pointer;
}
.gir-goz:hover { background: #EEF4F3; color: #0D3A3C; }
.gir-goz.aciq { color: #1FA68E; }
.gir-xeta { background: #fdecef; color: #9a1f36; border: 1px solid #f3c6ce; border-radius: 10px; padding: 10px 12px; font-weight: 500; font-size: .95rem; }
.gir-duyme {
  height: 48px; width: 100%; margin-top: 4px; border: 0; border-radius: 12px; background: #1FA68E; color: #fff; cursor: pointer;
  font: inherit; font-size: 1.250rem; font-weight: 700; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .14s, transform .14s, box-shadow .14s; box-shadow: 0 10px 20px -12px rgba(31, 166, 142, .9);
}
.gir-duyme:hover { background: #178f7a; }
.gir-duyme:active { transform: translateY(1px); }
.gir-duyme:disabled { cursor: default; opacity: .85; }
.gir-firlanan { display: none; width: 18px; height: 18px; border: 2.500px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: gir-firlan .800s linear infinite; }
.gir-duyme.yuklenir .gir-firlanan { display: block; }
@keyframes gir-firlan { to { transform: rotate(360deg); } }
.gir-son { margin: 18px 0 0; color: #4A6563; font-size: .88rem; }
@media (max-width: 959px) {
  .gir { grid-template-columns: 1fr; }
  .gir-sol { display: none; }
  .gir-mobil-loqo { display: inline-flex; }
  .gir-sag { justify-content: flex-start; padding-top: 12vh; }
}
@media (prefers-reduced-motion: reduce) { .gir-firlanan { animation-duration: 2s; } }

/* --- İcazələr səhifəsi --- */
.icaze-qruplar { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; align-items: start; }
.icaze-qruplar .panel { margin-bottom: 0; }
.icaze-setir { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; border-radius: 9px; cursor: pointer; font-weight: 400; color: var(--murekkeb); font-size: .95rem; }
.icaze-setir:hover { background: #f1f6f7; }
.icaze-setir input { margin: 3px 0 0; flex: 0 0 17px; }
.icaze-setir b { display: block; font-weight: 600; }
.icaze-setir small { display: block; color: var(--solgun); font-size: .84rem; margin-top: 1px; }
.icaze-setir:has(input:checked) b { color: var(--firuze-tund); }

/* Endirim icazəsi olmayan satıcı: satış ekranında endirim xanaları gizlənir, qiymət dəyişmir */
.endirimsiz label:has([name=endirimNov]), .endirimsiz label:has([name=endirimDeyer]) { display: none; }
.endirimsiz [data-sahe=endirimNov], .endirimsiz [data-sahe=endirimDeyer] { visibility: hidden; }
input[readonly] { background: #f1f6f7; color: var(--murekkeb-aciq); cursor: default; }

/* --- Əməliyyat bildirişi (tost): sağ yuxarıda çıxır, uğurlu olanda özü yığılır --- */
.tost {
  position: fixed; top: 18px; right: 22px; z-index: 90; width: min(430px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 40px 16px 14px;
  background: var(--vereq); border: 1px solid var(--cizgi); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(12, 35, 41, .08), 0 22px 48px -14px rgba(12, 35, 41, .38);
  animation: tost-gir .5s cubic-bezier(.2, 1.2, .3, 1) both;
}
.tost-ugur { border-color: var(--yasil-cizgi); background: linear-gradient(120deg, #fff 55%, var(--yasil-fon)); animation: tost-gir .5s cubic-bezier(.2, 1.2, .3, 1) both, tost-cix .45s ease 6.5s forwards; }
.tost-xeta { border-color: var(--qirmizi-cizgi); background: linear-gradient(120deg, #fff 55%, var(--qirmizi-fon)); }
.tost:hover { animation-play-state: paused; }
.tost:hover .tost-zaman { animation-play-state: paused; }
.tost.baglanir { animation: tost-cix .3s ease forwards; }
.tost-nisan { flex: 0 0 40px; display: grid; place-items: center; }
.tost-metn { min-width: 0; }
.tost-metn b { display: block; font-family: var(--reqem-sirift); font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; }
.tost-ugur .tost-metn b { color: var(--yasil-tund); }
.tost-xeta .tost-metn b { color: var(--qirmizi-tund); }
.tost-metn span { display: block; color: var(--murekkeb-aciq); font-size: .93rem; margin-top: 1px; overflow-wrap: anywhere; }
.tost-bagla { position: absolute; top: 6px; right: 8px; width: 28px; height: 28px; border: 0; background: none; border-radius: 8px; color: var(--solgun); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.tost-bagla:hover { background: rgba(12, 35, 41, .07); color: var(--murekkeb); }
.tost-zaman { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; }
.tost-ugur .tost-zaman { background: var(--yasil); animation: tost-zaman 6.5s linear forwards; }
.tost-xeta .tost-zaman { background: var(--qirmizi); }
/* Çəkilən nişan: dairə dolanır, sonra quş işarəsi (və ya nida) yazılır. */
.nisan-daire { stroke-width: 3; stroke-dasharray: 145; stroke-dashoffset: 145; animation: nisan-ciz .55s ease-out .1s forwards; transform-origin: center; transform: rotate(-90deg); }
.nisan-xett { stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: nisan-ciz .35s ease-out .55s forwards; }
.tost-ugur .nisan-daire, .tost-ugur .nisan-xett, .imp-netice-ugur .nisan-daire, .imp-netice-ugur .nisan-xett { stroke: var(--yasil); }
.tost-xeta .nisan-daire, .tost-xeta .nisan-xett, .imp-netice-xeta .nisan-daire, .imp-netice-xeta .nisan-xett { stroke: var(--qirmizi); }
.tost-ugur .tost-nisan, .imp-netice-ugur .imp-netice-nisan { animation: nisan-vur .45s ease .85s both; }
.tost-xeta .tost-nisan, .imp-netice-xeta .imp-netice-nisan { animation: nisan-silkele .5s ease .6s both; }
@keyframes tost-gir { from { opacity: 0; transform: translate(40px, -8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tost-cix { to { opacity: 0; transform: translateX(40px); visibility: hidden; } }
@keyframes tost-zaman { to { transform: scaleX(0); } }
@keyframes nisan-ciz { to { stroke-dashoffset: 0; } }
@keyframes nisan-vur { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes nisan-silkele { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* Səhifə içində səhv zolağı: nida nişanı ilə, bir dəfə silkələnir ki, gözdən qaçmasın. */
.zolaq-nisanli { display: flex; align-items: center; gap: 10px; border-left-width: 4px; animation: nisan-silkele .45s ease .1s both; }
.zolaq-nisanli::before { content: "!"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--qirmizi); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* Göndərilən formanın düyməsi: fırlanan halqa, "gözləyin" hissi. */
.duyme.yuklenir { position: relative; opacity: .85 !important; cursor: progress; }
.duyme.yuklenir::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; vertical-align: -2px; margin-right: 8px; animation: firlan .7s linear infinite; }
@keyframes firlan { to { transform: rotate(360deg); } }

/* --- Import səhifəsi --- */
.imp-nov { margin-bottom: 18px; }
.imp-addim > h2 { display: flex; align-items: center; gap: 10px; }
.imp-no { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--derin); color: #fff; display: grid; place-items: center; font-family: var(--reqem-sirift); font-size: .95rem; font-weight: 600; }
.imp-sutunlar { display: flex; flex-wrap: wrap; gap: 6px; }
.imp-sutun { padding: 4px 11px; border-radius: 999px; background: var(--boz-fon); color: var(--murekkeb-aciq); font-size: .88rem; font-weight: 500; }
.imp-sutun.imp-mecburi { background: var(--derin2); color: #fff; }
.imp-izah { margin: 8px 0 0; font-size: .88rem; }
.imp-forma { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.imp-forma > button { align-self: center; }
.fayl-zona {
  flex: 1 1 420px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; position: relative;
  border: 2px dashed var(--cizgi-tund); border-radius: var(--r-boyuk); background: #f6fafa;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fayl-zona input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fayl-zona:hover, .fayl-zona:focus-within { border-color: var(--firuze); background: var(--firuze-fon); box-shadow: 0 0 0 4px var(--firuze-halqa); }
.fayl-zona.suruklenir { border-color: var(--firuze); border-style: solid; background: var(--firuze-fon); transform: scale(1.01); box-shadow: 0 0 0 5px var(--firuze-halqa); }
.fayl-nisan { flex: 0 0 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--firuze-tund); border: 1px solid var(--cizgi); transition: background .2s ease, color .2s ease; }
.fayl-oldu { display: none; }
.fayl-zona:hover .fayl-ox, .fayl-zona.suruklenir .fayl-ox { animation: fayl-qalx .8s ease infinite; }
@keyframes fayl-qalx { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.fayl-metn { flex: 1 1 auto; min-width: 0; }
.fayl-metn b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.fayl-metn small { display: block; color: var(--solgun); font-size: .88rem; margin-top: 2px; }
.fayl-sec { pointer-events: none; }
.fayl-zona.secilib { border-style: solid; border-color: var(--yasil-cizgi); background: var(--yasil-fon); animation: fayl-qebul .4s ease; }
.fayl-zona.secilib .fayl-nisan { background: var(--yasil); color: #fff; border-color: var(--yasil); }
.fayl-zona.secilib .fayl-ox { display: none; }
.fayl-zona.secilib .fayl-oldu { display: inline; stroke-dasharray: 22; stroke-dashoffset: 22; animation: nisan-ciz .35s ease-out .1s forwards; }
.fayl-zona.secilib .fayl-metn b { color: var(--yasil-tund); }
.fayl-zona.sehvdir { border-style: solid; border-color: var(--qirmizi-cizgi); background: var(--qirmizi-fon); animation: nisan-silkele .45s ease; }
.fayl-zona.sehvdir .fayl-metn b { color: var(--qirmizi-tund); }
@keyframes fayl-qebul { 0% { transform: scale(.985); } 60% { transform: scale(1.01); } 100% { transform: scale(1); } }
.imp-netice { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-boyuk); border: 1px solid; margin-bottom: 16px; animation: tost-gir .45s ease both; }
.imp-netice > div { flex: 1 1 260px; min-width: 0; }
.imp-netice b { display: block; font-family: var(--reqem-sirift); font-size: 1.12rem; font-weight: 600; }
.imp-netice p { margin: 2px 0 0; color: var(--murekkeb-aciq); }
.imp-netice-ugur { background: linear-gradient(120deg, #fff 30%, var(--yasil-fon)); border-color: var(--yasil-cizgi); }
.imp-netice-ugur b { color: var(--yasil-tund); }
.imp-netice-xeta { background: linear-gradient(120deg, #fff 30%, var(--qirmizi-fon)); border-color: var(--qirmizi-cizgi); }
.imp-netice-xeta b { color: var(--qirmizi-tund); }
.imp-fayl { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(12, 35, 41, .06); color: var(--murekkeb-aciq); font-size: .84rem; }
.imp-saylar { margin-bottom: 16px; }
.nisan-yasil { background: var(--yasil-fon); color: var(--yasil); }
.reqem-metn { font-variant-numeric: tabular-nums; color: var(--murekkeb-aciq); }
@media (max-width: 640px) { .tost { top: 10px; right: 16px; } .fayl-sec { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .tost, .tost-ugur, .imp-netice, .zolaq-nisanli, .tost-nisan, .imp-netice-nisan, .fayl-zona { animation-duration: .01s !important; }
  .tost-ugur { animation: none; }
  .nisan-daire, .nisan-xett { animation: none; stroke-dashoffset: 0; }
}
@media print { .tost { display: none !important; } }

/* ---------- Telefon: menyu yandan açılır, üst zolaq yapışır ---------- */
.menyu-duyme, .menyu-bagla, .menyu-perde { display: none; }
@media screen and (max-width: 760px) {
  .qabiq { display: block; }
  /* Telefonda xananın şrifti 16px-dən kiçik olsa, iPhone toxunanda ekranı özü böyüdür. */
  input[type=text], input[type=password], input[type=number], input[type=date], input[type=tel],
  input[type=search], input[type=file], select, textarea, .ust-axtar input[type=search] { font-size: 1rem; }
  .menyu {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(86vw, 320px); height: 100vh; height: 100dvh;
    flex: none; transform: translateX(-104%); visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s; box-shadow: 0 0 44px rgba(0, 0, 0, .45);
  }
  body.menyu-aciq { overflow: hidden; }
  body.menyu-aciq .menyu { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
  .menyu-perde {
    display: block; position: fixed; inset: 0; z-index: 69; background: rgba(8, 42, 51, .55);
    opacity: 0; pointer-events: none; transition: opacity .22s ease;
  }
  body.menyu-aciq .menyu-perde { opacity: 1; pointer-events: auto; }
  .menyu a:not(.menyu-bas):not(.menyu-kicik) { min-height: 44px; }
  .menyu a.menyu-kicik, .menyu-kicik { min-width: 42px; min-height: 42px; }
  .menyu-bagla {
    display: grid; place-items: center; position: absolute; top: 14px; right: 10px; width: 44px; height: 44px;
    border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
  }

  .ust-zolaq {
    position: sticky; top: 0; z-index: 40; margin: 0 -20px 16px; padding: 8px 12px; gap: 8px 10px;
    background: var(--derin); color: #fff; box-shadow: 0 6px 18px -8px rgba(8, 42, 51, .6);
  }
  .ust-zolaq h1 { flex: 1; min-width: 0; margin: 0; color: #fff; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menyu-duyme {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: rgba(255, 255, 255, .09); color: #fff; cursor: pointer;
  }
  .menyu-duyme:active, .menyu-bagla:active { background: rgba(255, 255, 255, .18); }
  .ust-sag { display: contents; }
  .ust-tarix { display: none; }
  .ust-axtar { flex: 1 0 100%; order: 5; }

  /* Yeni satış: yekun və "Satışı tamamla" bütün səhifə boyu ekranın aşağısında qalır. */
  .satis-yan { display: contents; }
  .satis-son { margin: 0 -20px -60px; padding: 8px 20px 12px; box-shadow: 0 -8px 18px -12px rgba(8, 42, 51, .5); }
  .satis-son .lent { padding: 8px 16px; margin-bottom: 8px; }
  .satis-son .yekun-qutu > div:nth-child(-n+2) { display: none; }
  .satis-son .duyme-nehenq { padding: 13px 20px; }
}
/* Dar ekranda səbət cədvəli sütunu genişləndirməsin: cədvəl öz çərçivəsində sürüşür. */
@media (max-width: 1080px) { .satis-ekran { grid-template-columns: minmax(0, 1fr); } }
@media screen and (max-width: 760px) {
  .satis-son .yekun-qutu > div:nth-child(5) { display: none; }
  .satis-son .yekun-qutu .boyuk { margin: 0; padding: 0; border: 0; }
}

/* ---------- "Zümrüd" görünüşü (sınaq): hələlik yalnız əsas səhifədə (body.tema-zumrud) ----------
   Tünd zümrüd yaşılı, krem fon, açıq qızılı vurğu. Yalnız rənglər dəyişir; şriftlər proqramın özündəki kimidir.
   Geri almaq: _ust.ejs-də body-dən "tema-zumrud" sinfini götürmək kifayətdir. */
body.tema-zumrud {
  --derin: #0f3d2e; --derin2: #14513d;
  --firuze: #c9a85c; --firuze-tund: #0f5c43; --firuze-fon: #e3eee5; --firuze-halqa: rgba(15, 92, 67, .24);
  --kagiz: #f5f1e8; --vereq: #fffdf8; --bas-fon: #f0ebdd; --boz-fon: #ebe5d5; --cizgi: #e2dccb; --cizgi-tund: #cbc2ab;
  --murekkeb: #12261f; --murekkeb-aciq: #3c4d45; --solgun: #5f6e66; --solgun2: #98a39c;
  --esas: var(--firuze-tund); --esas-tund: #0b4633; --esas-fon: var(--firuze-fon);
  --qizil: #c9a85c; --qizil-aciq: #f3e3b3;
  --kolge-kicik: 0 1px 0 rgba(18, 38, 31, .03);
  --kolge: 0 2px 4px rgba(18, 38, 31, .05), 0 16px 34px -14px rgba(18, 38, 31, .28);
  background: var(--kagiz); color: var(--murekkeb);
}
body.tema-zumrud :focus-visible { outline-color: #0f5c43; }
body.tema-zumrud .menyu :focus-visible, body.tema-zumrud .kassa-kart :focus-visible { outline-color: var(--qizil-aciq); }
body.tema-zumrud .mezmun { background: radial-gradient(1000px 460px at 100% -80px, #ebe2cb 0, transparent 70%) no-repeat; }

/* menyu */
body.tema-zumrud .menyu {
  color: #b9cfc4;
  background-image:
    repeating-radial-gradient(circle at -10% -5%, transparent 0 17px, rgba(255, 255, 255, .026) 17px 18px),
    repeating-radial-gradient(circle at 110% 105%, transparent 0 17px, rgba(255, 255, 255, .026) 17px 18px),
    linear-gradient(180deg, #0a2e22 0%, #0f3d2e 55%, #12493a 100%);
}
body.tema-zumrud .menyu a:not(.menyu-bas):not(.menyu-kicik) { color: #c4d8cd; }
body.tema-zumrud .menyu a:not(.menyu-bas):not(.menyu-kicik):hover { color: #fff; }
body.tema-zumrud .menyu a:not(.menyu-bas):not(.menyu-kicik) .ik { color: #a9c9ba; }
body.tema-zumrud .menyu a.aktiv:not(.menyu-bas) { color: #fff; background: linear-gradient(90deg, rgba(201, 168, 92, .24), rgba(201, 168, 92, .03)); box-shadow: inset 0 0 0 1px rgba(201, 168, 92, .26); }
body.tema-zumrud .menyu a.aktiv:not(.menyu-bas) .ik {
  background: linear-gradient(145deg, #ecd391, #b8923f); color: #1f2410;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 10px -3px rgba(201, 168, 92, .7);
}
body.tema-zumrud .menyu-qrup { color: #8fae9f; }
body.tema-zumrud .menyu-bas .brand-pos { color: #e6cc85; }
body.tema-zumrud .menyu-kim .kim-nisan { background: linear-gradient(145deg, #ecd391, #b8923f); color: #1f2410; }
body.tema-zumrud .menyu-kim-ad small { color: #8fae9f; }

/* üst zolaq */
body.tema-zumrud .ust-tarix, body.tema-zumrud .zeng > summary, body.tema-zumrud .support-top { background: #efe9d9; }
body.tema-zumrud .zeng > summary:hover, body.tema-zumrud .zeng[open] > summary, body.tema-zumrud .support-top:hover, body.tema-zumrud .support-top[aria-expanded=true] { background: var(--vereq); border-color: var(--firuze-tund); }
body.tema-zumrud .ust-axtar input[type=search] { background: #fbf8f0; }
body.tema-zumrud .ust-axtar input[type=search]:focus { background: #fff; }
body.tema-zumrud .zeng-setir:hover { background: #f4eedf; }

/* kassa kartı */
body.tema-zumrud .kassa-kart {
  background-image:
    repeating-radial-gradient(circle at 12% 120%, transparent 0 13px, rgba(255, 255, 255, .045) 13px 14px),
    repeating-radial-gradient(circle at 88% -20%, transparent 0 13px, rgba(255, 255, 255, .045) 13px 14px),
    linear-gradient(120deg, #0a2e22 0%, #11513c 60%, #1b6b4d 100%);
  box-shadow: 0 20px 44px -20px rgba(15, 61, 46, .75);
}
body.tema-zumrud .kassa-kart::after { border-color: rgba(243, 227, 179, .22); }
body.tema-zumrud .kassa-kart .etiket { color: #b8d3c6; }
body.tema-zumrud .kassa-kart .mebleg { color: var(--qizil-aciq); }
body.tema-zumrud .kassa-kart .mebleg span { color: #d9c078; }
body.tema-zumrud .kassa-kart .yan { color: #b8d3c6; }
body.tema-zumrud .kassa-kart .duyme-esas, body.tema-zumrud .kassa-kart .duyme-esas:hover {
  background: linear-gradient(180deg, #f0d896, #c9a85c); border-color: #f3dfa8; color: #23210f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px -8px rgba(201, 168, 92, .85);
}

/* düymələr, seçim */
body.tema-zumrud .duyme:hover { background: #f6f1e3; border-color: #b9ae93; }
body.tema-zumrud .duyme:not(.duyme-esas):not(.duyme-tehluke) { border-color: #cbc2ab; }
body.tema-zumrud .duyme-esas { background: linear-gradient(180deg, #18704f, #0f5c43); border-color: #0b4633; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 14px -8px rgba(15, 92, 67, .9); }
body.tema-zumrud .duyme-esas:hover { background: linear-gradient(180deg, #18704f, #0f5c43); border-color: #0b4633; }
body.tema-zumrud .kassa-kart .duyme:not(.duyme-esas) { border-color: rgba(255, 255, 255, .22); }
body.tema-zumrud .kassa-kart .duyme:not(.duyme-esas):hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); }
body.tema-zumrud .secim { background: #e9e2cf; }

/* göstərici kartları */
body.tema-zumrud .gun-zolagi > a { background: var(--vereq); border-color: var(--cizgi); }
body.tema-zumrud .gun-zolagi > a.xeber { background: linear-gradient(140deg, #fffaf7 30%, #f8e2de); border-color: #ecc0c0; }
body.tema-zumrud .cip-firuze { background: var(--firuze-fon); }
body.tema-zumrud .cip-yasil { background: var(--yasil-fon); }
body.tema-zumrud .cip-goy { background: var(--goy-fon); }
body.tema-zumrud .cip-benovse { background: var(--benovse-fon); }
body.tema-zumrud .cip-kehraba { background: var(--marker-fon); }
body.tema-zumrud .cip-nar { background: var(--qirmizi-fon); }

/* panel və cədvəl */
body.tema-zumrud .panel { background: var(--vereq); }
body.tema-zumrud .cedvel th, body.tema-zumrud .cedvel td { border-bottom-color: #ece5d3; }
body.tema-zumrud .cedvel th { background: var(--derin); color: #ece2c4; border-bottom: 0; }
body.tema-zumrud .cedvel tbody tr:nth-child(even) { background: #faf6ec; }
body.tema-zumrud .cedvel tbody tr:hover { background: #f1ead7; }

/* Zümrüd: bütün səhifələr üçün qalan hissələr (süzgəc, xanalar, cədvəl yekunu, Z vərəqi, giriş səhifəsi) */
body.tema-zumrud .menyu a.menyu-kicik, body.tema-zumrud .menyu-kicik { color: #a9c9ba; }
body.tema-zumrud .suzgec, body.tema-zumrud .xulase-setir { background: #f1ecdf; border-color: var(--cizgi); }
body.tema-zumrud input[type=text], body.tema-zumrud input[type=password], body.tema-zumrud input[type=number],
body.tema-zumrud input[type=date], body.tema-zumrud input[type=tel], body.tema-zumrud input[type=search],
body.tema-zumrud input[type=file], body.tema-zumrud select, body.tema-zumrud textarea { background: #fffefb; border-color: var(--cizgi-tund); }
body.tema-zumrud input:hover, body.tema-zumrud select:hover { border-color: #b3a88c; }
body.tema-zumrud input:focus, body.tema-zumrud select:focus, body.tema-zumrud textarea:focus { border-color: var(--firuze-tund); box-shadow: 0 0 0 3px var(--firuze-halqa); }
body.tema-zumrud input[readonly] { background: #f1ecdf; }
body.tema-zumrud .cedvel tfoot td { background: #ebe4d0; color: var(--murekkeb); }
body.tema-zumrud .kart { background: var(--vereq); }
body.tema-zumrud .lent { background: var(--vereq); }
body.tema-zumrud .odenis-novleri label.secili { box-shadow: 0 8px 18px -10px rgba(15, 61, 46, .8); }
body.tema-zumrud .odenis-novleri label:focus-within { outline-color: var(--firuze-tund); }
body.tema-zumrud .fayl-zona { background: #fbf8f0; }
body.tema-zumrud .fayl-zona:hover, body.tema-zumrud .fayl-zona:focus-within, body.tema-zumrud .fayl-zona.suruklenir { border-color: var(--firuze-tund); }
body.tema-zumrud .z-vereq .z-alt-basliq { color: #b8d3c6; }
body.tema-zumrud .z-kassa { background: linear-gradient(120deg, #0a2e22 0%, #11513c 70%, #1b6b4d 100%); }
body.tema-zumrud .z-kassa > span:first-child { color: #b8d3c6; }
body.tema-zumrud .z-kassa > span:last-child { color: var(--qizil-aciq); }
body.tema-zumrud .axtaris-netice a:hover, body.tema-zumrud .axtaris-netice a.secili { background: var(--firuze-fon); color: #0b3b2b; }
body.tema-zumrud.giris-sehife {
  background-image:
    repeating-radial-gradient(circle at 10% 110%, transparent 0 15px, rgba(255, 255, 255, .045) 15px 16px),
    repeating-radial-gradient(circle at 90% -10%, transparent 0 15px, rgba(255, 255, 255, .045) 15px 16px),
    linear-gradient(120deg, #0a2e22 0%, #11513c 60%, #1b6b4d 100%);
}
body.tema-zumrud.gir { background: #f5f1e8; color: #12261f; }
body.tema-zumrud .gir-sol { background: #0f3d2e; }
body.tema-zumrud .gir-suar p { color: #b8d3c6; }
body.tema-zumrud .gir-kart { background: #fffdf8; box-shadow: 0 1px 2px rgba(18, 38, 31, .06), 0 18px 40px -18px rgba(18, 38, 31, .3); }
body.tema-zumrud .gir-kart h1, body.tema-zumrud .gir-kart label { color: #12261f; }
body.tema-zumrud .gir-alt, body.tema-zumrud .gir-son, body.tema-zumrud .gir-goz { color: #4f5f57; }
body.tema-zumrud .gir-kart input[type=text], body.tema-zumrud .gir-kart input[type=password] { border-color: #cbc2ab; }
body.tema-zumrud .gir-kart input:focus { border-color: #0f5c43; box-shadow: 0 0 0 3px rgba(15, 92, 67, .24); }
body.tema-zumrud .gir-goz:hover { background: #f1ecdf; color: #12261f; }
body.tema-zumrud .gir-goz.aciq { color: #0f5c43; }
body.tema-zumrud .gir-duyme { background: #0f5c43; box-shadow: 0 10px 20px -12px rgba(15, 92, 67, .9); }
body.tema-zumrud .gir-duyme:hover { background: #0b4633; }

/* Xülasə zolağında rəqəmin altındakı kiçik izah ayrıca sətirdə dursun */
.xulase-setir div small { display: block; font-size: .83rem; font-weight: 400; margin-top: 2px; }
body.tema-zumrud .gir-sol .brand-pos { color: #e6cc85; }

/* Cədvəl sətrində düymələrin yanında dayanan kiçik forma (məs. malı sil) */
.setir-forma { display: inline-block; margin: 0 0 0 6px; vertical-align: middle; }

/* ---------- Əsas səhifə: idarəetmə paneli (rəngli göstəricilər, diaqramlar, çox panelli düzülüş) ---------- */
body[data-yol="/"] .mezmun > * { margin-left: auto; margin-right: auto; }
.ep-bas { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ep-emeller { display: flex; gap: 10px; flex-wrap: wrap; }
.ep-emeller .duyme { padding: 10px 16px; border-radius: 11px; }
.ep-dovr { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: .9rem; }

/* rəngli göstərici kartları */
.ep-gost { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.ep-g {
  position: relative; overflow: hidden; display: block; border-radius: 16px; padding: 16px 18px 15px; color: #fff; text-decoration: none; font-weight: 400;
  box-shadow: 0 14px 28px -18px rgba(18, 38, 31, .6); transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.ep-g:hover { color: #fff; text-decoration: none; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 30px -16px rgba(18, 38, 31, .65); }
.ep-g > div { position: relative; z-index: 1; }
.ep-g-ad { display: flex; align-items: center; gap: 9px; font-size: .92rem; opacity: .92; }
.ep-g-ad span { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.ep-g-ad .ik { width: 18px; height: 18px; flex-basis: 18px; }
.ep-g-deyer { font-family: var(--reqem-sirift); font-size: 2.3rem; font-weight: 600; line-height: 1.1; margin: 9px 0 7px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-g-deyer small { font-size: .95rem; font-weight: 500; opacity: .8; margin-left: 7px; }
.ep-g-alt { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .87rem; opacity: .95; min-height: 1.5rem; }
.ep-g-alt b { font-family: var(--reqem-sirift); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-ferq { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 1px 9px; font-family: var(--reqem-sirift); font-weight: 600; }
.ep-xett { position: absolute; right: 0; top: 12px; width: 36%; height: 42px; opacity: .55; color: #fff; }
.ep-kassa { background: linear-gradient(135deg, #0a2e22, #17694e); }
.ep-kassa .ep-g-deyer { color: #f3e3b3; }
.ep-satis, .ep-nagd { background: linear-gradient(135deg, #1b8f5a, #2fae77); }
.ep-qazanc, .ep-xalis { background: linear-gradient(135deg, #b8923f, #d8ba6a); color: #23210f; }
.ep-qazanc:hover, .ep-xalis:hover { color: #23210f; }
.ep-qazanc .ep-g-ad span, .ep-qazanc .ep-ferq, .ep-xalis .ep-g-ad span { background: rgba(35, 33, 15, .13); }
.ep-borc { background: linear-gradient(135deg, #8c1c33, #c8354f); }
.ep-nagdsiz { background: linear-gradient(135deg, #1f4f9c, #3a7ad6); }
.ep-xerc { background: linear-gradient(135deg, #8a5a0d, #c9871f); }

/* qalan göstəricilər: sakit zolaq */
.ep-zolaq { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-bottom: 16px; background: var(--vereq); border: 1px solid var(--cizgi); border-radius: 14px; overflow: hidden; }
.ep-zolaq a { display: flex; align-items: center; gap: 11px; padding: 11px 16px; color: var(--murekkeb); text-decoration: none; font-weight: 400; border-right: 1px solid var(--cizgi); transition: background .12s; }
.ep-zolaq a:last-child { border-right: 0; }
.ep-zolaq a:hover { background: var(--bas-fon); color: var(--murekkeb); text-decoration: none; }
.ep-z-ik { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background-image: none; }
.ep-z-ik.ep-xalis { background: #d8ba6a; color: #23210f; } .ep-z-ik.ep-nagd { background: #1b8f5a; } .ep-z-ik.ep-nagdsiz { background: #2f6fd0; } .ep-z-ik.ep-xerc { background: #c9871f; }
.ep-z-ik .ik { width: 18px; height: 18px; flex-basis: 18px; }
.ep-z-metn { flex: 1; min-width: 0; font-size: .9rem; font-weight: 500; }
.ep-z-metn small { display: block; color: var(--solgun); font-size: .8rem; font-weight: 400; }
.ep-zolaq b { font-family: var(--reqem-sirift); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-zolaq a.xeber b { color: var(--qirmizi); }

/* panellər */
.ep-sira { display: grid; gap: 16px; margin-bottom: 16px; align-items: stretch; }
.ep-sira-2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.ep-sira-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
.panel.ep-panel { margin-bottom: 0; padding: 16px 18px; min-width: 0; }
.ep-pb { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.ep-pb h2 { margin: 0; padding: 0; border: 0; font-size: 1.05rem; }
.ep-pb p { margin: 1px 0 0; color: var(--solgun); font-size: .84rem; }
.ep-pb-ik { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: var(--firuze-fon); color: var(--firuze-tund); display: grid; place-items: center; }
.ep-pb-ik .ik { width: 18px; height: 18px; flex-basis: 18px; }
.ep-kecid { margin-left: auto; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.ep-efsane { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--solgun); }
.ep-efsane i, .ep-don-siyahi i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.ep-bos { margin: 0; padding: 26px 8px; text-align: center; color: var(--solgun); }
i.ep-r-nagd { background: #17694e; } i.ep-r-nagdsiz { background: #2f6fd0; } i.ep-r-borca { background: #c8354f; } i.ep-r-nisye { background: #c9871f; } i.ep-r-kredit { background: #6a55c9; }

.ep-diaqram { display: block; width: 100%; height: auto; }
.ep-diaqram text { font-family: var(--metn-sirift); font-size: 12px; fill: var(--solgun); }
.ep-diaqram .ep-q { font-family: var(--reqem-sirift); fill: var(--murekkeb); font-weight: 600; }
.ep-diaqram .ep-tor { stroke: #e6dfcd; stroke-width: 1; stroke-dasharray: 3 4; }
.ep-diaqram .ep-ox { stroke: #cfc7b1; stroke-width: 1; }
.ep-diaqram rect.ep-r-nagd { fill: #17694e; } .ep-diaqram rect.ep-r-nagdsiz { fill: #2f6fd0; } .ep-diaqram rect.ep-r-borca { fill: #c8354f; }
.ep-diaqram g rect { opacity: .78; transition: opacity .12s; }
.ep-diaqram g.ep-bugun rect, .ep-diaqram g:hover rect { opacity: 1; }

.ep-don { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ep-don svg { width: 142px; height: 142px; flex: 0 0 142px; }
.ep-s-nagd { stroke: #17694e; } .ep-s-nagdsiz { stroke: #2f6fd0; } .ep-s-nisye { stroke: #c9871f; } .ep-s-kredit { stroke: #6a55c9; }
.ep-don-cem { font-family: var(--reqem-sirift); font-size: 21px; font-weight: 600; fill: var(--murekkeb); }
.ep-don-alt { font-size: 12px; fill: var(--solgun); }
.ep-don-siyahi { flex: 1 1 140px; display: grid; gap: 9px; font-size: .92rem; }
.ep-don-siyahi div { display: flex; align-items: center; }
.ep-don-siyahi b { margin-left: auto; font-family: var(--reqem-sirift); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-don-siyahi small { width: 40px; text-align: right; color: var(--solgun); font-family: var(--reqem-sirift); }

.ep-cedvel { width: 100%; border-collapse: collapse; font-size: .93rem; }
.ep-cedvel th { text-align: left; font-weight: 500; font-size: .8rem; color: #ece2c4; background: var(--derin); padding: 9px 12px; white-space: nowrap; }
.ep-cedvel th:first-child { border-radius: 9px 0 0 9px; } .ep-cedvel th:last-child { border-radius: 0 9px 9px 0; }
.ep-cedvel td { padding: 9px 12px; border-bottom: 1px solid #ece5d3; vertical-align: middle; }
.ep-cedvel tr:last-child td { border-bottom: 0; }
.ep-cedvel .sag { text-align: right; white-space: nowrap; }
.ep-cedvel td small { display: block; color: var(--solgun); font-size: .8rem; }
.ep-cedvel td.sag b { font-family: var(--reqem-sirift); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-cedvel td small.qirmizi { color: var(--qirmizi); }
.ep-cedvel tr.legv td { color: var(--solgun); } .ep-cedvel tr.legv td.sag b { text-decoration: line-through; }
.ep-cedvel .nisan-nagd { color: var(--yasil-tund); } .ep-cedvel .nisan-nagdsiz { color: #1f4f9c; }

.ep-zol { display: grid; gap: 12px; }
.ep-zol-ust { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: .92rem; }
.ep-zol-ust span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-zol-ust b { font-family: var(--reqem-sirift); font-weight: 600; font-variant-numeric: tabular-nums; }
.ep-cubuq { height: 8px; border-radius: 999px; background: #ebe5d5; overflow: hidden; }
.ep-cubuq i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #17694e, #2fae77); }

.ep-dq a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; margin-bottom: 7px; background: #f6f1e4; color: var(--murekkeb); text-decoration: none; font-weight: 400; transition: filter .12s; }
.ep-dq a:last-child { margin-bottom: 0; }
.ep-dq a:hover { filter: brightness(.97); color: var(--murekkeb); text-decoration: none; }
.ep-dq a > span { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; background: #ebe5d5; color: var(--solgun); }
.ep-dq a > span .ik { width: 18px; height: 18px; flex-basis: 18px; }
.ep-dq em { flex: 1; min-width: 0; font-style: normal; font-weight: 500; font-size: .92rem; }
.ep-dq em small { display: block; color: var(--solgun); font-weight: 400; font-size: .82rem; }
.ep-dq b { font-family: var(--reqem-sirift); font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-dq a.xeber { background: var(--qirmizi-fon); } .ep-dq a.xeber > span { background: #f7cfd6; color: var(--qirmizi-tund); } .ep-dq a.xeber b { color: var(--qirmizi-tund); }
.ep-dq a.xeb2 > span { background: #f6e3bd; color: #8a5a0d; }

@media (max-width: 1180px) {
  .ep-gost { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-sira-2, .ep-sira-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .ep-gost { grid-template-columns: minmax(0, 1fr); } .ep-zolaq a { border-right: 0; border-bottom: 1px solid var(--cizgi); } }
@media (prefers-reduced-motion: reduce) { .ep-g:hover { transform: none; } }
@media print {
  .ep-g { color: #000 !important; background: none !important; border: 1px solid #000; box-shadow: none; }
  .ep-g-deyer { color: #000 !important; } .ep-xett { display: none; }
  .ep-sira { display: block; } .panel.ep-panel { margin-bottom: 12px; }
}

/* ---------- "Yaşıl" görünüşü: bütün səhifələrdə (body.tema-yasil) ----------
   Tünd boz menyu, təzə yaşıl vurğu, ağ kartlar, açıq boz fon. Şrift: Inter (proqramın içindəki fayllardan:
   public/fonts). Geri almaq: _ust.ejs-də body-dən "tema-yasil" sinfini götürmək. */
body.tema-zumrud.tema-yasil {
  --derin: #2f8b5d; --derin2: #287a51;
  --firuze: #2f9b6a; --firuze-tund: #1f7a52; --firuze-fon: #e3f4ec; --firuze-halqa: rgba(47, 155, 106, .26);
  --kagiz: #f3f5f4; --vereq: #ffffff; --bas-fon: #f1f4f3; --boz-fon: #e9edeb; --cizgi: #e4e8e6; --cizgi-tund: #cfd6d2;
  --murekkeb: #1e2a2c; --murekkeb-aciq: #3d4a4e; --solgun: #66747a; --solgun2: #9aa5aa;
  --esas: var(--firuze-tund); --esas-tund: #17623f; --esas-fon: var(--firuze-fon);
  --metn-sirift: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --basliq-sirift: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --reqem-sirift: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --kolge-kicik: 0 1px 0 rgba(30, 42, 44, .03);
  --kolge: 0 2px 4px rgba(30, 42, 44, .05), 0 16px 34px -14px rgba(30, 42, 44, .26);
  background: var(--kagiz); color: var(--murekkeb); font-family: var(--metn-sirift);
}
body.tema-zumrud.tema-yasil :focus-visible { outline-color: #1f7a52; }
body.tema-zumrud.tema-yasil .menyu :focus-visible { outline-color: #7fe0b0; }
body.tema-zumrud.tema-yasil .mezmun { background: radial-gradient(1000px 460px at 100% -80px, #e2efe8 0, transparent 70%) no-repeat; }
body.tema-zumrud.tema-yasil h1 { font-weight: 700; letter-spacing: -.025em; }
body.tema-zumrud.tema-yasil h2 { font-weight: 700; letter-spacing: -.015em; }

/* menyu: tünd boz */
body.tema-zumrud.tema-yasil .menyu {
  color: #c9d0d3; background-color: #2a2e31;
  background-image:
    repeating-radial-gradient(circle at -10% -5%, transparent 0 17px, rgba(255, 255, 255, .022) 17px 18px),
    repeating-radial-gradient(circle at 110% 105%, transparent 0 17px, rgba(255, 255, 255, .022) 17px 18px),
    linear-gradient(180deg, #2a2e31 0%, #33383b 100%);
}
body.tema-zumrud.tema-yasil .menyu a:not(.menyu-bas):not(.menyu-kicik) { color: #c9d0d3; font-size: .96rem; font-weight: 500; letter-spacing: 0; }
body.tema-zumrud.tema-yasil .menyu a:not(.menyu-bas):not(.menyu-kicik):hover { color: #fff; }
body.tema-zumrud.tema-yasil .menyu a:not(.menyu-bas):not(.menyu-kicik) .ik { color: #aab4b8; }
body.tema-zumrud.tema-yasil .menyu a.aktiv:not(.menyu-bas) { color: #fff; font-weight: 600; background: linear-gradient(90deg, rgba(63, 178, 123, .32), rgba(63, 178, 123, .05)); box-shadow: inset 0 0 0 1px rgba(63, 178, 123, .36); }
body.tema-zumrud.tema-yasil .menyu a.aktiv:not(.menyu-bas) .ik {
  background: linear-gradient(145deg, #55c990, #2f9b6a); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px -3px rgba(47, 155, 106, .8);
}
body.tema-zumrud.tema-yasil .menyu-qrup { color: #8d979c; letter-spacing: .04em; }
body.tema-zumrud.tema-yasil .menyu-bas .brend-ad { font-weight: 700; letter-spacing: -.01em; }
body.tema-zumrud.tema-yasil .menyu-bas .brand-pos { color: #7fe0b0; }
body.tema-zumrud.tema-yasil .menyu-kim .kim-nisan { background: linear-gradient(145deg, #55c990, #2f9b6a); color: #fff; }
body.tema-zumrud.tema-yasil .menyu-kim-ad small { color: #8d979c; }
body.tema-zumrud.tema-yasil .menyu a.menyu-kicik, body.tema-zumrud.tema-yasil .menyu-kicik { color: #aab4b8; }
body.tema-zumrud.tema-yasil .menyu-say { background: #3fb27b; color: #fff; }

/* üst zolaq, düymələr */
body.tema-zumrud.tema-yasil .ust-tarix, body.tema-zumrud.tema-yasil .zeng > summary, body.tema-zumrud.tema-yasil .support-top { background: #fff; }
body.tema-zumrud.tema-yasil .zeng > summary:hover, body.tema-zumrud.tema-yasil .zeng[open] > summary, body.tema-zumrud.tema-yasil .support-top:hover, body.tema-zumrud.tema-yasil .support-top[aria-expanded=true] { background: #fff; border-color: var(--firuze-tund); }
body.tema-zumrud.tema-yasil .ust-axtar input[type=search] { background: #fff; }
body.tema-zumrud.tema-yasil .zeng-setir:hover { background: #f1f4f3; }
body.tema-zumrud.tema-yasil .duyme:hover { background: #f1f4f3; border-color: #b9c3be; }
body.tema-zumrud.tema-yasil .duyme:not(.duyme-esas):not(.duyme-tehluke) { border-color: #cfd6d2; }
body.tema-zumrud.tema-yasil .duyme-esas, body.tema-zumrud.tema-yasil .duyme-esas:hover { background: linear-gradient(180deg, #34a873, #1f7a52); border-color: #1f7a52; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 16px -10px rgba(31, 122, 82, .9); }
body.tema-zumrud.tema-yasil .secim { background: #e4e8e6; }
body.tema-zumrud.tema-yasil .panel { background: #fff; }

/* göstərici kartları */
body.tema-zumrud.tema-yasil .ep-g-deyer { font-weight: 700; letter-spacing: -.02em; }
body.tema-zumrud.tema-yasil .ep-kassa, body.tema-zumrud.tema-yasil .ep-nagd { background: linear-gradient(135deg, #1f7a52, #3fb27b); }
body.tema-zumrud.tema-yasil .ep-kassa .ep-g-deyer { color: #fff; }
body.tema-zumrud.tema-yasil .ep-satis { background: linear-gradient(135deg, #2460a8, #3f8ae0); }
body.tema-zumrud.tema-yasil .ep-qazanc, body.tema-zumrud.tema-yasil .ep-xalis, body.tema-zumrud.tema-yasil .ep-xerc { background: linear-gradient(135deg, #d6851a, #f2ab3c); color: #fff; }
body.tema-zumrud.tema-yasil .ep-qazanc:hover, body.tema-zumrud.tema-yasil .ep-xalis:hover { color: #fff; }
body.tema-zumrud.tema-yasil .ep-qazanc .ep-g-ad span, body.tema-zumrud.tema-yasil .ep-qazanc .ep-ferq, body.tema-zumrud.tema-yasil .ep-xalis .ep-g-ad span { background: rgba(255, 255, 255, .2); }
body.tema-zumrud.tema-yasil .ep-borc { background: linear-gradient(135deg, #b83245, #e2596b); }
body.tema-zumrud.tema-yasil .ep-nagdsiz { background: linear-gradient(135deg, #5b46c2, #8b6fd6); }
body.tema-zumrud.tema-yasil .ep-z-ik.ep-xalis { background: #f2ab3c; color: #fff; }
body.tema-zumrud.tema-yasil .ep-z-ik.ep-nagd { background: #2f9b6a; }
body.tema-zumrud.tema-yasil .ep-z-ik.ep-nagdsiz { background: #3f8ae0; }
body.tema-zumrud.tema-yasil .ep-z-ik.ep-xerc { background: #e2596b; }
body.tema-zumrud.tema-yasil .ep-zolaq b, body.tema-zumrud.tema-yasil .ep-dq b, body.tema-zumrud.tema-yasil .ep-don-siyahi b,
body.tema-zumrud.tema-yasil .ep-zol-ust b, body.tema-zumrud.tema-yasil .ep-cedvel td.sag b, body.tema-zumrud.tema-yasil .ep-diaqram .ep-q { font-weight: 700; }

/* diaqramlar */
body.tema-zumrud.tema-yasil i.ep-r-nagd { background: #2f9b6a; } body.tema-zumrud.tema-yasil i.ep-r-nagdsiz { background: #3f8ae0; }
body.tema-zumrud.tema-yasil i.ep-r-borca { background: #e2596b; } body.tema-zumrud.tema-yasil i.ep-r-nisye { background: #f2ab3c; } body.tema-zumrud.tema-yasil i.ep-r-kredit { background: #8b6fd6; }
body.tema-zumrud.tema-yasil .ep-diaqram rect.ep-r-nagd { fill: #2f9b6a; } body.tema-zumrud.tema-yasil .ep-diaqram rect.ep-r-nagdsiz { fill: #3f8ae0; } body.tema-zumrud.tema-yasil .ep-diaqram rect.ep-r-borca { fill: #e2596b; }
body.tema-zumrud.tema-yasil .ep-diaqram .ep-tor { stroke: #e4e8e6; } body.tema-zumrud.tema-yasil .ep-diaqram .ep-ox { stroke: #cfd6d2; }
body.tema-zumrud.tema-yasil .ep-s-nagd { stroke: #2f9b6a; } body.tema-zumrud.tema-yasil .ep-s-nagdsiz { stroke: #3f8ae0; }
body.tema-zumrud.tema-yasil .ep-s-nisye { stroke: #f2ab3c; } body.tema-zumrud.tema-yasil .ep-s-kredit { stroke: #8b6fd6; }
body.tema-zumrud.tema-yasil .ep-don-cem { font-weight: 700; }

/* cədvəl, zolaqlar, diqqət siyahısı */
body.tema-zumrud.tema-yasil .ep-cedvel th { color: #fff; font-weight: 600; }
body.tema-zumrud.tema-yasil .ep-cedvel td { border-bottom-color: #e4e8e6; }
body.tema-zumrud.tema-yasil .ep-cubuq { background: #e4e8e6; }
body.tema-zumrud.tema-yasil .ep-cubuq i { background: linear-gradient(90deg, #2f9b6a, #6fd3a2); }
body.tema-zumrud.tema-yasil .ep-dq a { background: #f3f5f4; }
body.tema-zumrud.tema-yasil .ep-dq a > span { background: #e4e8e6; }
body.tema-zumrud.tema-yasil .ep-dq a.xeber { background: var(--qirmizi-fon); }
body.tema-zumrud.tema-yasil .ep-dq a.xeber > span { background: #f7cfd6; }
body.tema-zumrud.tema-yasil .ep-dq a.xeb2 > span { background: #f6e3bd; }

/* Inter enli şriftdir: əsas səhifədə uzun yazılar iki sətrə düşməsin */
body.tema-zumrud.tema-yasil .ep-g-alt { font-size: .82rem; gap: 6px; }
body.tema-zumrud.tema-yasil .ep-ferq { padding: 1px 7px; }
/* Kartın adı kəsilmir ("Xalis mənf…"): yer azdırsa iki sətrə düşür. */
body.tema-zumrud.tema-yasil .ep-z-metn { font-size: .86rem; line-height: 1.25; overflow-wrap: anywhere; }
.ep-cedvel-qabiq { overflow-x: auto; }   /* telefonda cədvəl səhifəni yana sürüşdürməsin */
/* Planşet enində (760–800px) yuxarıdakı axtarış xanası səhifədən daşmasın: yer azdırsa daralır. */
@media screen and (min-width: 761px) {
  .ust-sag { max-width: 100%; min-width: 0; }
  .ust-axtar { flex: 0 1 320px; min-width: 120px; }
}
body.tema-zumrud.tema-yasil .ep-zolaq a { padding: 11px 13px; gap: 9px; }
body.tema-zumrud.tema-yasil .ep-zolaq b { font-size: 1.15rem; }
body.tema-zumrud.tema-yasil .ep-dq a { gap: 10px; padding: 10px; }
body.tema-zumrud.tema-yasil .ep-dq em { font-size: .87rem; }
body.tema-zumrud.tema-yasil .ep-dq em small { font-size: .78rem; }
body.tema-zumrud.tema-yasil .ep-dq b { font-size: 1.08rem; }
body.tema-zumrud.tema-yasil .ep-cedvel { font-size: .89rem; }
body.tema-zumrud.tema-yasil .ep-cedvel th, body.tema-zumrud.tema-yasil .ep-cedvel td { padding-left: 9px; padding-right: 9px; }
body.tema-zumrud.tema-yasil .ep-zol-ust { font-size: .89rem; }

/* "Yaşıl" görünüşü: bütün səhifələr üçün qalan hissələr (cədvəllər, süzgəc, xanalar, Z vərəqi, giriş səhifəsi) */
body.tema-zumrud.tema-yasil { --qizil: #3fb27b; --qizil-aciq: #ffffff; }
body.tema-zumrud.tema-yasil .cedvel th, body.tema-zumrud.tema-yasil .cedvel td { border-bottom-color: #e7ebe9; }
body.tema-zumrud.tema-yasil .cedvel th { background: var(--derin); color: #fff; font-weight: 600; border-bottom: 0; }
body.tema-zumrud.tema-yasil .cedvel tbody tr:nth-child(even) { background: #f7f9f8; }
body.tema-zumrud.tema-yasil .cedvel tbody tr:hover { background: #e9f4ee; }
body.tema-zumrud.tema-yasil .cedvel tfoot td { background: #e9edeb; color: var(--murekkeb); }
body.tema-zumrud.tema-yasil .suzgec, body.tema-zumrud.tema-yasil .xulase-setir { background: #f8faf9; border-color: var(--cizgi); }
body.tema-zumrud.tema-yasil input[type=text], body.tema-zumrud.tema-yasil input[type=password], body.tema-zumrud.tema-yasil input[type=number],
body.tema-zumrud.tema-yasil input[type=date], body.tema-zumrud.tema-yasil input[type=tel], body.tema-zumrud.tema-yasil input[type=search],
body.tema-zumrud.tema-yasil input[type=file], body.tema-zumrud.tema-yasil select, body.tema-zumrud.tema-yasil textarea { background: #fff; border-color: var(--cizgi-tund); }
body.tema-zumrud.tema-yasil input:hover, body.tema-zumrud.tema-yasil select:hover { border-color: #aeb9b4; }
body.tema-zumrud.tema-yasil input:focus, body.tema-zumrud.tema-yasil select:focus, body.tema-zumrud.tema-yasil textarea:focus { border-color: var(--firuze-tund); box-shadow: 0 0 0 3px var(--firuze-halqa); }
body.tema-zumrud.tema-yasil input[readonly] { background: #f1f4f3; }
body.tema-zumrud.tema-yasil .kart, body.tema-zumrud.tema-yasil .lent, body.tema-zumrud.tema-yasil .gun-zolagi > a { background: #fff; }
body.tema-zumrud.tema-yasil .gun-zolagi > a.xeber, body.tema-zumrud.tema-yasil .kart-xeber { background: linear-gradient(140deg, #fff 30%, #fbe6e9); border-color: #f0c5cd; }
body.tema-zumrud.tema-yasil .odenis-novleri label.secili { box-shadow: 0 8px 18px -10px rgba(47, 139, 93, .8); }
body.tema-zumrud.tema-yasil .fayl-zona { background: #f8faf9; }
body.tema-zumrud.tema-yasil .z-vereq .z-alt-basliq { color: #d6efe2; }
body.tema-zumrud.tema-yasil .z-kassa { background: linear-gradient(120deg, #1f7a52 0%, #2f9b6a 70%, #3fb27b 100%); }
body.tema-zumrud.tema-yasil .z-kassa > span:first-child { color: #d6efe2; }
body.tema-zumrud.tema-yasil .z-kassa > span:last-child { color: #fff; }
body.tema-zumrud.tema-yasil .axtaris-netice a:hover, body.tema-zumrud.tema-yasil .axtaris-netice a.secili { background: var(--firuze-fon); color: #0f4a31; }
body.tema-zumrud.tema-yasil .kassa-kart {
  background-image:
    repeating-radial-gradient(circle at 12% 120%, transparent 0 13px, rgba(255, 255, 255, .05) 13px 14px),
    repeating-radial-gradient(circle at 88% -20%, transparent 0 13px, rgba(255, 255, 255, .05) 13px 14px),
    linear-gradient(120deg, #1f7a52 0%, #2f9b6a 60%, #3fb27b 100%);
  box-shadow: 0 20px 44px -20px rgba(31, 122, 82, .7);
}
body.tema-zumrud.tema-yasil .kassa-kart .mebleg { color: #fff; }
body.tema-zumrud.tema-yasil .kassa-kart .mebleg span, body.tema-zumrud.tema-yasil .kassa-kart .etiket, body.tema-zumrud.tema-yasil .kassa-kart .yan { color: #d6efe2; }
body.tema-zumrud.tema-yasil .kassa-kart .duyme-esas, body.tema-zumrud.tema-yasil .kassa-kart .duyme-esas:hover { background: #fff; border-color: #fff; color: #1f7a52; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35); }
body.tema-zumrud.tema-yasil .cedvel td.sag, body.tema-zumrud.tema-yasil .xulase-setir div b, body.tema-zumrud.tema-yasil .gun-zolagi .deyer, body.tema-zumrud.tema-yasil .kart-deyer { font-weight: 600; }
body.tema-zumrud.tema-yasil .duyme { font-weight: 500; }
body.tema-zumrud.tema-yasil .duyme-esas { font-weight: 600; }

/* giriş və xəta səhifələri */
body.tema-zumrud.tema-yasil.giris-sehife {
  background-color: #2a2e31;
  background-image:
    repeating-radial-gradient(circle at 10% 110%, transparent 0 15px, rgba(255, 255, 255, .035) 15px 16px),
    repeating-radial-gradient(circle at 90% -10%, transparent 0 15px, rgba(255, 255, 255, .035) 15px 16px),
    linear-gradient(120deg, #2a2e31 0%, #33383b 60%, #3a4044 100%);
}
body.tema-zumrud.tema-yasil.gir { background: #f3f5f4; color: #1e2a2c; }
body.tema-zumrud.tema-yasil .gir-sol { background: #2a2e31; }
body.tema-zumrud.tema-yasil .gir-suar h2 { font-family: var(--basliq-sirift); letter-spacing: -.02em; }
body.tema-zumrud.tema-yasil .gir-suar p { color: #c9d0d3; }
body.tema-zumrud.tema-yasil .gir-sol .brand-pos { color: #7fe0b0; }
body.tema-zumrud.tema-yasil .gir-kart { background: #fff; box-shadow: 0 1px 2px rgba(30, 42, 44, .06), 0 18px 40px -18px rgba(30, 42, 44, .28); }
body.tema-zumrud.tema-yasil .gir-kart h1, body.tema-zumrud.tema-yasil .gir-kart label { color: #1e2a2c; }
body.tema-zumrud.tema-yasil .gir-alt, body.tema-zumrud.tema-yasil .gir-son, body.tema-zumrud.tema-yasil .gir-goz { color: #66747a; }
body.tema-zumrud.tema-yasil .gir-kart input[type=text], body.tema-zumrud.tema-yasil .gir-kart input[type=password] { border-color: #cfd6d2; }
body.tema-zumrud.tema-yasil .gir-kart input:focus { border-color: #1f7a52; box-shadow: 0 0 0 3px rgba(47, 155, 106, .26); }
body.tema-zumrud.tema-yasil .gir-goz:hover { background: #f1f4f3; color: #1e2a2c; }
body.tema-zumrud.tema-yasil .gir-goz.aciq { color: #1f7a52; }
body.tema-zumrud.tema-yasil .gir-duyme { background: #2f9b6a; box-shadow: 0 10px 20px -12px rgba(47, 155, 106, .9); }
body.tema-zumrud.tema-yasil .gir-duyme:hover { background: #1f7a52; }

/* Inter enli olduğu üçün cədvəl xanalarının yan boşluğu azaldılır: geniş cədvəllər 1366 enində sürüşməsin */
body.tema-zumrud.tema-yasil .cedvel { font-size: .94rem; }
body.tema-zumrud.tema-yasil .cedvel th, body.tema-zumrud.tema-yasil .cedvel td { padding-left: 11px; padding-right: 11px; }
body.tema-zumrud.tema-yasil .panel .cedvel-qabiq .cedvel th:first-child, body.tema-zumrud.tema-yasil .panel .cedvel-qabiq .cedvel td:first-child { padding-left: 22px; }
body.tema-zumrud.tema-yasil .panel .cedvel-qabiq .cedvel th:last-child, body.tema-zumrud.tema-yasil .panel .cedvel-qabiq .cedvel td:last-child { padding-right: 22px; }
body.tema-zumrud.tema-yasil .nisan { font-size: .78rem; }

/* ---------- Inter şrifti: proqramın içindəki fayllardan yüklənir (internetsiz də işləyir) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tarix xanası və təqvim: proqramın dizaynına uyğun ---------- */
/* Xanada gün/ay/il hissəsi seçiləndə brauzerin göy rəngi əvəzinə yaşıl görünür. */
input[type=date]::-webkit-datetime-edit-day-field:focus,
input[type=date]::-webkit-datetime-edit-month-field:focus,
input[type=date]::-webkit-datetime-edit-year-field:focus { background: var(--firuze-tund); color: #fff; border-radius: 4px; outline: 0; }
input[type=date] { accent-color: var(--firuze-tund); font-variant-numeric: tabular-nums; }
/* Öz təqvimimiz işləyəndə (kompüterdə) brauzerin təqvim düyməsi gizlədilir, yerinə öz ikonumuz qoyulur. */
html.tq-var body.tema-yasil input[type=date]::-webkit-calendar-picker-indicator { display: none; }
html.tq-var body.tema-zumrud.tema-yasil input[type=date] {
  cursor: pointer; padding-right: 40px; background-repeat: no-repeat; background-position: right 12px center; background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.tq {
  position: fixed; z-index: 95; width: 296px; padding: 12px; background: var(--vereq); color: var(--murekkeb);
  border: 1px solid var(--cizgi-tund); border-radius: 14px; box-shadow: 0 2px 4px rgba(30, 42, 44, .06), 0 18px 40px -12px rgba(30, 42, 44, .32);
  font-family: var(--metn-sirift); font-size: .92rem; animation: tq-ac .12s ease-out;
}
@keyframes tq-ac { from { opacity: 0; transform: translateY(-4px); } }
.tq-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tq-bas b { font-family: var(--basliq-sirift); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.tq-bas button {
  width: 34px; height: 34px; border: 1px solid var(--cizgi); border-radius: 10px; background: var(--vereq); color: var(--murekkeb-aciq);
  font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background .12s, border-color .12s, color .12s;
}
.tq-bas button:hover { background: var(--firuze-fon); border-color: var(--firuze); color: var(--firuze-tund); }
.tq-tor { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tq-gun-ad { text-align: center; font-size: .72rem; font-weight: 600; color: var(--solgun); padding: 4px 0 6px; }
.tq-gun {
  height: 36px; border: 0; border-radius: 10px; background: none; color: var(--murekkeb); font: inherit; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background .1s, color .1s;
}
.tq-gun:hover { background: var(--firuze-fon); color: var(--firuze-tund); }
.tq-gun.kenar { color: var(--solgun2); }
.tq-gun.bugun { box-shadow: inset 0 0 0 1.5px var(--firuze); font-weight: 600; }
.tq-gun.secili, .tq-gun.secili:hover { background: var(--firuze-tund); color: #fff; font-weight: 700; box-shadow: none; }
.tq-gun:disabled { opacity: .32; cursor: default; background: none; color: var(--solgun); }
.tq-alt { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cizgi); }
.tq-alt button { border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--firuze-tund); cursor: pointer; padding: 5px 9px; border-radius: 8px; }
.tq-alt button:hover { background: var(--firuze-fon); }
.tq-alt button[data-tq=temizle] { color: var(--solgun); }
@media (prefers-reduced-motion: reduce) { .tq { animation: none; } }
@media print { .tq { display: none !important; } }

/* ---------- Açılan siyahı (select): bağlı halı və açılan siyahısı dizayna uyğun ---------- */
/* Hər brauzerdə: öz oxumuz, yaşıl vurğu. */
body select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 38px; text-overflow: ellipsis;
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366747a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
body select option { background: #fff; color: var(--murekkeb); }
body select option:checked { background: var(--firuze-fon); color: var(--firuze-tund); font-weight: 600; }
/* Yeni brauzerlərdə (Chrome və Edge 135+): açılan siyahının özü də tam dizayn olunur. */
@supports (appearance: base-select) {
  body select:not([multiple]):not([size]), body select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
  body select:not([multiple]):not([size]) { display: flex; align-items: center; justify-content: space-between; gap: 8px; background-image: none; padding-right: 12px; }
  body select:not([multiple]):not([size])::picker-icon { color: var(--solgun); transition: rotate .15s ease; }
  body select:not([multiple]):not([size]):open::picker-icon { rotate: 180deg; color: var(--firuze-tund); }
  body select:not([multiple]):not([size]):open { border-color: var(--firuze-tund); box-shadow: 0 0 0 3px var(--firuze-halqa); }
  body select::picker(select) {
    margin: 6px 0; padding: 6px; background: var(--vereq); color: var(--murekkeb); border: 1px solid var(--cizgi-tund); border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 42, 44, .06), 0 18px 40px -12px rgba(30, 42, 44, .32); font-family: var(--metn-sirift); font-size: .94rem;
  }
  body select option { padding: 8px 12px; border-radius: 8px; cursor: pointer; gap: 8px; }
  body select option:hover, body select option:focus-visible { background: var(--firuze-fon); color: var(--firuze-tund); outline: 0; }
  body select option:checked { background: var(--firuze-tund); color: #fff; font-weight: 600; }
  body select option::checkmark { display: none; }
  body select option:disabled { color: var(--solgun2); cursor: default; background: none; }
}
/* Tarix xanası və açılan siyahı adi mətn xanası ilə eyni hündürlükdə olsun. */
body.tema-zumrud.tema-yasil input[type=date], body.tema-zumrud.tema-yasil select:not([multiple]):not([size]) { height: 2.75rem; }

/* ---------- Sütun altında axtarış (mallar cədvəli) ---------- */
body.tema-zumrud.tema-yasil .cedvel tr.sutun-axtar th { background: #eef3f0; padding: 7px 8px; border-bottom: 1px solid var(--cizgi); }
.cedvel tr.sutun-axtar th:first-child { padding-left: 12px; }
.cedvel tr.sutun-axtar input[type=search] { margin: 0; min-width: 0; height: 2.15rem; padding: 4px 9px; font-size: .9rem; font-weight: 400; }
.cedvel tr.sutun-axtar .duyme { font-weight: 500; }
.cedvel[data-mal-cedveli] tbody td:last-child { white-space: nowrap; }
/* Süzülmüş cədvəldə zolaqlar görünən sətirlərə görə sayılır (gizli sətirlər nth-child-ı pozur). */
body.tema-zumrud.tema-yasil .cedvel.suzulur tbody tr:nth-child(even) { background: none; }
body.tema-zumrud.tema-yasil .cedvel.suzulur tbody tr.cut-setir { background: #f7f9f8; }
body.tema-zumrud.tema-yasil .cedvel.suzulur tbody tr:hover { background: #e9f4ee; }

/* ---------- Mallar: sıra nömrəsi, seçim qutuları, toplu silmə zolağı ---------- */
.cedvel th.sira, .cedvel td.sira { width: 1%; white-space: nowrap; text-align: right; color: var(--solgun); font-variant-numeric: tabular-nums; }
body.tema-zumrud.tema-yasil .cedvel th.sira { color: #fff; }
.cedvel th.sec-xana, .cedvel td.sec-xana { width: 1%; padding-right: 4px; }
.cedvel .sec-xana input[type=checkbox] { margin: 0; width: 18px; height: 18px; cursor: pointer; }
body.tema-zumrud.tema-yasil .cedvel tbody tr.secili-setir, body.tema-zumrud.tema-yasil .cedvel.suzulur tbody tr.secili-setir { background: #fdf3f4; }
.toplu-zolaq {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; padding: 10px 16px;
  background: var(--qirmizi-fon); border: 1px solid var(--qirmizi-cizgi); border-radius: var(--r-boyuk);
  position: sticky; top: 8px; z-index: 5;
}

/* ---------- Z hesabatda rəqəmə keçid (rəqəm nədən yığılıb) ---------- */
.z-setir a.z-kecid { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--solgun2); cursor: pointer; }
.z-setir a.z-kecid:hover { color: var(--yasil-tund); border-bottom-color: var(--yasil-tund); }
@media print { .z-setir a.z-kecid { border-bottom: 0; } }

/* ---------- Uzun cədvəllərin səhifələnməsi ---------- */
.cedvel tr.sehife-gizli { display: none; }
.sehifeleme { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 10px 0 14px; color: var(--murekkeb-aciq); font-size: .92rem; }
.sehifeleme-olcu { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.sehifeleme-olcu select { display: inline-block; width: auto; margin: 0; padding: 4px 30px 4px 10px; height: 2.2rem !important; font-size: .92rem; }
.sehifeleme-yer { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--murekkeb); }
.sehifeleme-duymeler { display: flex; gap: 8px; }
.sehifeleme .duyme:disabled { opacity: .45; cursor: default; }
/* Səhifələnən cədvəldə zolaqlar görünən sətirlərə görə sayılır. */
body.tema-zumrud.tema-yasil .cedvel.sehifeli tbody tr:nth-child(even) { background: none; }
body.tema-zumrud.tema-yasil .cedvel.sehifeli tbody tr.cut-setir { background: #f7f9f8; }
body.tema-zumrud.tema-yasil .cedvel.sehifeli tbody tr:hover { background: #e9f4ee; }
body.tema-zumrud.tema-yasil .cedvel.sehifeli tbody tr.secili-setir { background: #fdf3f4; }
body.tema-zumrud.tema-yasil .cedvel.sehifeli tbody tr.qirmizi { background: var(--qirmizi-fon); }
@media print { .cedvel tr.sehife-gizli { display: table-row; } }

/* ---------- Saytın öz pəncərəsi (təsdiq, bildiriş, bir sətirlik sual) ---------- */
dialog.pencere {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; color: var(--murekkeb);
  background: var(--vereq); box-shadow: 0 30px 70px -20px rgba(8, 30, 24, .45), 0 0 0 1px rgba(8, 30, 24, .06);
  font-family: inherit; overflow: hidden;
}
dialog.pencere::backdrop { background: rgba(10, 28, 23, .48); backdrop-filter: blur(2px); }
dialog.pencere[open] { animation: pencere-gir .18s ease-out both; }
dialog.pencere[open]::backdrop { animation: pencere-perde .18s ease-out both; }
@keyframes pencere-gir { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pencere-perde { from { opacity: 0; } to { opacity: 1; } }
.pencere-ic { display: flex; gap: 16px; align-items: flex-start; padding: 24px 24px 18px; }
.pencere-nisan {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yasil-fon); color: var(--yasil-tund);
}
.pencere-tehluke .pencere-nisan { background: var(--qirmizi-fon); color: var(--qirmizi); }
.pencere-mezmun { flex: 1; min-width: 0; }
.pencere-basliq { margin: 2px 0 6px; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.pencere-metn { margin: 0; color: var(--murekkeb-aciq); font-size: .97rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.pencere-xana { margin-top: 10px !important; }
dialog.pencere [hidden] { display: none !important; }   /* xana və "Xeyr" düyməsi lazım olmayanda görünməsin */
.pencere-duymeler { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px 20px; background: #f7f9f8; border-top: 1px solid var(--cizgi); }
.pencere-duymeler .duyme { min-width: 96px; justify-content: center; text-align: center; }
.duyme-tehluke-dolu, .duyme-tehluke-dolu:hover { background: var(--qirmizi); border-color: var(--qirmizi-tund); color: #fff; font-weight: 600; }
.duyme-tehluke-dolu:hover { filter: brightness(1.07); }
@media (max-width: 480px) {
  .pencere-duymeler { flex-direction: column-reverse; }
  .pencere-duymeler .duyme { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { dialog.pencere[open], dialog.pencere[open]::backdrop { animation: none; } }

/* ---------- Kassa aparatı (əlaqə yoxlaması) ---------- */
[data-aparat] > .panel { min-width: 0; }
.aparat-addimlar { margin: 0 0 14px; padding-left: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.aparat-addimlar small { display: block; margin-top: 6px; }
.aparat-emr { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.aparat-emr code {
  flex: 1; min-width: 0; padding: 9px 12px; background: var(--boz-fon); border: 1px solid var(--cizgi); border-radius: var(--r);
  font-family: Consolas, "Cascadia Mono", monospace; font-size: .84rem; overflow-x: auto; white-space: nowrap;
}
.aparat-gizli { -webkit-text-security: disc; text-security: disc; }
.aparat-isare { display: flex; align-items: center; margin-top: -4px; }
.aparat-elave summary { cursor: pointer; font-weight: 500; color: var(--murekkeb-aciq); }
.aparat-jurnal { display: grid; gap: 12px; }
.aparat-qeyd { border: 1px solid var(--cizgi); border-left: 4px solid var(--solgun2); border-radius: var(--r); padding: 12px 14px; background: var(--vereq); min-width: 0; }
.aparat-qeyd-ugur { border-left-color: var(--yasil); }
.aparat-qeyd-xeta { border-left-color: var(--qirmizi); }
.aparat-qeyd-bas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.aparat-saat, .aparat-muddet { color: var(--solgun); font-variant-numeric: tabular-nums; font-size: .88rem; }
.aparat-kod { font-family: Consolas, "Cascadia Mono", monospace; font-size: .84rem; font-weight: 600; color: var(--murekkeb-aciq); }
.aparat-sorgu { margin-top: 8px; font-family: Consolas, "Cascadia Mono", monospace; font-size: .8rem; color: var(--solgun); white-space: pre-wrap; overflow-wrap: anywhere; }
.aparat-izah { margin: 8px 0 0; font-weight: 500; }
.aparat-govde {
  margin: 8px 0 0; padding: 10px 12px; background: var(--boz-fon); border-radius: var(--r); max-height: 320px; overflow: auto;
  font-family: Consolas, "Cascadia Mono", monospace; font-size: .82rem; white-space: pre-wrap; overflow-wrap: anywhere;
}

/* ---------- Support assistant ("Kömək" window). Markup: views/_alt.ejs, logic: js/support.js ---------- */
.support { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.support > * { pointer-events: auto; }
/* The opener is a round button in the top bar (same look as the bell): it must not cover page content. */
.support-top { padding: 0; flex: 0 0 38px; font: inherit; }
.support-top svg { width: 20px; height: 20px; }
.support-top:focus-visible { outline: 3px solid var(--firuze-halqa); outline-offset: 2px; }
.support-panel {
  display: flex; flex-direction: column; width: min(380px, calc(100vw - 36px)); height: min(540px, calc(100dvh - 90px));
  background: var(--vereq); color: var(--murekkeb); border: 1px solid var(--cizgi-tund); border-radius: var(--r-boyuk); box-shadow: var(--kolge); overflow: hidden;
}
.support-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--derin); color: #fff; }
.support-head > span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.support-head small { opacity: .75; font-size: .78rem; }
.support-clear, .support-close { border: 0; background: transparent; color: #fff; cursor: pointer; border-radius: 8px; padding: 4px 8px; font: inherit; }
.support-clear { font-size: .82rem; opacity: .85; }
.support-close { font-size: 1.5rem; line-height: 1; }
.support-clear:hover, .support-close:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.support-log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--kagiz); }
.support-msg { margin: 0; padding: 9px 12px; border-radius: 14px; max-width: 88%; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .93rem; line-height: 1.45; }
.support-bot { align-self: flex-start; background: var(--vereq); border: 1px solid var(--cizgi); border-bottom-left-radius: 4px; }
.support-user { align-self: flex-end; background: var(--esas); color: #fff; border-bottom-right-radius: 4px; }
.support-error { align-self: flex-start; background: var(--qirmizi-fon); border: 1px solid var(--qirmizi-cizgi); color: var(--qirmizi-tund); border-bottom-left-radius: 4px; }
.support-wait { color: var(--solgun); font-style: italic; }
.support-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 6px; border-top: 1px solid var(--cizgi); background: var(--vereq); }
.support-form textarea { flex: 1; min-width: 0; resize: none; font-size: 16px; }
.support-note { margin: 0; padding: 2px 12px 10px; font-size: .74rem; line-height: 1.35; color: var(--solgun); background: var(--vereq); }
.support-cell { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 220px; }
@media (max-width: 760px) {
  .support { right: 12px; bottom: 12px; }
  .support-panel { width: calc(100vw - 24px); height: calc(100dvh - 24px); }
}

/* ---------- Tax receipts: small status panel (logic: js/fiscal.js) ---------- */
.fiscal-panel {
  position: fixed; left: 18px; bottom: 18px; z-index: 65; width: min(360px, calc(100vw - 36px)); padding: 12px 14px;
  background: var(--vereq); color: var(--murekkeb); border: 1px solid var(--cizgi-tund); border-left: 5px solid var(--esas);
  border-radius: var(--r); box-shadow: var(--kolge); font-size: .93rem;
}
.fiscal-panel p { margin: 4px 0 0; color: var(--murekkeb-aciq); overflow-wrap: anywhere; }
.fiscal-panel.fiscal-error { border-left-color: var(--qirmizi); }
.fiscal-panel.fiscal-ok { border-left-color: var(--yasil); }
.fiscal-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
@media (min-width: 761px) { .fiscal-panel { left: 280px; } }
