:root {
  --font-ui: Manrope, "Segoe UI", Bahnschrift, system-ui, sans-serif;
  --bg-page: #e8eef5;
  --ink: #0b1f33;
  --muted: #5a6f84;
  --line: rgba(11, 31, 51, 0.14);
  --panel: #ffffff;
  --surface-2: #f4f8fc;
  --accent: #1e3a5f;
  --accent-soft: rgba(30, 58, 95, 0.12);
  --brass: #b48255;
  --sidebar-bg: #eef3f8;
  --app-sidebar-w: 15rem;
  --green: #1f9a72;
  --orange: #c08a22;
  --danger: #e55555;
  --radius: 12px;
  --shadow-soft: 0 1px 2px rgba(11, 31, 51, 0.04), 0 8px 24px rgba(11, 31, 51, 0.07);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  background:
    radial-gradient(980px 420px at 100% -8%, rgba(180, 130, 85, .10), transparent 55%),
    radial-gradient(760px 380px at -8% 0%, rgba(30, 58, 95, .07), transparent 50%),
    var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
.shell { display: flex; height: 100vh; overflow: hidden; }
.app-sidebar {
  width: var(--app-sidebar-w);
  flex: 0 0 var(--app-sidebar-w);
  background: #f4f7fb;
  padding: .85rem .62rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(11, 31, 51, 0.08);
}
.app-sidebar-brand {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .5rem; border-radius: 12px; border: 0; background: transparent;
  width: 100%; text-align: left; color: inherit;
}
.app-sidebar-brand:hover { background: var(--accent-soft); }
.brand-mark {
  width: 2.35rem; height: 2.35rem; border-radius: 9px; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--brass) 35%, var(--line));
}
.brand-mark-inner {
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  border: 1.6px solid var(--brass); background: #fffdf9;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: .72rem;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; gap: .12rem; }
.brand-text strong { font-size: .95rem; font-weight: 800; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.app-nav { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: .32rem; padding-top: .35rem; }
.app-nav-group-label {
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: #8aa0b4; padding: .55rem .45rem .15rem;
}
.app-nav-fold { display: flex; flex-direction: column; gap: .28rem; }
.app-nav-fold-btn, .app-nav-item {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  min-height: 2.35rem; padding: .38rem .62rem;
  border: 1px solid rgba(11, 31, 51, 0.10);
  border-radius: 10px; background: #fff; color: #24384c;
  font-family: var(--font-ui); font-size: .86rem; font-weight: 600; text-align: left;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}
.app-nav-item { position: relative; font-weight: 600; }
.app-nav-fold-btn:hover, .app-nav-item:hover {
  background: #f8fbfe; color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.app-nav-item.active, .app-nav-fold-btn.has-active {
  background: #fff; color: var(--ink); font-weight: 700;
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}
.app-nav-item.active::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--accent);
}
.nav-svg { width: 1.05rem; height: 1.05rem; flex: 0 0 1.05rem; color: #7b8da0; }
.app-nav-item.active .nav-svg, .app-nav-fold-btn.has-active .nav-svg { color: var(--accent); }
.app-nav-fold-chev { margin-left: auto; font-size: .72rem; color: #8aa0b4; }
.app-nav-fold.open .app-nav-fold-chev { transform: rotate(180deg); }
.app-nav-fold-body {
  display: none; flex-direction: column; gap: .28rem;
  padding: .05rem 0 .1rem .4rem; margin-left: .72rem;
  border-left: 1px solid rgba(11, 31, 51, 0.10);
}
.app-nav-fold.open .app-nav-fold-body { display: flex; }
.app-nav-foot { margin-top: auto; padding-top: .55rem; border-top: 1px solid rgba(11, 31, 51, 0.08); display: flex; flex-direction: column; gap: .35rem; }
.cikis-btn { margin: 0 .15rem .2rem; }
body.kilitli .shell { visibility: hidden; }
.giris-perde {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 1.4rem 1rem; overflow: auto;
  background: #071422;
}
.giris-cerceve {
  width: min(58rem, 100%); margin: auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  min-height: 34rem; border-radius: 22px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}
.giris-sol {
  background: linear-gradient(180deg, #1b365c 0%, #12243f 100%);
  color: #fff; padding: 2.3rem 2rem 1.7rem;
  display: flex; flex-direction: column;
}
.giris-logo { margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.giris-logo span { color: #e3b23c; }
.giris-slogan { margin: .75rem 0 0; color: rgba(255, 255, 255, .78); font-size: .95rem; font-weight: 600; }
.giris-maddeler { list-style: none; margin: 1.35rem 0 0; padding: 0; }
.giris-maddeler li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .85rem 0; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .95rem; font-weight: 600; line-height: 1.35;
}
.giris-maddeler li::before { content: "✓"; color: #e3b23c; font-weight: 800; }
.giris-sag {
  background: #fff; margin: 0; padding: 2.1rem 2rem 1.7rem;
  display: flex; flex-direction: column; justify-content: center; gap: .85rem;
}
.giris-sag .alan[hidden] { display: none; }
.giris-rozet {
  align-self: center; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(11, 31, 51, .08); background: #f8f5ef;
  border-radius: 999px; padding: .28rem .85rem .28rem .28rem;
}
.giris-rozet b {
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  border: 1.5px solid #e3b23c; display: grid; place-items: center;
  font-family: Georgia, "Times New Roman", serif; font-size: .62rem; background: #fff;
}
.giris-rozet span { display: flex; flex-direction: column; line-height: 1.15; }
.giris-rozet strong { font-size: .78rem; font-weight: 800; }
.giris-rozet small { font-size: .64rem; color: var(--muted); font-weight: 600; }
.giris-sag h2 { margin: .35rem 0 .15rem; text-align: center; font-size: 1.55rem; font-weight: 800; }
.giris-sag .alan { font-size: .8rem; font-weight: 700; color: #6d7f93; }
.giris-sag .alan input {
  height: 2.75rem; background: #f3f6fb; border-color: transparent; border-radius: 10px;
  padding: 0 .85rem; font-size: .95rem;
}
.giris-sag .alan input:focus {
  background: #fff; border-color: #e3b23c; box-shadow: 0 0 0 3px rgba(227, 178, 60, .22);
}
.giris-ana, .giris-alt {
  width: 100%; height: 2.9rem; border: 0; border-radius: 12px;
  font-weight: 800; font-size: .95rem;
}
.giris-ana { background: #10233d; color: #fff; margin-top: .35rem; }
.giris-ana:hover { filter: brightness(1.08); }
.giris-alt { background: #e3b23c; color: #1a2740; }
.giris-alt:hover { filter: brightness(1.05); }
.giris-sag .uyari { margin: 0; }
@media (max-width: 800px) {
  .giris-cerceve { grid-template-columns: 1fr; min-height: 0; }
  .giris-sol, .giris-sag { padding: 1.25rem 1.1rem; }
  .giris-logo { font-size: 1.55rem; }
}
.sifre-perde {
  position: fixed; inset: 0; z-index: 280;
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem; background: rgba(11, 31, 51, .38);
}
.sifre-perde[hidden] { display: none; }
body:not(.kilitli) .giris-perde { display: none; }
.ay-kilit .gun, .ay-kilit .hucre, .ay-kilit .gun-no { cursor: default; }
.giris-kart { width: min(26rem, 100%); display: flex; flex-direction: column; gap: .7rem; }
.giris-kart h2 { margin: 0; }
.giris-kart .hint { margin: 0; }
.giris-mark {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1.6px solid var(--brass); display: grid; place-items: center;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
}
.giris-kart .uyari { margin: 0; }
.nav-donem { font-size: .84rem; font-weight: 700; padding: .15rem .55rem; color: var(--accent); }
.app-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .85rem; min-height: 3.1rem;
  padding: .45rem 1.15rem; border-bottom: 1px solid rgba(11, 31, 51, 0.10);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
}
.app-topbar-title { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.topbar-secimler { margin-left: auto; display: flex; align-items: flex-end; gap: .55rem; flex-wrap: wrap; }
.yersec { display: flex; flex-direction: column; gap: .22rem; font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.yersec select, .yersec input, .alan input, .alan select, .alan textarea {
  border: 1px solid rgba(11, 31, 51, 0.16); background: #fff; border-radius: 8px;
  padding: 0 .55rem; font-size: .84rem; font-weight: 600; color: var(--ink); min-width: 0;
  height: 2.15rem;
}
.alan textarea { height: auto; min-height: 4.5rem; padding: .45rem .55rem; resize: vertical; }
.yersec select, .yersec input, .alan input, .alan select, .alan textarea { transition: border-color .12s, box-shadow .12s; }
.yersec select:focus, .yersec input:focus, .alan input:focus, .alan select:focus, .alan textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.yersec select { min-width: 8rem; max-width: 14rem; }
.app-topbar { flex-wrap: wrap; }
.topbar-secimler { flex-wrap: wrap; justify-content: flex-end; }
#ayKilit, .ay-kilit-btn { flex-shrink: 0; white-space: nowrap; }
.yilsec input { width: 5.2rem; }
.donem-aksiyon { display: flex; gap: .3rem; align-items: flex-end; }
.donem-aksiyon button, .btn, .btn-go, .btn-soft, .btn-danger {
  border-radius: 8px; border: 1px solid rgba(11, 31, 51, 0.14);
  background: #fff; padding: 0 .75rem; font-weight: 700; font-size: .82rem;
  height: 2.15rem; display: inline-flex; align-items: center; justify-content: center;
}
.donem-aksiyon button { min-width: 2rem; }
#ayKilit { min-width: 6.4rem; padding: 0 .7rem; }
.btn-go { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-soft { background: var(--surface-2); }
.btn-danger { color: var(--danger); border-color: rgba(229, 85, 85, .45); background: #fff; }
.btn:hover, .donem-aksiyon button:hover { filter: brightness(.97); }
.screen {
  flex: 1; min-height: 0; overflow: auto;
  display: flex; flex-direction: column;
  padding: .9rem 1.05rem;
}
.screen > * { min-width: 0; }
.ekran { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.kart.dolu { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.tablo-alan { flex: 1; min-height: 0; overflow: auto; }
.ekran-form .form-dolu {
  flex: 0 0 auto;
  align-content: start;
  align-items: start;
  grid-template-rows: auto;
}
.ekran-form .buyuyen { height: auto; min-height: 0; flex: 0 0 auto; }
.ekran-form .buyuyen textarea { flex: none; height: auto; min-height: 6.25rem; resize: vertical; }
.sayfa { display: flex; flex-direction: column; gap: .8rem; }
.sayfa > .kart + .kart, .sayfa > .ust + .kart, .sayfa > .kart { margin-top: 0; }
.sayfa > .ust { margin-bottom: 0; }
.kart {
  background: var(--panel); border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: .95rem 1rem 1rem;
  min-width: 0;
}
.kart-bas { margin: 0 0 .7rem; font-size: .95rem; font-weight: 800; }
.iki > .kart > .ust { min-height: 2.15rem; }
.kart .hint:last-child { margin-bottom: 0; }
.ust { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .7rem; }
.ust h2 { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.ust .spacer { flex: 1; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .82rem; margin: 0 0 .7rem; max-width: 72rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.stat { border-top: 3px solid var(--accent); padding-top: .8rem; }
.stat:nth-child(2) { border-top-color: var(--brass); }
.stat:nth-child(3) { border-top-color: #1f9a72; }
.stat:nth-child(4) { border-top-color: #0f6e82; }
.stat b { display: block; font-size: 1.45rem; font-weight: 800; margin-top: .2rem; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lejant { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.satir-kutu {
  display: grid; grid-template-columns: 2.35rem minmax(0, 1fr); gap: .55rem; align-items: center;
  padding: .42rem .5rem; border: 1px solid rgba(11, 31, 51, .08); border-radius: 10px; background: var(--surface-2);
}
.satir-kutu + .satir-kutu { margin-top: .35rem; }
.satir-kutu b {
  width: 2.35rem; height: 1.9rem; display: grid; place-items: center; border-radius: 8px;
  background: #fff; color: var(--accent); border: 1px solid rgba(11, 31, 51, .08); font-size: .82rem;
}
.satir-kutu span { font-weight: 650; line-height: 1.3; }
.kutu-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.kutu-2 .satir-kutu { margin-top: 0; }
.rozet {
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 999px; padding: .18rem .5rem; font-size: .75rem; font-weight: 800;
  border: 1px solid transparent;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; align-items: start; }
.alan { display: flex; flex-direction: column; gap: .28rem; font-size: .72rem; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.alan.tam, .form-grid > .tam { grid-column: 1 / -1; }
.satir-btn { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
table.data th {
  background: #d7e2ee; text-align: left; font-size: .68rem; padding: .5rem .6rem;
  letter-spacing: .05em; text-transform: uppercase; color: #3d5166; font-weight: 800;
}
table.data td { border-top: 1px solid rgba(11, 31, 51, .08); padding: .5rem .6rem; vertical-align: middle; }
table.data tbody tr:hover td { background: #f6f9fc; }
table.data tr.secili td { background: rgba(30, 58, 95, .08); }
table.data tr.toplam td { background: #eef3f8; border-top: 2px solid #c5d4e4; }
table.data button.link { border: 0; background: transparent; color: var(--accent); font-weight: 800; padding: 0; }
.bos {
  padding: 1.4rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed rgba(11, 31, 51, .2); border-radius: 12px; background: rgba(255,255,255,.55);
}
.kisi-sec { position: relative; }
.kisi-tetik {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(11, 31, 51, .14); background: #fff; color: var(--ink);
  border-radius: 10px; padding: .38rem .7rem; font-weight: 800; font-size: 1rem;
}
.kisi-tetik:hover { border-color: var(--accent); }
.kisi-ok { color: var(--muted); font-size: .85rem; }
.kisi-pencere {
  position: absolute; z-index: 30; top: calc(100% + .35rem); left: 0;
  width: 16.5rem; max-height: 18rem; overflow: auto;
  display: flex; flex-direction: column; gap: .35rem;
  padding: .4rem; background: #fff; border: 1px solid rgba(11, 31, 51, .12);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 31, 51, .16);
}
.kisi-pencere[hidden] { display: none; }
.kisi {
  text-align: left; border: 1px solid rgba(11, 31, 51, .1); background: var(--surface-2);
  border-radius: 10px; padding: .5rem .6rem; font-weight: 700; min-height: 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.kisi small { display: block; font-weight: 600; color: var(--muted); }
.kisi.aktif { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.cal-h {
  text-align: center; font-size: .7rem; font-weight: 800; color: var(--accent);
  background: #e7eef6; border-radius: 8px; padding: .32rem 0; letter-spacing: .04em;
}
.gun {
  min-height: 76px; border-radius: 10px; border: 1px solid rgba(11, 31, 51, .1);
  background: #fff; padding: 6px 8px 5px; text-align: left;
  display: grid; grid-template-rows: 14px minmax(1.15rem, 1fr) 14px; align-items: start;
}
.gun .no { font-weight: 800; font-size: .74rem; line-height: 14px; }
.gun .kod { font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; line-height: 1; align-self: center; }
.gun .alt { font-size: .66rem; color: var(--muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 14px; align-self: end; }
.gun.secili, .gun.coklu { outline: 2px solid var(--accent); outline-offset: 1px; }
.gun.coklu { box-shadow: inset 0 0 0 2px var(--accent); }
.gun.bugun .no { color: var(--brass); }
.gun.dis { background: #f3f6f9; color: #9aabba; cursor: default; }
.gun.bos-hucre { background: transparent; border: 0; cursor: default; min-height: 0; }
.ozet-serit {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; margin-top: .8rem;
}
@media (min-width: 1280px) {
  .ozet-serit { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
.ozet-serit b {
  background: var(--surface-2); border: 1px solid rgba(11, 31, 51, .08); border-radius: 10px;
  padding: .38rem .2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .08rem;
  min-height: 2.7rem;
}
.ozet-serit b span { font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.ozet-serit b em { font-style: normal; font-size: .95rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cetvel-wrap { overflow: hidden; width: 100%; border: 1px solid rgba(11, 31, 51, .12); border-radius: 12px; background: #fff; }
table.cetvel { border-collapse: separate; border-spacing: 0; font-size: 11px; width: 100%; table-layout: fixed; }
col.c-ad { width: 7.2rem; }
col.c-oz { width: 1.55rem; }
table.cetvel th, table.cetvel td {
  border-right: 1px solid #e6eef6; border-bottom: 1px solid #e6eef6;
  text-align: center; min-width: 0; height: 28px; padding: 0; font-weight: 800;
  overflow: hidden; white-space: nowrap;
}
table.cetvel .ad {
  position: sticky; left: 0; background: #fff; text-align: left;
  padding: 0 .4rem; font-weight: 700; z-index: 2;
  text-overflow: ellipsis;
}
table.cetvel th.oz, table.cetvel td.oz {
  font-size: 9px; letter-spacing: -.02em; padding: 0;
  background: #f7fafc;
}
table.cetvel thead th { position: sticky; top: 0; background: #d7e2ee; z-index: 3; font-size: 10px; }
table.cetvel thead th.oz { font-size: 8px; font-weight: 800; background: #c5d4e4; }
table.cetvel thead th.ad { left: 0; z-index: 4; text-align: left; font-size: 10px; }
table.cetvel td.ad { left: 0; }
table.cetvel td.hucre, table.cetvel th.gun-no { cursor: pointer; }
table.cetvel td.hucre:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
table.cetvel td.hucre.coklu { outline: 2px solid var(--accent); outline-offset: -2px; box-shadow: inset 0 0 0 2px var(--accent); }
table.cetvel th.gun-no.coklu { background: var(--accent); color: #fff; }
.toplu-bar {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid rgba(11, 31, 51, .1); border-radius: 10px;
  padding: .4rem .5rem; margin: 0 0 .55rem;
}
.cetvel-ust .lejant { margin-bottom: .55rem; }
.cetvel-ust .toplu-bar { margin-bottom: 0; }
.toplu-bar.dolu { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.toplu-say { font-weight: 800; font-size: .75rem; min-width: 7.2rem; color: var(--accent); }
.toplu-kodlar { display: flex; flex-wrap: wrap; gap: .2rem; }
.toplu-kod {
  border-radius: 7px; border: 1px solid rgba(11, 31, 51, .12);
  min-width: 1.65rem; padding: .18rem .28rem; font-weight: 800; font-size: .72rem;
}
.toplu-fm { display: flex; align-items: center; gap: .22rem; font-size: .68rem; font-weight: 800; color: var(--muted); }
.toplu-fm input { width: 3.2rem; padding: .18rem .28rem; font-size: .75rem; }
table.cetvel .tatil { color: var(--brass); }
table.cetvel .paz { color: #8aa; }
.picker {
  position: fixed; z-index: 80; width: 292px; background: #fff;
  border: 1px solid rgba(11, 31, 51, .14); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(11, 31, 51, .18); padding: .7rem;
}
.picker h3 { margin: 0 0 .45rem; font-size: .88rem; }
.picker-kodlar { display: flex; flex-wrap: wrap; gap: .32rem; }
.picker-kodlar button {
  border-radius: 8px; border: 1px solid rgba(11, 31, 51, .12);
  padding: .28rem .42rem; font-weight: 800; font-size: .75rem; background: #fff;
}
.picker .fm { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.picker .fm input { width: 5rem; }
.picker .satir-btn { margin-top: .55rem; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
.uyari {
  background: #fff7ea; border: 1px solid rgba(192, 138, 34, .35); color: #6d5310;
  border-radius: 10px; padding: .55rem .7rem; font-size: .8rem; margin-bottom: .7rem;
}
.iki { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; align-items: start; }
.sayfa > .iki { align-items: stretch; }
.sayfa > .iki > .kart { height: 100%; }
@media (max-width: 1100px) {
  .ozet-serit, .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .grid-3, .grid-4, .takvim-yer, .iki, .form-grid, .kutu-2, .ozet-serit { grid-template-columns: 1fr; }
  .app-sidebar { width: 13.2rem; flex-basis: 13.2rem; }
}
.pdf-perde {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(11, 31, 51, .62);
  display: flex; flex-direction: column;
}
.pdf-perde[hidden] { display: none !important; }
.pdf-arac {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .9rem; background: #fff;
  border-bottom: 1px solid rgba(11, 31, 51, .12);
}
.pdf-arac strong { font-size: .95rem; }
.pdf-not { color: var(--muted); font-size: .75rem; font-weight: 700; margin-right: auto; }
.pdf-sahne {
  flex: 1; min-height: 0; overflow: auto;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 1rem 1rem 1.4rem;
}
.pdf-olcek { position: relative; flex: 0 0 auto; }
.pdf-sayfa {
  position: absolute; top: 0; left: 0;
  background: #fff; color: #0b1f33;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  padding: 7mm 7mm 6mm; box-sizing: border-box;
  transform-origin: top left; overflow: hidden;
  display: flex; flex-direction: column;
}
.pdf-ust { display: flex; justify-content: space-between; gap: 8px; align-items: flex-end; margin-bottom: 2.5mm; }
.pdf-ust h1 { margin: 0; font-size: 13pt; line-height: 1.15; }
.pdf-ust p { margin: .4mm 0 0; font-size: 8pt; color: #5a6f84; }
.pdf-sayfa table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pdf-lejant { display: flex; flex-wrap: wrap; gap: 1.2mm 2.2mm; margin-top: 2mm; font-size: 6.5pt; font-weight: 700; }
.pdf-lejant i { display: inline-block; min-width: 4.5mm; text-align: center; border: 1px solid #7d92a6; font-style: normal; padding: 0 1px; margin-right: 1px; }
.pdf-imza { display: flex; gap: 8mm; margin-top: auto; padding-top: 4mm; font-size: 8pt; }
.pdf-imza div { flex: 1; border-top: 1px solid #8aa0b4; padding-top: 1.5mm; }
@media print {
  @page { size: A4 landscape; margin: 6mm; }
  .app-sidebar, .app-topbar, .no-print, .picker, .pdf-arac { display: none !important; }
  body.pdf-acik { background: #fff; }
  body.pdf-acik .shell { display: none !important; }
  body.pdf-acik .pdf-perde { display: block !important; position: static; background: #fff; }
  body.pdf-acik .pdf-sahne { padding: 0; overflow: visible; display: block; }
  body.pdf-acik .pdf-olcek { width: auto !important; height: auto !important; }
  body.pdf-acik .pdf-sayfa {
    position: static; transform: none !important;
    width: 100% !important; height: auto !important;
    box-shadow: none; padding: 0;
  }
}
.print-only { display: none; }
.print-bas h1 { margin: 0; font-size: 16px; }
.print-bas p { margin: .15rem 0 .45rem; font-size: 11px; }
.imza { display: flex; gap: 2rem; margin-top: 1rem; font-size: 11px; }
.imza div { flex: 1; border-top: 1px solid #999; padding-top: .35rem; }
