:root {
  --paper: #f4f8fd;
  --ink: #10233f;
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --line: #d5e3f5;
  --card: #ffffff;
  --muted: #4d6484;
  --danger: #9b2c2c;
  --shadow: 0 16px 40px rgba(13, 71, 161, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100dvh;
  background: #e7f0fb;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
}
a { color: var(--blue-dark); }
.app {
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(18px + env(safe-area-inset-top)) 22px 8px;
}
.mark {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--blue-dark);
  text-decoration: none;
}
.main { flex: 1; padding: 8px 22px 28px; }
h1 {
  margin: 8px 0 8px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lead { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.card, .stat {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.panel[hidden] { display: none; }
.urun-tab[hidden] { display: none; }
.panel h2 { margin: 0 0 12px; font-size: 18px; }
form.card h2 { margin: 22px 0 10px; font-size: 15px; color: var(--blue-dark); }
form.card h2:first-of-type { margin-top: 0; }
form.urun-add { background: #e8f6ee; border-color: #7dcea0; }
form.urun-add h2 { color: #1b5e20; }
form.urun-add button {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}
form.urun-add button:hover { background: #1b5e20; }
.ean-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 14px; }
.ean-ask span { font-size: 14px; font-weight: 700; color: #1b5e20; }
form.urun-add .ean-ask button { width: auto; margin: 0; padding: 8px 14px; font-size: 14px; }
.field.bad input,
.field.bad select,
.field.bad textarea {
  border-color: #c62828;
  background: #ffebee;
}
.field.bad > span { color: #c62828; }
.field-bad { margin: -8px 0 14px; color: #c62828; font-size: 13px; font-weight: 700; }
.excel-pair { display: grid; gap: 14px; margin: 0 0 16px; }
.excel-pair h2 { margin: 0 0 6px; font-size: 16px; color: var(--blue-dark); }
.excel-pair .hint { margin: 0 0 12px; }
.excel-pair a.btn { margin-bottom: 12px; }
.excel-fail, .excel-ok { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.excel-fail { background: #ffebee; border: 1px solid #ef9a9a; }
.excel-fail strong, .excel-fail li { color: #b71c1c; }
.excel-fail ul { margin: 8px 0 0; padding-left: 18px; }
.excel-ok { background: #e8f6ee; border: 1px solid #a5d6a7; color: #1b5e20; font-weight: 700; }
@media (min-width: 900px) { .excel-pair { grid-template-columns: 1fr 1fr; } }
.excel-pair.one { grid-template-columns: 1fr; max-width: 640px; }
.panel h3 { margin: 6px 0 8px; font-size: 16px; }
.panel > button[type="submit"] { width: auto; }
.hint.saved { color: #1b5e20; font-weight: 700; }
.mails { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e3f2fd;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 4px 4px 4px 12px;
  font-weight: 700;
}
.mail-chip button {
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue-dark);
  font-size: 18px;
}
.mail-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mail-add input { width: min(280px, 100%); padding: 10px 12px; }
.mail-add button { width: auto; margin: 0; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tpl-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: color-mix(in srgb, var(--tone) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--tone) 40%, #fff);
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.tpl-card b { color: var(--tone); }
.tpl-card span { color: var(--muted); font-size: 13px; }
.tpl-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tpl-acts .btn,
.tpl-acts button {
  width: auto;
  margin: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.tpl-acts form { margin: 0; }
.tpl-wrap { display: grid; grid-template-columns: minmax(260px, 420px) minmax(260px, 1fr); gap: 16px; align-items: start; }
.tpl-fields { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.tpl-extras { margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.tpl-extras-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.tpl-extras-head button { width: auto; margin: 0; }
.tpl-extra {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #d6e4f5;
  border-radius: 12px;
  background: #f7fbff;
}
.tpl-extra button[data-extra-sil] { width: auto; margin: 0; justify-self: start; }
.tpl-save {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.tpl-save button { width: auto; margin: 0; }
.sablon-in.saved { border-color: #2e7d32; }
.sablon-in.bad { border-color: #c62828; }
.sheet-paper { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-height: 320px; }
.sheet-paper [hidden] { display: none; }
.sheet-paper h2 { margin: 8px 0; }
.sheet-paper p { margin: 8px 0; white-space: pre-wrap; }
.sheet-paper table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.sheet-paper th, .sheet-paper td { border-bottom: 1px solid var(--line); text-align: left; padding: 6px 0; }
.sheet-paper .foot { margin-top: 16px; font-weight: 700; }
.logo-slot { display: inline-flex; width: 72px; height: 36px; border: 1px dashed #9ec0ea; border-radius: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.firm-logo {
  display: block;
  max-width: 160px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 0 8px;
}
.hesab-card { max-width: 560px; }
.hesab-card h2 { margin-top: 0; }
.logo-now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.logo-now img {
  max-width: 160px;
  max-height: 72px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}
.firma-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.firma-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d6e4f5;
  border-radius: 12px;
  background: #f7fbff;
}
.firma-chip.on {
  border-color: #2e7d32;
  background: #e8f5e9;
}
.firma-chip button { width: auto; margin: 0; }
.firma-chip span { color: #1b5e20; font-weight: 700; font-size: 13px; }
.firm-line { font-weight: 700; color: var(--blue-dark); }
.etiket-pick { align-items: center; }
.etiket-pick[hidden] { display: none; }
.etiket-pick span { font-weight: 700; }
.label-sheet {
  width: min(280px, 100%);
  min-height: 90px;
  border: 1px dashed #9ec0ea;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.label-sheet [hidden] { display: none; }
.label-sheet b { font-size: 16px; }
@media (max-width: 900px) { .tpl-wrap { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; font-weight: 650; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 88px; }
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px;
  border: 1.5px solid transparent;
}
button, .btn.solid {
  width: 100%;
  margin-top: 6px;
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
button:hover, .btn.solid:hover { background: var(--blue-dark); }
.btn.ghost {
  width: auto;
  margin-top: 0;
  background: #fff;
  color: var(--blue-dark);
  border-color: #9ec0ea;
}
.btn.ghost.light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.check { display: flex; gap: 10px; align-items: center; margin: 4px 0 12px; font-size: 15px; }
.check input { width: 20px; height: 20px; }
.hint, .out { color: var(--muted); font-size: 14px; }
.hint { margin: -6px 0 14px; }
.help-box {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  background: #f7fbff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.help-box strong { display: block; margin: 0 0 6px; color: var(--blue-dark); font-size: 14px; }
.help-box p { margin: 0 0 8px; }
.help-box ul { margin: 0 0 8px; padding-left: 18px; }
.help-box li { margin: 4px 0; }
.help-box a { color: var(--blue); font-weight: 650; }
.help-box p:last-child { margin-bottom: 0; }
.sms-sponsor-note { font-weight: 600; color: #1f2937; }
.kp-sms-panel {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem 1.1rem;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  background: #f7fbff;
}
.kp-sms-panel h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.kp-sms-panel h3 { margin: 1rem 0 0.35rem; font-size: 1rem; }
.kp-sms-meta {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.kp-sms-meta .badge { display: inline-block; vertical-align: middle; }
.kp-sms-test { margin-top: 0.85rem; }
.kp-sms-others { margin: 1.5rem 0 0.35rem; font-size: 1.05rem; }
.terms { color: var(--muted); font-size: 14px; line-height: 1.45; }
.rules { list-style: none; margin: 0 0 14px; padding: 0; }
.rules li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 6px 0; }
.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #90caf9;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
}
.rules li.ok { color: var(--blue-dark); }
.rules li.ok .tick { background: var(--blue); border-color: var(--blue); }
.rules li.ok .tick::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.out a, .stat { text-decoration: none; }
.stat { color: inherit; }
.error { background: #fdeceb; color: var(--danger); border-radius: 12px; padding: 12px; }
.ok { background: #e8f5e9; color: #1b5e20; border-radius: 12px; padding: 12px; }
.stat { margin-bottom: 12px; }
.stat b { display: block; font-size: 16px; margin-bottom: 4px; }
.stat span, .empty { color: var(--muted); }
.empty { text-align: center; padding: 28px 16px; }
.nav {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 248, 253, 0.94);
  border-top: 1px solid var(--line);
}
.nav a {
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 4px;
  border-radius: 12px;
}
.nav a.on { background: #e3f0ff; color: var(--blue-dark); }

body.home { background: #f4f8fd; }
.site-head, .hero, .points { width: min(1080px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.site-actions, .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-actions .btn, .hero-actions .btn { width: auto; margin-top: 0; }
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(160deg, #0d47a1 0%, #1976d2 70%);
  color: #fff;
  border-radius: 28px;
  padding: 42px 40px;
  box-shadow: var(--shadow);
}
.hero h1 { font-size: 46px; margin: 0 0 12px; color: #fff; }
.hero p { margin: 0; font-size: 18px; line-height: 1.5; color: #e3f0ff; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbdefb;
}
.hero-actions { margin-top: 22px; }
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 24px;
}
.hero-card b { display: block; font-size: 40px; color: var(--blue-dark); letter-spacing: -0.04em; }
.hero-card span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.45; }
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px 0 40px;
}
.points article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.points b { display: block; margin-bottom: 6px; }
.points p { margin: 0; color: var(--muted); line-height: 1.45; }

body.desk { background: #eef3f9; }
.desk { min-height: 100dvh; display: flex; align-items: stretch; }
.side { width: 300px; flex: 0 0 300px; }
.side {
  background: #fff;
  border-right: 1px solid #d5e3f5;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.side-logo {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding: 0;
  color: #0d47a1;
  text-decoration: none;
  font-weight: 750;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.side-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
  border-bottom: 1px solid #e6eef8;
  margin-bottom: 4px;
}
.brand-note {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #0077a8;
  letter-spacing: 0;
}
.login-brand .brand-note,
.site-brand .brand-note {
  padding: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.2;
  color: #0077a8;
}
.side-nav { overflow: auto; padding: 8px 10px 16px; }
.side-label {
  margin: 14px 8px 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b8da6;
}
.side-nav a {
  display: block;
  text-decoration: none;
  color: #1b3354;
  font-weight: 650;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 10px;
}
.side-nav a.on, .side-parent.on { background: #e3f0ff; color: #0d47a1; }
.side-group { margin-bottom: 2px; }
.side-parent {
  width: 100%;
  margin: 0;
  border: 0;
  text-align: left;
  background: transparent;
  color: #1b3354;
  font-weight: 650;
  font-size: 14px;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side-parent::after { content: "▾"; color: #7b8da6; font-size: 12px; }
.side-group.open .side-parent::after { content: "▴"; }
.side-sub { display: none; padding: 2px 0 6px 10px; }
.side-group.open .side-sub { display: block; }
.side-sub a { font-weight: 600; font-size: 13px; }
.side-out {
  margin-top: auto;
  padding: 14px 18px 18px;
  color: #5c6b80;
  text-decoration: none;
  font-weight: 700;
  border-top: 1px solid #e6eef6;
}
.desk-main { flex: 1 1 auto; min-width: 0; }
.desk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #fff;
  border-bottom: 1px solid #d5e3f5;
}
.desk-top b { display: block; }
.desk-top span, .who { color: #5c6b80; font-size: 13px; }
.desk-brand { min-width: 0; }
.account-menu {
  position: relative;
  margin-left: auto;
}
.account-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(280px, 70vw);
  padding: 8px 12px;
  border: 1px solid #9ec0ea;
  border-radius: 12px;
  background: #f4f9ff;
  color: var(--blue-dark);
  font-weight: 700;
}
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--blue);
  flex: 0 0 auto;
}
.account-menu[open] > summary::after { transform: rotate(180deg); }
.account-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 220px;
  background: #fff;
  border: 1px solid #d5e3f5;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(13, 71, 161, 0.12);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-who {
  margin: 0 0 4px;
  padding: 10px 12px 8px;
  font-weight: 800;
  color: var(--blue-dark);
  border-bottom: 1px solid #e6eef6;
}
.account-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1b3354;
  text-decoration: none;
  font-weight: 700;
}
.account-panel a:hover { background: #eef4fc; }
.account-panel a.account-out { color: #b71c1c; }
.account-panel a.account-out:hover { background: #ffebee; }
.account-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.destek-box { margin-top: 18px; max-width: 640px; }
.destek-box h2 { margin-top: 0; }
.destek-box .lead { margin-top: 0; }
.destek-img {
  display: block;
  max-width: min(100%, 520px);
  max-height: 360px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.destek-durum { margin-top: 14px; }
.destek-durum button { width: auto; }
.sheet tr.destek-yeni td { background: #fff8e1; }
.desk-body { padding: 22px; }
.desk-body h1 { margin-top: 0; }
.site-copy {
  margin: 0;
  padding: 1rem 22px 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}
body.login .site-copy,
body.home .site-copy {
  padding: 1rem 1.25rem 1.5rem;
}
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: auto; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e6eef6; font-size: 14px; }
.sheet th { color: #5c6b80; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.sheet .tick { width: 22px; height: 22px; padding: 0; }
.sheet tr.cluster-b td { background: #f3f8ff; }
.sheet a.urun-ad { font-weight: 700; color: var(--blue-dark); text-decoration: none; }
.sheet form.cell-edit { display: flex; align-items: center; gap: 8px; margin: 0; }
.sheet form.cell-edit input { width: 7.2rem; padding: 8px 10px; font-size: 14px; }
.sheet form.urun-kaldir { margin: 0; }
form.urun-kaldir button {
  width: auto;
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}
form.urun-kaldir button:hover { background: #ffebee; }
.variant-row { margin-bottom: 12px; }
.variant-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.variant-head a { font-weight: 700; color: var(--blue); text-decoration: none; }
.variant-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.variant-line input { width: min(280px, 100%); padding: 10px 12px; }
.variant-line button { width: auto; margin: 0; padding: 10px 14px; }
.variant-values { margin: 10px 0 0; padding: 0; list-style: none; }
.variant-values li { padding: 8px 0; border-top: 1px solid #e6eef6; }
.toolbar.sil-bottom { margin-top: 16px; }
.pick-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pick-list[hidden] { display: none; }
.pick-list button {
  width: 100%;
  margin-top: 0;
  justify-content: flex-start;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.pick-list button[hidden] { display: none; }
.pick-list button:hover, .pick-list button.on { background: #e3f0ff; border-color: #9ec0ea; }
.pick-list a.btn[data-satis-yeni] {
  width: auto;
  margin-top: 4px;
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
}
.pick-list a.btn[data-satis-yeni][hidden] { display: none; }
[data-uretim-sec][hidden], [data-uretim-form][hidden], [data-kalem-form][hidden] { display: none; }
.sheet-empty { text-align: center; color: var(--muted); padding: 28px 14px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.subnav a { text-decoration: none; background: #fff; border: 1px solid var(--line); color: #1b3354; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 8px 12px; }
.subnav a.on { background: #e3f0ff; color: #0d47a1; border-color: #bbdefb; }
.cari { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cari .stat { flex: 1 1 140px; margin: 0; background: #fff; border: 1px solid #d6e4f5; border-radius: 12px; padding: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.toolbar button, .toolbar a.btn { width: auto; margin-top: 0; font-size: 14px; padding: 10px 14px; }
.report-range { align-items: flex-end; }
.report-range .field.inline { margin: 0; min-width: 150px; }
.report-range .field.inline span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.report-range input[type="date"] { width: 100%; }
.toolbar button, .toolbar button.ghost { background: var(--blue); color: #fff; border-color: var(--blue); }
.toolbar button:hover, .toolbar button.ghost:hover { background: var(--blue-dark); }
.toolbar a.btn.on { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.toolbar a.btn.sale,
.toolbar a.btn.sale.on { background: #2e7d32; border-color: #1b5e20; color: #fff; }
.toolbar a.btn.sale:hover { background: #1b5e20; color: #fff; }
.iade-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.iade-list article { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f7fbff; }
.iade-list b { display: block; margin-bottom: 4px; }
.iade-list p { margin: 0 0 8px; color: var(--muted); }
.secenek { border: 0; margin: 0 0 14px; padding: 0; }
.secenek legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.secenek label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 8px;
  font-weight: 700;
  background: #fff;
}
.secenek input { width: auto; margin: 0; }
.secenek label:has(input:checked) { border-color: #1b5e20; background: #e8f6ee; }
tr.hareket-fatura { background: #fff4e5; }
tr.hareket-tahsilat { background: #e8f6ee; }
tr.hareket-iskonto { background: #f3e8ff; }
form.iptal { margin: 0; }
form.iptal button {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
  color: #9b2c2c;
  border-color: #ef9a9a;
}
.pay-pop { position: relative; margin: 0 0 14px; }
.pay-pop > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  background: #fff;
  font-weight: 700;
}
.pay-pop > summary::-webkit-details-marker { display: none; }
.pay-pop > summary::after { content: "▾"; color: var(--blue); }
.pay-pop[open] > summary::after { content: "▴"; }
.pay-pop:not([open]) .pay-menu { display: none; }
.pay-menu {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.pay-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 8px;
  font-weight: 700;
}
.pay-menu input[type="radio"] { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; }
.pay-kapida input[name="pay_amount"] { width: 110px; margin-left: auto; padding: 8px 10px; }
.ekstre-menu { display: flex; flex-direction: column; gap: 4px; }
.ekstre-act {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--blue-dark);
  background: #fff;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}
.ekstre-act:hover { background: #eef4fc; }
.ekstre-yenile { margin-top: 12px; }
.ekstre-yenile button { width: auto; }
.slip .pay { font-size: 18px; }
.slip .desi { font-size: 18px; font-weight: 600; }
.alis-yazdir { margin-top: 8px !important; }
.alis-yazdir .btn {
  display: inline-flex;
  width: auto;
  text-decoration: none;
  padding: 8px 14px;
}
.fatura-yazdir {
  max-width: 720px;
  margin: 0 0 20px;
}
.fatura-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.fatura-firm { display: flex; flex-direction: column; gap: 2px; }
.fatura-firm b { font-size: 20px; color: var(--blue-dark); }
.fatura-firm span { color: var(--muted); font-weight: 700; }
.fatura-meta,
.fatura-musteri { margin: 0 0 12px; }
.fatura-meta p,
.fatura-musteri p,
.fatura-toplam p,
.fatura-banka,
.fatura-not { margin: 4px 0; }
.fatura-lines {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.fatura-lines th,
.fatura-lines td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}
.fatura-lines th:not(:first-child),
.fatura-lines td:not(:first-child) { text-align: right; }
.fatura-toplam { margin-top: 10px; text-align: right; }
.fatura-net { font-size: 18px; }
.fatura-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.fatura-acts button,
.fatura-acts .btn { width: auto; margin: 0; text-decoration: none; }
@media print {
  .side,
  .desk-top,
  .subnav,
  .toolbar,
  .back,
  .cari,
  .alis-list,
  .ekstre-list,
  .no-print,
  .hint,
  h1,
  h2,
  .lead,
  .error,
  .ok,
  .excel-ok,
  form.card,
  .namebox,
  .paybox { display: none !important; }
  .desk,
  .desk-main,
  .desk-body {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .fatura-yazdir,
  .slip {
    display: block !important;
    box-shadow: none !important;
    border: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.alis { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.alis summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
}
.alis summary b { color: var(--blue-dark); white-space: nowrap; }
.alis summary::after { content: "Detay"; margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
.alis[open] summary::after { content: "Kapat"; }
.alis-detay { padding: 0 16px 12px; }
.alis-detay p { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.ekstre-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 20px;
}
.ekstre-fis {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.ekstre-fis.hareket-fatura { border-color: #f0c48a; background: #fff8ef; }
.ekstre-fis.hareket-tahsilat { border-color: #9ed4a8; background: #f3fbf5; }
.ekstre-fis.hareket-iskonto { border-color: #c5b6ea; background: #f7f4ff; }
.ekstre-fis.hareket-iade { border-color: #e8a0a0; background: #fff5f5; }
.ekstre-fis > summary,
.ekstre-fis .ekstre-satir {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) minmax(0, 1.6fr) minmax(5rem, 7rem) minmax(5rem, 7rem) minmax(5.5rem, 7.5rem);
  gap: 8px 12px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.ekstre-fis > summary::-webkit-details-marker { display: none; }
.ekstre-fis > summary::after {
  content: "Detay";
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.ekstre-fis[open] > summary::after { content: "Kapat"; }
.ekstre-fis.ekstre-duz .ekstre-satir { cursor: default; }
.ekstre-gun { color: #5c6b80; font-size: 13px; }
.ekstre-ack { font-weight: 700; color: var(--blue-dark); min-width: 0; }
.ekstre-borc,
.ekstre-alacak,
.ekstre-bakiye { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ekstre-bakiye { font-weight: 700; }
.ekstre-detay { padding: 0 14px 12px; border-top: 1px solid #ead9c0; }
.ekstre-detay p { margin: 0; padding: 10px 0; border-top: 1px solid #f0e4d2; line-height: 1.4; }
.ekstre-detay p:first-child { border-top: 0; }
.ekstre-detay .iptal,
.ekstre-satir .iptal { margin-top: 8px; }
@media (max-width: 720px) {
  .ekstre-fis > summary,
  .ekstre-fis .ekstre-satir {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "gun ack"
      "borc alacak"
      "bakiye bakiye";
  }
  .ekstre-gun { grid-area: gun; }
  .ekstre-ack { grid-area: ack; }
  .ekstre-borc { grid-area: borc; }
  .ekstre-alacak { grid-area: alacak; }
  .ekstre-bakiye { grid-area: bakiye; text-align: left; }
  .ekstre-borc::before { content: "Borç "; color: #5c6b80; font-weight: 600; }
  .ekstre-alacak::before { content: "Alacak "; color: #5c6b80; font-weight: 600; }
  .ekstre-bakiye::before { content: "Bakiye "; color: #5c6b80; font-weight: 600; }
}
.satis-kart {
  border: 1px solid #9ec0ea;
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 14px;
  background: #f4f9ff;
}
.satis-kart[hidden] { display: none; }
.satis-kart h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.25; }
.kart-actions { display: flex; gap: 8px; }
.kart-actions button { width: auto; flex: 1; margin-top: 0; }
.kart-actions button[data-kart-ekle] { background: #2e7d32; border-color: #1b5e20; color: #fff; }
.kart-actions button[data-kart-ekle]:hover { background: #1b5e20; }
.kart-actions button.ghost { background: #fff; color: var(--blue-dark); border-color: #9ec0ea; }
.satis-fatura {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid #d6e4f5;
}
.satis-fatura h3 { margin: 0 0 10px; font-size: 18px; }
.satis-lines button { width: auto; margin: 0; padding: 8px 12px; background: #fff; color: var(--blue-dark); border-color: #9ec0ea; }
.toolbar a.btn.ghost { background: #fff; color: var(--blue-dark); border-color: #9ec0ea; }
.toolbar a.btn.ghost:hover { background: #e3f0ff; }
.toolbar a.btn { display: inline-flex; align-items: center; text-decoration: none; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 10px; }
.panel > h2 { margin-top: 0; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #1b3354; }
.pick select { width: min(360px, 100%); font-size: 14px; padding: 10px 12px; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 16px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #5c6b80;
}
.search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.search input { border: 0; padding: 12px 0; background: transparent; }
.search input:focus { outline: none; }
.rangebar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 12px; }
.rangebar label { display: flex; flex-direction: column; gap: 6px; width: auto; font-size: 13px; font-weight: 700; }
.rangebar input, .rangebar select { width: auto; min-width: 160px; padding: 10px 12px; font-size: 14px; }
.rangebar button { width: auto; margin: 0; }
.searchline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.searchline .search { margin: 0; flex: 1 1 280px; max-width: 520px; }
.searchline select { width: auto; min-width: 220px; margin: 0; padding: 10px 12px; font-size: 14px; }
.searchline button { width: auto; margin: 0; }
.api-list { display: grid; gap: 14px; }
.api-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.api-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.api-head h2 { margin: 0; font-size: 18px; }
.badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #eef3f8; color: #5c6b80; }
.badge.on { background: #e8f5e9; color: #1b5e20; }
.api-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.api-card form.cols-1 { grid-template-columns: 1fr; }
.api-card form.cols-2 { grid-template-columns: 1fr 1fr; }
.api-card form.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.api-card .field { margin: 0; }
.api-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.api-actions button { width: auto; margin: 0; }
.api-card button.ghost { background: #fff; color: var(--blue-dark); border-color: #9ec0ea; }
.sms-pick {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border: 0;
  padding: 2px;
  text-align: left;
}
.sms-pick:hover { background: #f4f8fc; }
.sms-pick strong { font-size: 18px; }
.sms-pick .badge { margin-left: auto; }
.sms-logo { width: 40px; height: 40px; flex: 0 0 auto; display: block; }
.sms-card form { margin-top: 12px; }
.sms-card form[hidden] { display: none; }
.cargo-names { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.cargo-names[hidden] { display: none; }
.cargo-names button {
  width: auto;
  margin: 0;
  justify-content: flex-start;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cargo-names button:hover { background: #f4f8fc; }
.cargo-card[hidden] { display: none; }
@media (max-width: 700px) {
  .api-card form { grid-template-columns: 1fr; }
}
.sheet tr.wait td { background: #fff6f6; }
.sheet th.acts, .sheet td.acts { text-align: right; white-space: nowrap; }
.marks { display: inline-flex; gap: 4px; vertical-align: middle; }
.marks img { width: 28px; height: 28px; border-radius: 8px; }
.acts form { display: inline-flex; margin-left: 8px; }
.acts button { width: auto; margin: 0; padding: 8px 12px; font-size: 13px; }
.price-in { width: 148px; max-width: 100%; padding: 8px 10px; font-size: 14px; }
.price-in.bad { border-color: #c62828; }
.price-in.saved { border-color: #2e7d32; }
.plat-price { display: inline-block; font-size: 13px; color: var(--muted); }
#kullanici-form.paybox { flex-direction: column; align-items: stretch; max-width: 480px; }
#kullanici-form .field, #kullanici-form input { width: 100%; }
#kullanici-form button { width: auto; align-self: flex-start; }
.gates { display: grid; gap: 10px; max-width: 560px; }
.gate-group { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.gate { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-weight: 650; cursor: pointer; }
.gate.master { font-size: 16px; }
.gate-group:has(.master) .gate:not(.master) { margin-left: 22px; }
.gate input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #1565c0; flex: 0 0 auto; }
.namebox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
  margin: 0 0 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.namebox[hidden] { display: none; }
.namebox label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.namebox input[name="name"] { width: min(320px, 100%); padding: 10px 12px; }
.namebox button { width: auto; margin: 0; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.swatches > span { font-size: 13px; font-weight: 700; margin-right: 2px; }
.swatches label { position: relative; }
.swatches input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.swatches i {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #c5d7ee;
}
.swatches input:checked + i,
.swatches input:focus-visible + i { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #0d47a1; }
.groups { display: grid; gap: 14px; }
.group { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.group h2 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.02em; }
.group .empty { margin: 0; color: var(--muted); }
.group.toned {
  background: color-mix(in srgb, var(--tone) 12%, #fff);
  border-color: color-mix(in srgb, var(--tone) 42%, #fff);
}
.group.toned h2 { color: var(--tone); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tone) 45%, #fff);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: #fff;
  background: color-mix(in srgb, var(--tone) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--tone) 30%, #fff);
  box-shadow: inset 5px 0 0 var(--tone);
}
.account i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tone);
  flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 20%, #fff);
}
.account b { font-size: 15px; }
.account span { margin-left: auto; font-weight: 700; color: var(--blue-dark); white-space: nowrap; }
.stack {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin: 0 0 16px;
  padding: 16px 16px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.stack[hidden] { display: none; }
.stack textarea {
  width: 100%;
  min-height: 96px;
  font: inherit;
  font-size: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  resize: vertical;
}
.stack button { width: auto; margin-top: 4px; }
.sheet a.person { font-weight: 750; text-decoration: none; }
.sheet tr:hover a.person { text-decoration: underline; }
.back { margin: 0 0 8px; }
.back a { font-weight: 700; text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0; }
.facts div { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.facts dt { font-size: 12px; color: #5c6b80; font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.paybox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  max-width: 640px;
  margin: 0 0 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.paybox[hidden] { display: none; }
.paybox label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.paybox input { width: min(220px, 100%); padding: 10px 12px; }
.paybox button { width: auto; margin: 0; }
.paybox button.ghost { flex: 0 0 auto; justify-content: flex-start; width: auto; background: #fff; color: var(--blue-dark); border-color: #9ec0ea; }
.paybox .picks { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.picks label { position: relative; }
.picks input { position: absolute; opacity: 0; }
.picks span {
  display: inline-flex;
  border: 1.5px solid #9ec0ea;
  background: #fff;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.picks input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.picks input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.reveal { flex: 1 1 100%; }
.reveal[hidden] { display: none; }
.reveal label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.reveal input { width: min(320px, 100%); padding: 10px 12px; }
.pay-title { margin: 18px 0 10px; font-size: 18px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 1000px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .desk { display: block; }
  .side { position: relative; height: auto; width: auto; flex: none; }
}

body.login { background: #fff; }
.login-split { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.login-pane { display: flex; flex-direction: column; padding: 28px 48px 36px; }
.login-logo {
  display: flex;
  flex-direction: column;
  width: max-content;
  color: #0d47a1;
  text-decoration: none;
  font-weight: 750;
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.login-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.site-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.login-center { width: min(440px, 100%); margin: auto; }
.login-center h1 { text-align: center; font-size: 28px; margin: 0 0 28px; }
.login-fields .field span { font-weight: 600; color: #5c6b80; font-size: 14px; }
.login-fields input { border-radius: 14px; border-color: #d7e2ef; background: #fff; }
.forgot { text-align: right; margin: -4px 0 16px; }
.forgot a, .login-switch a { color: #1565c0; font-weight: 700; text-decoration: none; }
.login-fields button { border-radius: 14px; margin-top: 0; padding: 14px 16px; }
.login-switch { text-align: center; color: #5c6b80; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e6eef6; }
.login-note { color: #5c6b80; line-height: 1.5; text-align: center; }
.login-note.saved { color: #1b5e20; font-weight: 700; }
.login-story { padding: 22px 22px 22px 0; display: flex; }
.story-card {
  position: relative;
  flex: 1;
  min-height: 640px;
  border-radius: 28px;
  overflow: hidden;
  background: #123a72 url("login-side.svg") center/cover no-repeat;
}
.story-slide {
  display: none;
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 78px;
  margin: 0;
  color: #fff;
}
.story-slide.on { display: block; }
.story-slide blockquote { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 650; }
.story-slide figcaption { margin-top: 14px; font-size: 14px; opacity: 0.9; }
.story-nav { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.story-nav button {
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 22px;
  border: 0;
}
.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 58, 0.05) 30%, rgba(8, 28, 58, 0.72) 100%);
  pointer-events: none;
}
.story-slide, .story-nav { z-index: 1; }

@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-pane { padding: 22px 18px 32px; }
}

@media (max-width: 800px) {
  .hero, .points { grid-template-columns: 1fr; }
  .hero { padding: 28px 22px; }
  .hero h1 { font-size: 34px; }
  .site-head { align-items: flex-start; flex-direction: column; }
  .site-actions, .hero-actions { width: 100%; flex-direction: column; }
  .site-actions .btn, .hero-actions .btn { width: 100%; }
}


.uye-geri-bildirim {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #eef5ff;
  border: 1px solid #c5d8f5;
  color: #1a3a66;
  font-size: 0.92rem;
  line-height: 1.45;
}
.uye-geri-bildirim p { margin: 0; }
.uye-geri-bildirim a { font-weight: 600; }

.vade-ayar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 14px; }
.vade-ayar .vade-gun-field { margin: 0; flex: 0 0 150px; }
.vade-ayar .vade-gun-field input { width: 100%; }
.vade-ayar .vade-kaydet-btn {
  width: 11.5em; min-width: 11.5em; max-width: 11.5em; margin: 0; flex: 0 0 11.5em;
  white-space: nowrap; font-size: 14px; padding: 10px 12px;
}
.vade-ayar .vade-ok {
  display: inline-block; min-width: 7.2em; height: 1.2em; line-height: 1.2em;
  color: #1b5e20; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.kdv-pick{display:flex;gap:.4rem;align-items:center}.kdv-pick input[type=number]{width:5rem}
.kdv-toplu summary{cursor:pointer;font-weight:600}.kdv-toplu form{display:grid;gap:.6rem;margin-top:.6rem}
.kdv-kapsam{border:0;padding:0;display:grid;gap:.3rem}.kdv-cell.kdv-ok select{outline:2px solid #2e9d5b}
.inv-cancel{margin-left:.4rem;background:#fff;color:#b42318;border:1px solid #b42318}

/* Satış: büyük ürün arama alanı */
.urun-ara-big { display: block; margin: 6px 0 10px; }
.urun-ara-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.urun-ara-box { position: relative; display: block; }
.urun-ara-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #1565c0; pointer-events: none; }
.urun-ara-box input[data-satis-ara] {
  width: 100%; box-sizing: border-box; font-size: 18px; padding: 14px 14px 14px 46px;
  border: 2px solid #1565c0; border-radius: 12px; background: #fff; min-height: 54px;
  box-shadow: 0 2px 6px rgba(21, 101, 192, .12); transition: box-shadow .15s, border-color .15s;
}
.urun-ara-box input[data-satis-ara]:focus { outline: none; border-color: #0d47a1; box-shadow: 0 0 0 4px rgba(21, 101, 192, .25); }
.pick-list.urun-oneri { gap: 0; border: 1px solid #c9d8ea; border-radius: 12px; overflow: auto; max-height: 360px; background: #fff; box-shadow: 0 8px 22px rgba(15, 40, 80, .12); }
.pick-list.urun-oneri button[data-satis-urun] {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  border: 0; border-bottom: 1px solid #edf2f8; border-radius: 0; padding: 12px 14px; text-align: left; min-height: 52px;
}
.pick-list.urun-oneri button[data-satis-urun][hidden] { display: none; }
.pick-list.urun-oneri button.on { background: #e3f0ff; box-shadow: inset 4px 0 0 #1565c0; }
.uo-ad { font-weight: 600; font-size: 16px; flex: 1 1 180px; }
.uo-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.uo-fiyat { font-size: 15px; color: #0d47a1; }
.uo-kdv, .uo-stok { background: #eef3f9; border-radius: 999px; padding: 2px 8px; color: #3c4b5c; }
.uo-stok.yok { background: #fdecea; color: #b42318; }
.pick-list.urun-oneri a.btn[data-satis-yeni], .pick-list.urun-oneri > p { margin: 10px 14px; }
@media (max-width: 600px) {
  .urun-ara-box input[data-satis-ara] { font-size: 17px; }
  .pick-list.urun-oneri { max-height: 55vh; }
  .uo-meta { width: 100%; }
}
/* Satış sonrası sıradaki adım */
.card.sonraki { border: 2px solid #2e7d32; background: #f1f8f1; }
.card.sonraki h2 { color: #1b5e20; margin-top: 0; }
.sonraki-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sonraki-btns > a, .sonraki-btns > .btn { font-size: 16px; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.sonraki-btns .tahsil-al { background: #2e7d32; color: #fff; border: 1px solid #2e7d32; }
.sonraki-btns .fis-al { background: #fff; color: #1565c0; border: 2px solid #1565c0; }
/* Satışlar listesi: 1366px'de yatay kaydırmasız sığar */
.sheet table.sales-list { table-layout: auto; }
.sheet .sales-list th, .sheet .sales-list td { padding: 7px 8px; font-size: 13px; vertical-align: middle; }
.sheet .sales-list th { font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; }
.sales-list .sel-col { width: 26px; padding-left: 10px; padding-right: 0; }
.sales-list .c-date, .sales-list .c-num, .sales-list .c-ord { white-space: nowrap; }
.sales-list .c-num { text-align: right; font-variant-numeric: tabular-nums; }
.sales-list .c-name { min-width: 120px; max-width: 220px; }
.sales-list .c-name a { color: inherit; font-weight: 650; text-decoration: none; }
.sales-list .c-name a:hover { text-decoration: underline; }
.sales-list .c-st { max-width: 110px; }
.sales-list .src-badge { font-size: 11px; padding: 2px 7px; white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.sheet .sales-list td.acts { white-space: normal; text-align: right; min-width: 150px; max-width: 330px; }
.sales-list .act-icons { display: inline-flex; gap: 4px; vertical-align: middle; }
.sales-list .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; border: 1px solid var(--line); border-radius: 7px; background: #fff; text-decoration: none; font-size: 15px; line-height: 1; }
.sales-list .icon-btn:hover { background: #eef5ff; }
.sales-list .acts button, .sales-list .acts .inv-btn { padding: 5px 9px; font-size: 12px; }
.sales-list .esale { display: inline; font-size: 12px; margin-left: 6px; }
.sales-list .esale > * { white-space: normal; }
.order-invoice .bulkbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-invoice .bulkbar .check { white-space: nowrap; }
.order-invoice .bulkbar button { width: auto; padding: 8px 14px; font-size: 13px; }
.sales-list .esale .inv-done, .sales-list .esale-warn { font-size: 11.5px; }
.sales-list .esale-uuid { display: inline-block; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; font-size: 10.5px; color: var(--muted, #7a8699); margin-left: 4px; }
.sales-list .esale .inv-btn, .sales-list .esale .inv-cancel { padding: 3px 8px; font-size: 11.5px; margin: 2px 0 2px 4px; }
