:root {
  --navy: #002b5c;
  --navy-deep: #001a38;
  --sidebar: #002b5c;
  --sidebar-hi: #0a4a8f;
  --blue: #0060c0;
  --blue-d: #004a96;
  --blue-soft: #e8f2fc;
  --yellow: #f5c518;
  --paper-bg: #eef3f8;
  --line: #c9d7e8;
  --ink: #002b5c;
  --muted: #5a6f86;
  --ok: #1b7a43;
  --danger: #b42318;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Source Sans 3", sans-serif;
  --font-script: "Caveat", cursive;
  --ui: 16.5px;
  --radius: 12px;
  --shadow: 0 14px 36px rgba(0, 43, 92, .12);
  /* MPS KİLİT — değiştirme: tools/mps-layout-kilit-kontrol.js */
  --mps-nudge-top: 3.5mm;
  --mps-nudge-left: 8mm;
  --mps-nudge-width: calc(100% - 5mm);
  --mps-nudge-height: calc(100% - 3.5mm); /* top kayınca alt taşmasın → 2. sayfa olmasın */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: var(--ui); }
html, body {
  margin: 0; min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper-bg);
  letter-spacing: .01em;
}
h1, h2, h3, h4, .home-section-title, .ps-block-head h3, .ps-hero h2, .eb-top h2 {
  font-family: var(--font-display);
  letter-spacing: .02em;
}
button, input, select, textarea { font: inherit; }
/* font:inherit checkbox’ta Windows/Chromium’da tik’i kutudan kaydırır */
input[type="checkbox"],
input[type="radio"] {
  font: initial;
  font-family: system-ui, Segoe UI, sans-serif;
  font-size: 12px;
  line-height: 1;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.12rem 0 0;
  flex-shrink: 0;
  accent-color: var(--blue);
  vertical-align: top;
}
button { cursor: pointer; }

.login-gate {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(1.25rem, env(safe-area-inset-top))
           max(1.25rem, env(safe-area-inset-right))
           max(1.25rem, env(safe-area-inset-bottom))
           max(1.25rem, env(safe-area-inset-left));
  background: var(--navy-deep);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
.zac-cover {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.zac-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.08);
  filter: blur(16px) saturate(1.08) brightness(.92);
}
.zac-cover-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 26, 56, .28) 0%, rgba(0, 26, 56, .62) 100%),
    linear-gradient(180deg, rgba(0, 26, 56, .38) 0%, rgba(0, 26, 56, .55) 55%, rgba(0, 16, 40, .72) 100%);
  pointer-events: none;
}
.login-portal {
  position: absolute;
  top: max(.85rem, env(safe-area-inset-top));
  left: max(.85rem, env(safe-area-inset-left));
  z-index: 6;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: .48rem .9rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 26, 56, .22);
}
.login-portal:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.login-stage {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin-block: auto;
  display: grid;
}
.login-card {
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: 20px;
  padding: 1.7rem 1.55rem 1.35rem;
  box-shadow: 0 28px 64px rgba(0, 16, 40, .42), 0 0 0 1px rgba(255, 255, 255, .28);
  border-top: 4px solid var(--blue);
}
.login-brand { display: flex; gap: .75rem; align-items: center; margin-bottom: .55rem; }
.login-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3d8dff, var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 0 0 3px rgba(0,96,192,.25);
  flex: 0 0 auto;
}
.login-zac {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--blue);
}
.login-brand h1 {
  margin: .1rem 0 0;
  font-size: 1.28rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .04em;
}
.login-brand p { margin: 0; color: var(--muted); font-size: .88rem; }
.login-script {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--blue);
  margin: 0 0 .35rem;
  line-height: 1;
}
.login-spaced {
  margin: 0 0 .9rem;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--navy);
  opacity: .72;
}
.login-card h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
.login-card .sub { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.login-card label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 700; margin-bottom: .7rem; }
.login-card input {
  padding: .7rem .75rem; border: 1px solid var(--line); background: #f4f8fc; border-radius: 10px;
}
.btn-blue {
  width: 100%; border: 0; background: var(--blue); color: #fff; font-weight: 800;
  padding: .8rem; border-radius: 10px;
  font-family: var(--font-display);
  letter-spacing: .03em;
}
.btn-busy {
  pointer-events: none !important;
  opacity: .9;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.pk-spin {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pk-spin .7s linear infinite;
  flex: 0 0 auto;
}
.btn-ghost .pk-spin {
  border-color: rgba(11,58,122,.25);
  border-top-color: var(--blue);
}
@keyframes pk-spin {
  to { transform: rotate(360deg); }
}
/* Kayıtlı sayfa — yeşil Kaydet / Düzenle */
.btn-kaydet-ok,
button.btn-blue.btn-kaydet-ok {
  background: #1a7f4b !important;
  color: #fff !important;
}
.btn-kaydet-ok:hover,
button.btn-blue.btn-kaydet-ok:hover {
  background: #14663c !important;
}
.sayfa-kilitli .panel input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.sayfa-kilitli .panel select,
.sayfa-kilitli .panel textarea,
.sayfa-kilitli .panel button:not(.btn-kaydet-sayfa):not(.ford-print):not(.link),
.sayfa-kilitli .mps-edit input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.sayfa-kilitli .mps-edit select,
.sayfa-kilitli .mps-edit textarea,
.sayfa-kilitli .mps-edit button:not(.btn-kaydet-sayfa) {
  pointer-events: none;
  opacity: .72;
}
.rev-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  z-index: 6;
  text-align: right;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  pointer-events: none;
}
.rev-badge b {
  display: block;
  font-size: .92rem;
  font-weight: 900;
  color: #002b5c;
  letter-spacing: .02em;
}
.rev-badge span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #0060c0;
  margin-top: 2px;
}
.a4-rev-host { position: relative; }
.link { display: block; text-align: center; margin-top: .75rem; color: var(--blue); text-decoration: none; font-weight: 700; font-size: .9rem; }
.login-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: -.35rem 0 .55rem;
}
.login-forgot-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.hat-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  color: var(--navy);
}
.hat-check input { width: 1.05rem; height: 1.05rem; }
.login-reset .login-back {
  width: 100%;
  margin-top: .65rem;
  justify-content: center;
  display: inline-flex;
}
.login-gate .login-card[hidden] { display: none !important; }

.app-home {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #9bb4c8;
  display: flex;
  flex-direction: column;
}
.home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transform: scale(1.1);
  filter: blur(18px) saturate(1.08) brightness(.98);
}
.home-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(255, 255, 255, .28) 0%, transparent 62%),
    linear-gradient(180deg, rgba(220, 232, 244, .42) 0%, rgba(214, 227, 240, .62) 48%, rgba(206, 221, 236, .78) 100%);
  pointer-events: none;
}
.home-logout {
  position: absolute;
  top: max(.85rem, env(safe-area-inset-top));
  left: max(.85rem, env(safe-area-inset-left));
  z-index: 6;
  border: 1.5px solid rgba(0, 43, 92, .28);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: .48rem .9rem;
  box-shadow: 0 8px 20px rgba(0, 26, 56, .14);
}
.home-logout:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.home-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/* Spacer kaldırıldı — marka zaten akışta tam boy */
.home-hero {
  display: none;
}
.home-hero-fade {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* İş bandı — markanın ALTINDA, üzerine binmez, geniş yayılır */
.home-work {
  flex: 1 1 auto;
  background: transparent;
  padding: 4.35rem clamp(1rem, 2.2vw, 2rem) 2.25rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.home-work-inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  animation: homeWorkIn .45s ease both;
}
@keyframes homeWorkIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.home-work-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.home-eyebrow {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.home-section-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--navy);
  text-align: left;
}
.home-year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: .08em;
  color: var(--navy);
  border-bottom: 3px solid var(--yellow);
  padding: 0 .1rem .15rem;
  line-height: 1;
}
.home-kicker {
  text-align: left;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .12em;
  font-family: var(--font-display);
  font-size: .72rem;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: .95rem;
}
.home-act {
  text-align: left;
  border: 0;
  border-radius: 4px;
  padding: .95rem 1.1rem .9rem;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 7.25rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .2rem;
  transition: transform .18s ease, background .18s ease;
  box-shadow: 0 12px 28px rgba(0, 26, 56, .22);
}
.home-act::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--yellow);
}
.home-act:hover {
  transform: translateY(-3px);
  background: #003a73;
}
.home-act:nth-child(2) { background: #00366a; }
.home-act:nth-child(2):hover { background: #004a8c; }
.home-act:nth-child(3) { background: #004a96; }
.home-act:nth-child(3):hover { background: #0060c0; }
.home-act-kicker {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--yellow);
  padding-left: .35rem;
}
.home-act strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding-left: .35rem;
  line-height: 1.2;
}
.home-act em {
  display: block;
  font-style: normal;
  font-size: .86rem;
  color: rgba(255, 255, 255, .72);
  padding-left: .35rem;
  line-height: 1.35;
  align-self: start;
}
.home-act-go {
  margin-top: .45rem;
  padding-left: .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .88rem;
  color: var(--yellow);
  letter-spacing: .04em;
}

.mailbar {
  margin: 0 0 .9rem;
  border: 1px solid rgba(0, 43, 92, .12);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--ok);
}
.mailbar-copy { display: flex; align-items: flex-start; gap: .55rem; }
.mailbar-copy b { color: var(--navy); font-size: .92rem; font-family: var(--font-display); }
.mailbar-sub { color: var(--muted); font-size: .82rem; margin-top: .12rem; line-height: 1.35; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22a35a;
  display: inline-block; margin-top: .4rem; flex: 0 0 auto;
}
.ghost {
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  border-radius: 4px;
  padding: .5rem .9rem;
  font-weight: 800;
  font-size: .84rem;
  font-family: var(--font-display);
  letter-spacing: .03em;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.ghost:hover {
  background: var(--navy);
  color: #fff;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 0;
  border-bottom: 2px solid rgba(0, 43, 92, .12);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 4px 4px 0 0;
}
.tabs button {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: .7rem 1rem .65rem;
  font-weight: 800;
  font-size: .88rem;
  font-family: var(--font-display);
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s ease, border-color .15s ease;
}
.tabs button:hover { color: var(--navy); }
.tabs button.active {
  background: transparent;
  color: var(--navy);
  border-bottom-color: var(--yellow);
  box-shadow: none;
}
.badge {
  background: var(--yellow);
  color: var(--navy);
  border-radius: 3px;
  padding: .06rem .35rem;
  font-size: .72rem;
  margin-left: .3rem;
  font-weight: 900;
  vertical-align: middle;
}

.list-card {
  border: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 4px 4px;
  padding: 1.1rem 1.25rem 1.5rem;
  box-shadow: 0 10px 28px rgba(0, 43, 92, .08);
  min-height: 0;
  overflow: visible;
}
.list-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(0, 43, 92, .08);
}
.list-card h2 {
  margin: .15rem 0 0;
  font-size: 1.18rem;
  color: var(--navy);
}
.list-help {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  max-width: 22rem;
  text-align: right;
}
#kayit-listesi {
  overflow: visible;
  padding-bottom: .35rem;
}
.rec {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(0, 43, 92, .08);
  background: transparent;
  border-radius: 0;
  padding: 1rem .2rem 1.05rem;
  margin: 0;
  transition: background .15s ease;
  overflow: visible;
  min-height: 4.5rem;
}
.rec:last-child { border-bottom: 0; }
.rec:hover { background: #f3f7fc; }
.rec small {
  color: var(--blue);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rec strong {
  display: block;
  margin: .2rem 0 .12rem;
  color: var(--navy);
  font-size: 1.02rem;
  font-family: var(--font-display);
}
.rec em { color: var(--muted); font-style: normal; font-size: .84rem; }
.rec > span {
  color: var(--navy);
  font-weight: 800;
  font-size: .84rem;
  font-family: var(--font-display);
  white-space: nowrap;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

@media (max-width: 900px) {
  .home-work {
    padding: 4.15rem 1rem 1.75rem;
  }
  .home-section-title { font-size: 1.38rem; }
  .home-actions { grid-template-columns: 1fr; gap: .55rem; }
  .home-act {
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: .8rem .95rem .8rem 1.05rem;
    gap: .1rem .65rem;
    column-gap: .7rem;
  }
  .home-act-kicker {
    grid-row: 1 / 3;
    align-self: center;
    padding-left: .15rem;
  }
  .home-act strong,
  .home-act em { padding-left: 0; }
  .home-act-go {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
    padding-left: 0;
  }
  .mailbar { flex-direction: column; align-items: stretch; }
  .list-help { text-align: left; max-width: none; }
}
@media (max-height: 740px) {
  .home-work { padding-top: 4rem; }
}

@media (min-width: 1400px) {
  .home-act strong { font-size: 1.22rem; }
  .home-act { min-height: 7.6rem; padding: 1.05rem 1.25rem 1rem; }
}

.modal-back {
  position: fixed; inset: 0; background: rgba(0,26,56,.5);
  display: grid; place-items: center; padding: 1rem; z-index: 20;
}
.modal {
  width: min(640px, 100%);
  background: rgba(255, 255, 255, .97);
  border-radius: 20px;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(201, 215, 232, .8);
  box-shadow: 0 24px 60px rgba(0, 26, 56, .28);
  border-top: 4px solid var(--blue);
}
.modal h2 { margin: .2rem 0; font-family: var(--font-display); }
.choices { display: grid; gap: .65rem; margin-top: .9rem; }
.choice {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: #fff;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.choice:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 96, 192, .1);
  transform: translateY(-1px);
}
.choice.danger { background: #fff5f4; border-color: #f0c2bd; }
.choice.danger:hover { border-color: #d94841; }
.choice b { display: block; margin-bottom: .25rem; font-family: var(--font-display); }

html:has(#view-editor:not([hidden])),
body:has(#view-editor:not([hidden])) {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
.editor {
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}
.side {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #dce6f5;
  padding: .8rem .65rem .7rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.side-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: .35rem;
}
.side-user {
  flex: 0 0 auto;
  margin-top: .35rem;
  padding: .75rem .5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.side-user-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  font-weight: 800;
  color: #9db0cc;
}
.side-user-name {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.25;
  word-break: break-word;
  margin-top: .12rem;
}
.side-user-email {
  display: block;
  color: #b7c7dc;
  font-size: .74rem;
  line-height: 1.3;
  word-break: break-all;
  margin-top: .1rem;
}
.side-logout {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: .5rem .7rem;
}
.side-logout:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.side .brand {
  display: flex; gap: .55rem; align-items: center; color: #fff; font-weight: 800;
  padding: .4rem .45rem 1rem;
  font-family: var(--font-display);
}
.side .brand b { display: block; font-size: .82rem; letter-spacing: .06em; }
.side .brand small { display: block; font-size: .72rem; font-weight: 600; opacity: .8; font-family: var(--font); }
.side button.nav {
  width: 100%; text-align: left; border: 0; background: transparent; color: inherit;
  padding: .52rem .6rem; border-radius: 8px; font-weight: 700; font-size: .92rem;
}
.side button.nav:hover { background: rgba(255,255,255,.08); color: #fff; }
.side button.nav.active {
  background: var(--sidebar-hi); color: #fff;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.side .grp { margin: .7rem .45rem .25rem; font-size: .74rem; letter-spacing: .08em; color: #9db0cc; font-weight: 800; }
.side .ok { color: #7dffa8; }

.work {
  padding: 1rem 1.2rem 3rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.back { border: 0; background: var(--blue); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-weight: 800; }
.progress { color: var(--muted); font-size: .9rem; font-weight: 700; }
.salt-okunur-bar {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin: 0 0 .85rem;
  padding: .65rem .9rem;
  background: #fff4d6;
  border: 1px solid #e6c86a;
  border-left: 5px solid var(--yellow);
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.35;
}
.salt-okunur-bar b {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: .2rem .45rem;
  border-radius: 3px;
}
.salt-okunur-bar span { flex: 1; min-width: 12rem; }
body.salt-okunur-mod .sayfa-kilitli input,
body.salt-okunur-mod .sayfa-kilitli textarea,
body.salt-okunur-mod .sayfa-kilitli select,
body.salt-okunur-mod .work input,
body.salt-okunur-mod .work textarea,
body.salt-okunur-mod .work select {
  pointer-events: none;
}
body.salt-okunur-mod .work .btn-blue,
body.salt-okunur-mod .work .btn-kaydet-sayfa {
  opacity: .55;
  cursor: not-allowed;
}
.grid2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.panel {
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 43, 92, .07);
}
.panel h2 {
  margin: 0 0 .8rem; font-size: 1.12rem;
  font-family: var(--font-display); font-weight: 800; color: var(--navy); letter-spacing: .02em;
}
.fields { display: grid; gap: .55rem; }
.fields label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 700; }
.fields input, .fields select, .fields textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .65rem .75rem;
  background: #f7f9fc;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fields input:focus, .fields select:focus, .fields textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 96, 192, .12);
}
.fields textarea { min-height: 72px; }
.tek { border: 1px solid #c9d8f0; background: #f4f8ff; border-radius: 10px; padding: .7rem; margin-bottom: .7rem; }
.tek b { color: var(--blue); font-size: .82rem; }
.checks label { display: flex; gap: .45rem; align-items: center; font-weight: 700; font-size: .92rem; }
.soon { color: var(--muted); padding: 2rem 1rem; }

.ford-wrap { width: min(210mm, 100%); margin: 1rem auto 2rem; }
.ford-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: .55rem .8rem; border-radius: 8px 8px 0 0;
  
}
.ford-toolbar b { font-size: .95rem; font-family: var(--font-display); letter-spacing: .03em; }
.ford-print {
  border: 0; background: #fff; color: var(--blue); font-weight: 800;
  border-radius: 6px; padding: .4rem .7rem;
}
.ford-page {
  width: 100%;
  min-height: 0;
  height: 297mm;
  max-height: 297mm;
  overflow: hidden;
  background: #fff;
  border: 1px solid #111;
  border-top: 0;
  padding: 3.2mm 4mm 3mm;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 6.55px;
  line-height: 1.15;
  color: #000;
}
.ford-grid {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ford-grid col.c1 { width: 15.4%; }
.ford-grid col.c2 { width: 19%; }
.ford-grid col.c3 { width: 7.6%; }
.ford-grid col.c4 { width: 7.6%; }
.ford-grid col.c5 { width: 15.4%; }
.ford-grid col.c6 { width: 15.4%; }
.ford-grid col.c7 { width: 19.6%; }
.ford-t td { border: .55px solid #000; padding: 1.2px 2.2px; vertical-align: top; }
.ford-t .org { font-weight: 800; font-size: 9.5px; border-bottom: 0; }
.ford-t .date { text-align: right; font-size: 8.5px; border-bottom: 0; }
.ford-t .title { text-align: center; font-weight: 800; font-size: 10.5px; line-height: 1.15; padding: 2px 2px; }
.ford-t .pre { text-align: justify; font-size: 5.9px; line-height: 1.18; }
.ford-t .lab { font-weight: 700; }
.ford-t .val { font-size: 7.2px; }
.ford-t .ctr { text-align: center; font-weight: 700; }
.ford-t .joblab { font-weight: 800; }
.ford-t .job { min-height: 16px; font-weight: 700; font-size: 7.2px; }
.ford-t .sig { font-size: 5.7px; vertical-align: top; }
.ford-t .sig b { display: block; margin-top: 1px; }
.ford-signpad { display: block; min-height: 10mm; position: relative; }
.ford-t .sig-onay .ford-signpad { min-height: 13mm; }
.ford-t .sig-muteahhit .ford-signpad { min-height: 18mm; }
.ford-t .sig-muteahhit .ford-kase {
  max-height: 16.5mm;
  max-width: 100%;
}
.ci-ebru {
  height: 18mm;
  overflow: visible;
}
.ci-ebru .ford-kase {
  position: absolute;
  left: 0;
  top: 0;
  width: 30mm;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  z-index: 1;
}
.ci-ebru .ford-wet {
  position: absolute;
  left: 2.55mm;
  top: 0;
  width: 22.8mm;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  z-index: 2;
}
.ford-wet {
  display: block;
  max-width: 100%;
  max-height: 12mm;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: multiply !important;
  filter:
    contrast(1.18)
    drop-shadow(.45px 0 0 rgba(0, 43, 92, .9))
    drop-shadow(-.45px 0 0 rgba(0, 43, 92, .9))
    drop-shadow(0 .45px 0 rgba(0, 43, 92, .9))
    drop-shadow(0 -.45px 0 rgba(0, 43, 92, .9)) !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.ford-kase {
  display: block;
  max-width: 100%;
  max-height: 11mm;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: multiply !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.imza-panel h2 { margin-bottom: .35rem; }
.imza-lead { color: var(--muted); margin: 0 0 .85rem; line-height: 1.45; max-width: 70ch; }
.imza-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin: 0 0 1rem;
}
.imza-how > div {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .65rem;
  font-size: .9rem;
  color: #334;
}
.imza-how b {
  display: inline-flex;
  width: 1.35rem; height: 1.35rem;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: .78rem;
  margin-right: .35rem;
}
.imza-actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .45rem .8rem;
  font-weight: 700;
  cursor: pointer;
}
.imza-bank-title { margin: 1.1rem 0 .45rem; font-size: 1.05rem; }
.imza-empty { color: var(--muted); }
.kisi-bank { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; margin-top: .4rem; }
.kisi-card {
  border: 1px solid var(--line); border-radius: 12px; padding: .75rem; background: #f7f9fc;
}
.kisi-card strong { display: block; font-size: 1rem; }
.kisi-card em { color: var(--muted); font-style: normal; font-size: .86rem; display: block; margin-top: .15rem; }
.kisi-card small { display: block; color: #66758a; margin-top: .25rem; font-size: .78rem; }
.kisi-previews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem; margin: .55rem 0; }
.kisi-prev {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: .35rem;
  min-height: 72px; display: flex; flex-direction: column; gap: .2rem;
}
.kisi-prev span { font-size: .72rem; font-weight: 700; color: #66758a; text-transform: uppercase; letter-spacing: .03em; }
.kisi-prev img { display: block; width: 100%; height: 56px; object-fit: contain; }
.kisi-prev-foto img { height: 80px; object-fit: cover; object-position: center top; }
.kisi-prev.empty { align-items: center; justify-content: center; color: #9aa7b8; font-size: .82rem; }
.kisi-prev.empty span { text-transform: none; letter-spacing: 0; font-weight: 600; }
.kisi-card-actions { display: flex; gap: .4rem; }
.kisi-card-actions button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .3rem .55rem; font-weight: 700; cursor: pointer;
}
.kisi-card-actions button[data-sil] { color: #9b1c1c; }
.ford-t .mps { font-weight: 700; }
.ford-t .h { font-weight: 800; border-bottom: 0; padding-top: 1.5px; padding-bottom: 0; }
.ford-t .art { text-align: justify; border-top: 0; border-bottom: 0; padding: 0.2px 2.2px; line-height: 1.12; }
.ford-t .code { text-align: right; font-weight: 800; font-size: 7px; border-top: 0; padding-top: 1px; }
.ford-t i { font-size: 5.5px; font-style: italic; font-weight: 400; }
.ford-box {
  display: inline-block;
  width: 8px; height: 8px;
  border: 1px solid #000;
  text-align: center;
  font-size: 7px;
  line-height: 8px;
  font-weight: 800;
  margin-right: 2px;
  vertical-align: -1px;
}
.hint { color: var(--muted); font-size: .9rem; }
h3 { margin: 1.1rem 0 .4rem; font-size: 1.06rem; }
.chk3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem 0.9rem;
  align-items: start;
}
.chk3 label,
.chk3 .chk3-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  cursor: pointer;
  margin: 0;
}
.chk3 input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  min-height: 1.1rem;
  margin: 0.18rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  align-self: flex-start;
  position: static;
  transform: none;
  accent-color: var(--blue);
  cursor: pointer;
}
.chk3 input[type="checkbox"]::before,
.chk3 input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}
.chk3 label span {
  min-width: 0;
  flex: 1 1 auto;
}
.mps-kkd-panel {
  margin: 1rem 0;
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}
.mps-kkd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .8rem;
}
.mps-kkd-head h2 { margin: 0 0 .2rem; color: var(--navy); }
.mps-kkd-head p { margin: 0; color: #52657d; font-size: .88rem; }
.mps-kkd-hint {
  flex: 0 0 auto;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: .7rem;
  letter-spacing: .05em;
}
.mps-kkd-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(105px, 1fr));
  gap: .55rem;
}
.mps-kkd-card {
  min-height: 120px;
  display: grid;
  grid-template-rows: 48px 1fr auto;
  place-items: center;
  gap: .35rem;
  padding: .55rem .4rem;
  border: 1px solid #bfd0e4;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.mps-kkd-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 96, 192, .13);
}
.mps-kkd-card.is-selected {
  border: 2px solid var(--blue);
  background: #e3f1ff;
  box-shadow: inset 0 0 0 2px #fff;
}
.mps-kkd-card img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.mps-kkd-check {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--blue);
  font-size: .72rem;
}
.mps-kkd-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.mps-kkd-diger {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .7rem;
  margin-top: .75rem;
  color: var(--navy);
  font-weight: 800;
}
.mps-kkd-diger input {
  width: 100%;
  border: 1px solid #bfd0e4;
  border-radius: 8px;
  padding: .55rem .65rem;
  font: inherit;
  background: #fff;
}
@media (max-width: 1050px) {
  .mps-kkd-grid { grid-template-columns: repeat(4, minmax(100px, 1fr)); }
}
@media (max-width: 700px) {
  .mps-kkd-head { align-items: flex-start; flex-direction: column; }
  .mps-kkd-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}
#mps-kontroller {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: .35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.mps-ctrl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem 1rem;
  align-items: center;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.mps-ctrl:last-child { border-bottom: 0; }
.mps-ctrl:nth-child(even) { background: #f7f9fc; }
.mps-ctrl-q {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.mps-ctrl-eh {
  display: flex;
  gap: .85rem;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.mps-ctrl-eh label {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
}
.adim-head, .adim-row { display: grid; grid-template-columns: 42px 1.2fr 1fr 1fr 72px; gap: .45rem; }
.adim-head { background: #f3f6fb; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .5rem; font-weight: 800; font-size: .9rem; }
.adim-row { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; margin: .45rem 0; }
.adim-row textarea { min-height: 72px; width: 100%; }
.adim-row .n { font-weight: 800; align-self: center; }
.sablon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.sablon-card { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; background: #fff; }
.sablon-card b { display: block; margin-bottom: .25rem; }
.sablon-card small { color: var(--blue); font-weight: 800; }
.sablon-card p { margin: .25rem 0; font-size: .88rem; }
.badge-ok { background: #d9f5e3; color: #146c36; border-radius: 99px; padding: .1rem .45rem; font-size: .78rem; font-weight: 800; }
.badge-no { background: #fde8e6; color: #b42318; border-radius: 99px; padding: .1rem .45rem; font-size: .78rem; font-weight: 800; }
.mps-wrap { width: min(297mm, 100%); margin: 1rem auto 2rem; overflow-x: auto; }
.mps-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: .5rem .75rem; border-radius: 8px 8px 0 0; font-size: .85rem;
  
  font-family: var(--font-display);
}
.mps-page {
  position: relative;
  width: 297mm; height: 210mm;
  background: #fff;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  margin: 0 auto 1rem;
  overflow: hidden;
  box-sizing: border-box;
}
/* Canlı paket MPS — görüntü taslağı (#page-mps / #a4-mps) ile aynı iskelet */
.mps-taslak-ref {
  width: 297mm !important;
  max-width: 297mm !important;
  margin: 0 auto 18px !important;
  display: block !important;
}
.mps-taslak-ref #page-mps,
.mps-taslak-ref #a4-mps,
.mps-taslak-ref .mps-wrap {
  display: block !important;
  width: 297mm !important;
  max-width: 297mm !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.mps-taslak-ref .mps-page {
  width: 297mm !important;
  height: 210mm !important;
  max-height: 210mm !important;
  margin: 0 auto 12px !important;
  overflow: hidden !important;
}
.mps-edit { margin-top: 1rem; }
.mps-page.mps-tasar { height: auto; min-height: 210mm; overflow: visible; }
/* Hafif sağa kaydır — değerler :root --mps-nudge-* (KİLİT) */
.mps-bg {
  position: absolute;
  inset: auto;
  top: var(--mps-nudge-top);
  left: var(--mps-nudge-left);
  width: var(--mps-nudge-width);
  height: var(--mps-nudge-height);
  object-fit: fill;
  object-position: center;
  image-rendering: auto;
  pointer-events: none;
  user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.mps-layer {
  position: absolute;
  inset: auto;
  top: var(--mps-nudge-top);
  left: var(--mps-nudge-left);
  width: var(--mps-nudge-width);
  height: var(--mps-nudge-height);
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.mps-f {
  position: absolute;
  font-size: 9.4px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .02em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: transparent;
  padding: 0 1px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
/* Excel birleşik hücrelerine hizalı — etiket üzerine binmez */
.mps-v-firma { left: 14.6%; top: 2.95%; width: 18.8%; height: 1.85%; }
.mps-v-alan  { left: 40.2%; top: 2.95%; width: 6.3%; height: 1.85%; }
.mps-v-tarih { left: 6.15%; top: 5.7%; width: 14.5%; height: 1.9%; font-size: 8px; letter-spacing: 0; }
.mps-v-saat  { left: 28.9%; top: 5.7%; width: 5.2%;  height: 1.9%; }
.mps-v-rev   { left: 47.15%; top: 5.7%; width: 4.2%;  height: 1.9%; }
.mps-v-is    { left: 8.2%;  top: 8.35%; width: 25.5%; height: 2.5%; white-space: normal; font-size: 8.6px; line-height: 1.3; align-items: flex-start; }
.mps-v-yillik{ left: 49.4%; top: 8.35%; width: 4.3%;  height: 2.5%; white-space: normal; font-size: 8.6px; align-items: flex-start; }
.mps-v-sayfa { right: 3.2%; bottom: 2.0%; left: auto; top: auto; width: auto; font-size: 8.5px; font-weight: 500; background: transparent; }
.mps-mark {
  position: absolute; width: 2%; height: 1.5%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700; line-height: 1; color: #000;
  pointer-events: none;
}
/* Kontrol EVET/HAYIR — left/top = kutu MERKEZİ (PPE tick ile aynı mantık) */
.mps-mark-c {
  width: 1.2%;
  height: 1.1%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}
/* EVET/HAYIR kutusu ~0.33% — büyük X alttaki satıra da taşmasın */
.mps-yn {
  width: 0.55%;
  height: 0.42%;
  transform: translate(-50%, -50%);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.mps-ppe-tick {
  position: absolute;
  top: 93.05%;
  width: 2.4%;
  height: 1.7%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}
/* Blank’te kutu zaten var — ekstra kutu/kenarlık çizme */
.mps-ppe-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2mm;
  height: 3.2mm;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  color: #000;
}
.mps-x { display: block; }
/* Excel zemini görünür kalsın — çift kenarlık yapan overlay yok */
.mps-tehlike-grid,
.mps-adim-mask,
.mps-adim-empty,
.mps-ppe-icon,
.mps-ppe-tick-row,
.mps-onay-band { display: none !important; }
.mps-adim-zone {
  position: absolute;
  left: 2.78%;
  top: 33.18%;
  width: 56.42%;
  height: 54.78%;
  pointer-events: none;
  z-index: 2;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.mps-adim-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  empty-cells: show;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.mps-col-no { width: 4.8%; }
.mps-col-adim { width: 35.15%; }
.mps-col-risk { width: 28.86%; }
.mps-col-onlem { width: 31.19%; }
.mps-adim-table td {
  border: 1px solid #737373;
  vertical-align: top;
  box-sizing: border-box;
  padding: 1.5px 2.6px 1.8px;
  font-size: 8.8px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: .02em;
  color: #111;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  background: #fff;
}
.mps-adim-table .c-no {
  text-align: center;
  font-weight: 600;
  padding-left: 0;
  padding-right: 0;
  white-space: nowrap;
  overflow: hidden;
}
.mps-adim-table tr.is-filled {
  height: 1px;
}
.mps-adim-table tr.is-empty td {
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.mps-wrap.is-adim-olcu .mps-adim-zone {
  height: auto !important;
  overflow: visible !important;
}
.mps-wrap.is-adim-olcu .mps-adim-table {
  height: auto !important;
}
.mps-wrap.is-adim-olcu .mps-adim-table tr.is-filled {
  height: auto !important;
}
.mps-pers-row {
  width: 11%; height: 1.45%;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; align-items: flex-end;
  font-size: 8.2px; font-weight: 400; letter-spacing: .02em;
  background: transparent;
  overflow: visible;
}
.mps-pers-ad {
  background: #fff;
  padding: 0 1px 0.5px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mps-pers-imza {
  background: transparent;
  padding: 0 1px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.mps-pers-imza .ford-wet,
.mps-pers-imza .ford-kase {
  max-height: 3.4mm;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  mix-blend-mode: multiply !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* Bu dar satırda 4 yönlü gölge imzayı kalem gibi şişiriyor */
  filter: none !important;
}
/* Alt 4 onay kutusu: AD sol | İMZA sütunun sağ kenarına, büyük (ıslak) */
.mps-onay-slot {
  position: absolute;
  top: 92.35%;
  width: 12.9%;
  height: 2.85%;
  z-index: 6;
  pointer-events: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.mps-onay-ad {
  position: absolute;
  left: 1%;
  top: 0;
  max-width: 48%;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 8.2px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent !important;
}
.mps-onay-imza {
  position: absolute;
  right: 1%;
  top: -3.2mm;
  width: 52%;
  height: 16mm;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4mm;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.mps-onay-imza .ford-wet,
.mps-onay-imza .ford-kase {
  display: block !important;
  height: 15mm !important;
  max-height: 15mm !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: right center;
  mix-blend-mode: multiply !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Malzeme-Ekipman kontrol listesi · GTLEN-001-121F (resmi taslak, A4 doldurulur) */
.malz-wrap { width: min(210mm, 100%); margin: 0 auto 1.2rem; }
.malz-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: .5rem .75rem; border-radius: 8px 8px 0 0; font-size: .9rem;
  
  font-family: var(--font-display);
}
.malz-page {
  width: 100%;
  height: 297mm;
  background: #fff;
  border: 1.4px solid #111;
  border-top: 0;
  /* Boydan daraltma yok — sadece üstten biraz boşluk, yatay ortalı */
  padding: 6.5mm 4.2mm 2.2mm;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  box-sizing: border-box;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.mz-frame {
  height: 100%;
  border: 1.15px solid #111;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}
.mz-title {
  flex: 0 0 auto;
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .15px;
  line-height: 1.28;
  padding: 2mm 2mm;
  border-bottom: .7px solid #111;
}
.mz-top {
  flex: 0 0 27%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: .7px solid #111;
  min-height: 0;
  overflow: hidden;
}
.mz-meta {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.mz-meta td {
  border: .55px solid #111;
  padding: 1.5mm 1.8mm;
  font-size: 8.2px;
  vertical-align: middle;
}
.mz-meta tr { height: 20%; }
.mz-meta .lb { width: 42%; font-weight: 800; white-space: nowrap; }
.mz-meta .vl { font-weight: 700; }
.mz-date-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5mm;
}
.mz-date-value {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mz-record {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: .8mm;
  white-space: nowrap;
}
.mz-sign {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.mz-sign-row {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28mm;
  align-items: center;
  gap: 1mm;
}
.mz-kontrol-ad {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mz-sign .malz-wet {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0.3mm;
  width: auto;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}
.malz-wet .ford-wet,
.malz-wet .ford-kase {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
}
.mz-eq {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 7.6px;
}
.mz-eq th, .mz-eq td {
  border: .55px solid #111;
  padding: 1px 2px;
  vertical-align: middle;
}
.mz-eq th {
  background: #d9d9d9;
  font-weight: 800;
  text-align: center;
  font-size: 7.4px;
}
.mz-eq thead tr { height: 5mm; }
.mz-eq tbody tr { height: calc((100% - 5mm) / 11); }
.mz-c { width: 5.4mm; text-align: center; font-weight: 800; }

.mz-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: .7px solid #111;
}
.mz-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.mz-col + .mz-col { border-left: .7px solid #111; }
.mz-sec {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-bottom: .7px solid #111;
}
.mz-col .mz-sec:last-child { border-bottom: 0; }
.mz-chk {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 7.7px;
  line-height: 1.22;
}
.mz-chk .c-no { width: 5.4mm; }
.mz-chk .c-m { width: 7.2mm; }
.mz-chk th, .mz-chk td {
  border: .55px solid #111;
  padding: 1.4px 2.2px;
  vertical-align: middle;
}
.mz-chk thead tr { height: 5.4mm; }
.mz-chk tbody tr { height: calc((100% - 5.4mm) / var(--mz-rows, 8)); }
.mz-chk .mz-h {
  background: #d9d9d9;
  color: #111;
  text-align: left;
  font-weight: 800;
  font-size: 8px;
  padding: 1.6px 2.2px;
}
.mz-chk thead th:not(.mz-h) {
  background: #d9d9d9;
  text-align: center;
  font-weight: 800;
  font-size: 7.4px;
}
.mz-q { font-size: 7.6px; font-weight: 600; }
.mz-x { text-align: center; font-weight: 900; font-size: 11px; line-height: 1; color: #102a56; }
.mz-hit { cursor: pointer; }
.mz-hit:hover { background: #e7f0ff; }
.mz-on { background: #e7f0ff; }

.mz-foot { flex: 0 0 auto; }
.mz-note {
  font-size: 7.6px;
  font-weight: 600;
  padding: 1.6mm 2mm;
  border-bottom: .55px solid #111;
}
.mz-codes {
  display: flex;
  justify-content: space-between;
  font-size: 7.6px;
  font-weight: 800;
  padding: 1.3mm 2mm;
}

#malz-ekipman { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; margin: .4rem 0 .8rem; }
.malz-edit-head, .malz-edit-row {
  display: grid;
  grid-template-columns: 36px 1.2fr .8fr 1.2fr;
  gap: 0;
  align-items: stretch;
}
.malz-edit-head {
  background: #e8f0ff;
  color: var(--navy);
  font-weight: 800;
  font-size: .86rem;
  border-bottom: 1px solid var(--line);
}
.malz-edit-head span, .malz-edit-row > * {
  padding: .5rem .6rem;
  border-right: 1px solid var(--line);
}
.malz-edit-head span:last-child, .malz-edit-row > *:last-child { border-right: 0; }
.malz-edit-row { border-bottom: 1px solid var(--line); background: #fff; }
.malz-edit-row:last-child { border-bottom: 0; }
.malz-edit-row:nth-child(even) { background: #f7f9fc; }
.malz-edit-row .n { font-weight: 800; display: flex; align-items: center; justify-content: center; }
.malz-edit-row input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 600;
}
#malz-maddeler { display: grid; gap: .7rem; }
.malz-blok {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.malz-blok-h {
  background: #e8f0ff;
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.malz-blok-h .oknok { font-size: .78rem; font-weight: 800; letter-spacing: .4px; color: #335; white-space: nowrap; }
.malz-madde {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: center;
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.malz-madde:last-child { border-bottom: 0; }
.malz-madde:nth-child(even) { background: #f7f9fc; }
.malz-madde .q { margin: 0; }
.malz-madde .eh {
  display: flex;
  gap: .7rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.malz-madde .eh label {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}
.malz-edit { margin-top: .5rem; }

/* —— Yüksekte / çatıda — resmi blank + overlay (GTLEN-002-037F) —— */
.yk-wrap { width: min(210mm, 100%); margin: 0 auto 1.2rem; }
.yk-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: .5rem .75rem; border-radius: 8px 8px 0 0; font-size: .9rem;
  
  font-family: var(--font-display);
}
.yk-page {
  position: relative;
  width: 100%;
  height: 297mm;
  background: #fff;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.yk-bg {
  position: absolute;
  inset: 3mm;
  width: calc(100% - 6mm);
  height: calc(100% - 6mm);
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.yk-layer {
  position: absolute;
  inset: 3mm;
  width: calc(100% - 6mm);
  height: calc(100% - 6mm);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
}
.yk-f { position: absolute; overflow: hidden; line-height: 1.15; }
.yk-meta-v {
  left: 19.5%;
  width: 19.2%;
  font-size: 7.4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 0 1px;
}
.yk-pers-ad {
  left: 48.7%;
  width: 32%;
  font-size: 7.2px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1mm;
  padding: 0 1px;
}
.yk-pers-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yk-wet .ford-wet,
.yk-wet .ford-kase {
  max-height: 5.8mm;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  display: block;
}
.yk-saglik-mark {
  left: 84.2%;
  width: 8%;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.yk-eq-x {
  width: 3.2mm;
  height: 3.2mm;
  font-size: 8px;
  font-weight: 900;
  line-height: 3mm;
  text-align: center;
}
.yk-chk-mark {
  left: 84.5%;
  width: 7.5%;
  text-align: center;
  font-size: 8.2px;
  font-weight: 800;
  line-height: 1;
}
.yk-onay-slot {
  font-size: 7px;
  font-weight: 700;
}
.yk-onay-ad { min-height: 2.8mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yk-onay-imza .ford-wet,
.yk-onay-imza .ford-kase {
  max-height: 8mm;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
}
/* Editör (sekmeler altta) */
.yk-pers-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin: .4rem 0 .9rem;
}
.yk-pers-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .7rem;
  background: #fff;
}
.yk-pers-card b { display: block; margin-bottom: .35rem; font-size: .92rem; }
.yk-pers-card input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .45rem .55rem;
  font: inherit;
  background: #f7f9fc;
}
.yk-saglik {
  display: flex;
  gap: .85rem;
  margin-top: .4rem;
  font-size: .88rem;
  font-weight: 700;
}
.yk-eq-edit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin: .35rem 0 1rem;
}
.yk-eq-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .7rem;
  background: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  cursor: pointer;
}
.yk-eq-card input { transform: scale(1.1); }
#yk-maddeler { display: grid; gap: .7rem; }
.yk-blok {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.yk-blok-h {
  background: var(--blue-soft);
  padding: .55rem .75rem;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .2px;
  color: var(--navy);
  font-family: var(--font-display);
}
.yk-madde {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: center;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--line);
}
.yk-madde:last-child { border-bottom: 0; }
.yk-madde:nth-child(even) { background: #f7f9fc; }
.yk-madde .q { margin: 0; font-size: .92rem; }
.yk-madde .eh {
  display: flex;
  gap: .7rem;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.yk-madde .eh label { display: flex; align-items: center; gap: .25rem; cursor: pointer; }
.yk-imza-hint { margin: .25rem 0 0; font-size: .82rem; }
.yk-imza-hint.ok { color: #0f7a3f; font-weight: 700; }
.yk-imza-hint.no { color: #9b1c1c; font-weight: 600; }
.yk-foot-hint {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
  background: #e8f2fc;
  border-radius: 8px;
  padding: .55rem .75rem;
  color: var(--blue);
  font-weight: 700;
}
.yk-foot-hint span:last-child { color: #66758a; font-weight: 600; font-size: .84rem; }

/* —— Müteahhit Taahhütnamesi — PDF birebir zemin (GTLEN-001-037F) —— */
.th-wrap {
  width: min(210mm, 100%);
  margin: 0 auto 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.th-toolbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 8px 8px 0 0;
  font-size: .9rem;
  font-family: var(--font-display);
}
.th-page {
  position: relative;
  width: 210mm;
  max-width: 100%;
  height: 297mm;
  background: #fff;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}
.th-stage {
  position: absolute;
  top: 0;
  left: 5.515%;
  width: 88.97%;
  height: 100%;
  margin: 0;
}
.th-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  display: block;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.th-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #003478;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}
.th-f { position: absolute; overflow: hidden; line-height: 1.2; }
.th-firma {
  left: 24%;
  top: 7.35%;
  width: 28%;
  height: 2.1%;
  font-size: 12px;
  display: flex;
  align-items: center;
  letter-spacing: .06em;
}
.th-blank {
  border: 1px solid #1a1a1a;
  background: #fff;
  box-sizing: border-box;
}
.th-tarih {
  left: 62%;
  top: 7.2%;
  width: 32%;
  height: 2.15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.th-tarih-yazi {
  font-size: 12px;
  font-weight: 700;
  color: #003478;
  letter-spacing: .03em;
  pointer-events: none;
  line-height: 1;
}
.th-tarih-yazi:empty::before {
  content: "gg.aa.yyyy";
  color: #8aa0b8;
  font-weight: 600;
  letter-spacing: 0;
}
.th-tarih-in {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.sayfa-kilitli .th-tarih-in { pointer-events: none; }
@media print {
  .th-tarih-yazi:empty::before { content: none; }
}
.th-faaliyet {
  left: 22.8%;
  top: 9.45%;
  width: 71.5%;
  height: 2.15%;
  display: flex;
  align-items: center;
  padding: 0 1.4mm;
}
.th-faaliyet-yazi {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: #003478;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}
.th-faaliyet-in {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #003478;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  outline: none;
}
.th-faaliyet-in::placeholder { color: #8aa0b8; font-weight: 600; }
.sayfa-kilitli .th-faaliyet-in { pointer-events: none; }
@media print {
  .th-faaliyet-yazi { display: block; }
}
.th-yetkili-ad {
  left: 21.5%;
  top: 85.62%;
  width: 26%;
  height: 1.15%;
  font-size: 8px;
  font-weight: 700;
  color: #003478;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 3;
}
.th-yetkili-imza {
  left: 10%;
  top: 86.35%;
  width: 38%;
  height: 7.4%;
  overflow: visible;
  z-index: 2;
}
.th-isg-ad {
  left: 70%;
  top: 85.62%;
  width: 26%;
  height: 1.15%;
  font-size: 7.5px;
  font-weight: 700;
  color: #003478;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.th-isg-imza {
  left: 51.5%;
  top: 86.95%;
  width: 44%;
  height: 8.2%;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.th-yetkili-imza .ford-kase {
  position: absolute;
  left: 0;
  top: 0;
  width: 38mm;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  z-index: 1;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  display: block;
}
.th-yetkili-imza .ford-wet {
  position: absolute;
  left: 3.3mm;
  top: 0;
  width: 29mm;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  z-index: 2;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  display: block;
}
.th-isg-imza .ford-wet,
.th-isg-imza .ford-kase {
  max-height: 22mm;
  max-width: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  display: block;
}
.th-iletisim {
  left: 4%;
  top: 92.2%;
  width: 42%;
  height: 5%;
  font-size: 8px;
  color: #111;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2mm;
}
.th-iletisim .ford-kase {
  max-height: 12mm;
  max-width: 28mm;
}
.th-edit { margin-top: .5rem; }
#th-firma[readonly] { background: #eef3f8; color: #002b5c; font-weight: 800; }

/* —— Personel Sayfası —— */
.ps-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 1rem;
  border-bottom: 3px solid var(--yellow);
  box-shadow: var(--shadow);
}
.ps-hero-kicker {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; opacity: .95;
  font-family: var(--font-display); text-transform: uppercase;
}
.ps-hero h2 {
  margin: .25rem 0 .35rem; font-size: 1.35rem;
  font-family: var(--font-display); font-weight: 900; letter-spacing: .04em;
}
.ps-hero p { margin: 0; max-width: 54ch; opacity: .92; line-height: 1.45; font-size: .92rem; }
.ps-hero-stat {
  min-width: 110px;
  text-align: center;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: .7rem .9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ps-hero-stat b { font-size: 2rem; line-height: 1; }
.ps-hero-stat span { font-size: .78rem; opacity: .9; }
.ps-block { margin-bottom: 1rem; }
.ps-block-head h3 { margin: 0 0 .2rem; font-size: 1rem; letter-spacing: .02em; }
.ps-block-head h3.ps-blue { color: var(--blue); }
.ps-block-head p { margin: 0; font-weight: 700; color: #223; }
.ps-block-head small { color: var(--muted); display: block; margin-top: .25rem; }
.ps-info {
  background: var(--blue-soft);
  border: 1px solid #c9dbf8;
  border-radius: 10px;
  padding: .55rem .75rem;
  color: var(--navy);
  font-size: .88rem;
  margin: .75rem 0;
}
.ps-kisi-list { display: flex; flex-direction: column; gap: .75rem; }
.ps-kisi-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem;
  background: #fbfcfe;
}
.ps-kisi-main {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1.35fr auto;
  gap: .55rem;
  align-items: end;
}
.ps-kisi-kimlik {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.ps-kisi-main label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; font-weight: 700; color: #445; }
.ps-kisi-main input, .ps-kisi-main select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .45rem .55rem;
  font: inherit;
  background: #fff;
}
.ps-media {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: .4rem;
  align-items: stretch;
}
.ps-sig {
  border: 1.5px dashed #c5d0de;
  border-radius: 10px;
  min-height: 58px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem;
  position: relative;
}
.ps-foto {
  border: 1.5px dashed #c5d0de;
  border-radius: 10px;
  width: 52px;
  min-height: 70px;
  background: #f4f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.ps-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ps-sig img { max-height: 48px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ps-sig-empty { color: #9aa7b8; font-size: .72rem; text-align: center; line-height: 1.2; padding: .2rem; }
.ps-sig-actions { display: flex; flex-direction: column; gap: .35rem; }
.ps-sig-actions .link {
  background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; padding: 0; text-align: left; font-size: .82rem;
}
.ps-sig-actions .link.danger { color: #9b1c1c; }
.ps-kisi-out {
  margin-top: .55rem;
  width: 100%;
  border: 1px solid #f0c2c2;
  background: #fff5f5;
  color: #9b1c1c;
  border-radius: 8px;
  padding: .45rem;
  font-weight: 700;
  cursor: pointer;
}
.ps-add-row { display: flex; justify-content: flex-end; margin-top: .75rem; }
.ps-izne-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .65rem;
  margin: .75rem 0 1rem;
}
.ps-izne-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .75rem;
  background: #fff;
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}
.ps-izne-card input { margin-top: .2rem; }
.ps-izne-card strong { display: block; }
.ps-izne-card em { color: var(--muted); font-style: normal; font-size: .84rem; }
.ps-badge-miss {
  display: inline-block;
  margin-top: .35rem;
  background: #fff1e0;
  color: #b35b00;
  border-radius: 999px;
  padding: .15rem .5rem;
  font-size: .75rem;
  font-weight: 800;
}
.ps-arsiv { display: flex; flex-direction: column; gap: .85rem; }
.ps-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: #fff;
}
.ps-card-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .65rem;
  flex-wrap: wrap;
}
.ps-card-top h4 { margin: 0; font-size: 1.15rem; }
.ps-card-top span { color: var(--muted); font-size: .86rem; }
.ps-card-acts {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  align-items: center;
}
.ps-oniz-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.ps-oniz-head h3 { margin: 0 0 .2rem; font-size: 1.05rem; color: var(--navy); }
.ps-oniz-head p { margin: 0; color: var(--muted); font-size: .86rem; }
.ps-oniz-acts { display: flex; gap: .45rem; flex-wrap: wrap; }
.ps-oniz-scroll {
  overflow: auto;
  max-height: min(85vh, 1100px);
  background: #d9e4f0;
  border-radius: 12px;
  padding: 12px;
}
.ps-oniz-pages {
  transform-origin: top center;
}
@media (max-width: 1100px) {
  .ps-oniz-pages .pk-page {
    transform: scale(0.72);
    transform-origin: top center;
    margin-bottom: calc(-297mm * 0.28) !important;
  }
}
@media (max-width: 820px) {
  .ps-oniz-pages .pk-page {
    transform: scale(0.52);
    margin-bottom: calc(-297mm * 0.48) !important;
  }
}
.ps-ok {
  background: #eef9f1;
  border: 1px solid #b7e4c4;
  border-radius: 10px;
  padding: .55rem .7rem;
  margin-bottom: .55rem;
}
.ps-ok h5 { margin: 0 0 .35rem; color: #0f7a3f; font-size: .9rem; }
.ps-ok li { list-style: none; margin: .25rem 0; color: #1a5c35; font-weight: 600; }
.ps-miss {
  background: #fff1f1;
  border: 1px solid #f0bdbd;
  border-radius: 10px;
  padding: .55rem .7rem;
  margin-bottom: .55rem;
}
.ps-miss h5 { margin: 0 0 .35rem; color: #9b1c1c; font-size: .9rem; }
.ps-miss li { list-style: none; margin: .25rem 0; color: #9b1c1c; font-weight: 700; }
.ps-empty-bar {
  background: #f3f5f8;
  border-radius: 8px;
  padding: .55rem .7rem;
  color: #66758a;
  margin-bottom: .55rem;
}
.ps-tur-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .75rem;
  margin-top: .55rem;
}
.ps-tur-box-head { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: .35rem; }
.ps-tur-box small { color: var(--muted); display: block; }
.ps-tur-box .link { color: var(--blue); font-weight: 700; font-size: .84rem; cursor: pointer; background: none; border: 0; padding: 0; margin-top: .35rem; }
.ps-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem 1rem;
  background: #f7f9fc;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .ps-kisi-main { grid-template-columns: 1fr; }
  .ps-hero { flex-direction: column; }
}

/* —— Evrak Bankası —— */
.eb-top h2 { margin: 0 0 .85rem; font-size: 1.45rem; }
.eb-grid-top {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.eb-upload .fields { margin-top: .75rem; }
.eb-center { text-align: center; margin: 1rem 0 .25rem; }
.eb-uygunluk .eb-aranan { margin-top: .85rem; }
.eb-uygunluk .eb-aranan h4 { margin: 0 0 .45rem; font-size: .92rem; }
.eb-uygunluk .eb-aranan ul { margin: 0; padding: 0; list-style: none; }
.eb-uygunluk .eb-aranan li {
  padding: .35rem 0;
  border-bottom: 1px solid #eef2f7;
  font-weight: 700;
  color: #1a5c35;
}
.eb-uygunluk .eb-aranan li.eksik { color: #9b1c1c; }
.eb-alert {
  background: #fff1f1;
  border: 1px solid #f0bdbd;
  border-radius: 10px;
  padding: .7rem .8rem;
  color: #9b1c1c;
  margin-top: .75rem;
}
.eb-alert b { display: block; margin-bottom: .2rem; }
.eb-list-panel { margin-bottom: 1rem; }
.eb-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .85rem;
}
.eb-card {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .65rem;
  border: 1.5px solid #c9dbf8;
  border-radius: 12px;
  background: #fff;
  padding: .75rem .8rem;
  align-items: start;
}
.eb-card-rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .02em;
  line-height: 1.15;
  text-align: center;
  padding: .2rem 0;
}
.eb-card-main h4 { margin: 0 0 .2rem; font-size: 1rem; }
.eb-card-main .kim { font-weight: 800; color: #223; }
.eb-card-main .meta { color: var(--muted); font-size: .82rem; margin-top: .2rem; word-break: break-word; }
.eb-card-side { text-align: right; min-width: 120px; }
.eb-badge {
  display: inline-block;
  border-radius: 999px;
  padding: .18rem .55rem;
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: .25rem;
}
.eb-badge.gecerli { background: #dff5e7; color: #0f7a3f; }
.eb-badge.suresiz { background: #e6f7f5; color: #0f6b66; }
.eb-badge.suresi-dolmus { background: #ffe4e4; color: #9b1c1c; }
.eb-card-side .bitis { display: block; color: #66758a; font-size: .8rem; margin-bottom: .45rem; }
.eb-card-side .link {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  margin: .2rem 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
  text-align: right;
}
.eb-card-side .link.danger { color: #9b1c1c; }
.eb-empty { color: var(--muted); padding: .5rem 0; }
.eb-foot { justify-content: center; }
@media (max-width: 980px) {
  .eb-grid-top { grid-template-columns: 1fr; }
  .eb-cards { grid-template-columns: 1fr; }
}

/* —— OSGB Sayfası —— */
.osgb-gruplar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 0 1rem;
}
.osgb-grup {
  border: 1.5px solid #c9dbf8;
  border-radius: 12px;
  background: #fff;
  padding: .75rem .8rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #223;
  transition: border-color .15s, box-shadow .15s;
}
.osgb-grup:hover { border-color: var(--blue); }
.osgb-grup.active {
  border-color: var(--blue);
  border-width: 2.5px;
  box-shadow: 0 0 0 3px rgba(29,91,191,.12);
}
.osgb-grup .no { display: block; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: .2rem; }
.osgb-grup .ad { display: block; font-weight: 800; font-size: .92rem; line-height: 1.3; }
.osgb-grup .adet { display: block; margin-top: .35rem; color: #66758a; font-size: .8rem; font-weight: 700; }
.osgb-list { min-height: 180px; margin-top: .75rem; }
.osgb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: #9aa7b8;
  background: #f7f9fc;
  border-radius: 10px;
  font-weight: 600;
}
.osgb-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .75rem;
  margin-bottom: .55rem;
  background: #fbfcfe;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: start;
}
.osgb-item strong { display: block; }
.osgb-item em { color: var(--muted); font-style: normal; font-size: .84rem; }
.osgb-item .acts { display: flex; flex-direction: column; gap: .2rem; align-items: flex-end; }
.osgb-item .acts .link {
  background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; padding: 0; font-size: .84rem;
}
.osgb-item .acts .link.danger { color: #9b1c1c; }
@media (max-width: 980px) {
  .osgb-gruplar { grid-template-columns: 1fr 1fr; }
}

.iis-sheet {
  border: 1px solid #223;
  padding: 4mm;
  background: #fff;
  font-size: .85rem;
  margin-top: .5rem;
}
.iis-sheet header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: .4rem;
  align-items: center;
  border-bottom: 2px solid var(--blue);
  padding-bottom: .45rem;
  margin-bottom: .55rem;
}
.iis-sheet .brand { font-weight: 800; font-size: .78rem; color: var(--blue); }
.iis-sheet .title { text-align: center; font-weight: 900; }
.iis-sheet .note { text-align: right; font-size: .72rem; color: #66758a; }
.iis-sheet table { width: 100%; border-collapse: collapse; }
.iis-sheet th { text-align: left; width: 38%; color: #556; font-weight: 700; padding: .28rem 0; border-bottom: 1px solid #eef2f7; }
.iis-sheet td { padding: .28rem 0; border-bottom: 1px solid #eef2f7; font-weight: 700; }
.iis-sheet footer { margin-top: .55rem; font-size: .75rem; color: #66758a; }
.pk-no {
  display: inline-flex;
  width: 1.6rem; height: 1.6rem;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .75rem;
  margin-right: .25rem;
}
.paket-kontrol { display: flex; flex-direction: column; gap: .45rem; }
.paket-kontrol-uyari {
  margin: 0 0 .35rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #f0d48a;
  color: #7a5a10;
  font-size: .88rem;
  font-weight: 700;
}
.paket-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: .45rem;
  align-items: center;
  padding: .55rem .6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.paket-row.ok { background: #eef9f1; border-color: #b7e4c4; }
.paket-row.no { background: #fff1f1; border-color: #f0bdbd; }
.paket-row.yoksay { background: #f4f7fb; border-color: #c9d7e8; }
.paket-row b { display: block; }
.paket-row small { color: #66758a; }
.paket-row-acts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  min-width: 88px;
}
.paket-row em { font-style: normal; font-weight: 800; font-size: .88rem; }
.paket-row.ok em { color: #0f7a3f; }
.paket-row.no em { color: #9b1c1c; }
.paket-row.yoksay em { color: #5a6f86; }
.paket-yoksay {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.paket-yoksay:hover { background: var(--blue); color: #fff; }
.paket-yoksay.geri { border-color: #8a9bb0; color: #5a6f86; }
.paket-yoksay.geri:hover { background: #5a6f86; color: #fff; border-color: #5a6f86; }
#paket-btn-onayla.is-disabled,
#paket-btn-onayla:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.25);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 80;
  max-width: min(36rem, calc(100vw - 2rem));
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #0b2240;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(11, 34, 64, .28);
}
.mail-sonuc {
  margin: .75rem 0 0;
  padding: .7rem .85rem;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.4;
}
.mail-sonuc.err {
  background: #fff1f1;
  border: 1px solid #f0bdbd;
  color: #9b1c1c;
}
.mail-sonuc.ok {
  background: #eef9f1;
  border: 1px solid #b7e4c4;
  color: #0f7a3f;
}
.mail-sonuc.wait {
  background: #fff8e8;
  border: 1px solid #f0d48a;
  color: #7a5600;
}
#paket-adim-mail,
#paket-adim-mail input,
#paket-adim-mail textarea,
#paket-adim-mail button {
  pointer-events: auto;
}
.paket-item {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid #eef2f7;
}
.paket-item.secmeli {
  grid-template-columns: 1.4rem 2.2rem minmax(0, 1fr) auto;
}
.paket-item-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
}
.paket-item-tick input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--navy);
  cursor: pointer;
}
.paket-item small { display: block; color: #66758a; }
.paket-item.cikarildi { opacity: .72; }
.paket-item.cikarildi strong { text-decoration: line-through; color: #66758a; }
.paket-item-acts {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
  align-items: center;
}
.paket-personel-sec {
  margin: 0 0 .85rem 2.75rem;
  padding: .7rem .8rem .8rem;
  border: 1px solid #d5e4f6;
  border-radius: 10px;
  background: #f6f9fd;
}
.paket-personel-baslik {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.paket-personel-bos {
  margin: .35rem 0 0;
  color: #66758a;
  font-size: .86rem;
}
.paket-personel-kisi + .paket-personel-kisi {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #e3edf8;
}
.paket-personel-kisi > b {
  display: block;
  color: var(--navy);
}
.paket-personel-kisi > small {
  display: block;
  margin: .12rem 0 .35rem;
  color: #66758a;
}
.paket-evrak-satir {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: .45rem;
  align-items: center;
  margin: 0;
  padding: .28rem 0;
  cursor: pointer;
}
.paket-evrak-satir input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.paket-evrak-satir strong { color: var(--navy); font-weight: 700; }
.paket-evrak-satir small {
  display: block;
  color: #66758a;
  font-weight: 500;
  word-break: break-word;
}
.paket-evrak-satir.cikarildi strong {
  text-decoration: line-through;
  color: #66758a;
}
.paket-board-ust { margin: 0 0 .75rem; }
.paket-board-ust b { display: block; color: var(--navy); font-size: .92rem; }
.paket-board-ust span { display: block; margin-top: .2rem; color: #66758a; font-size: .84rem; line-height: 1.4; }
.paket-board-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem .65rem;
  align-items: flex-start;
}
.paket-sayfa {
  width: 124px;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  position: relative;
  cursor: grab;
  user-select: none;
}
.paket-sayfa.yatay { width: 176px; }
.paket-sayfa.surukleniyor { opacity: .4; }
.paket-sayfa.hedef .paket-sayfa-kagit { outline: 3px solid var(--blue); outline-offset: 1px; }
.paket-sayfa-no {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 6px;
  padding: .05rem .34rem;
}
.paket-sayfa-kagit {
  height: 164px;
  border: 1px solid #c5d6ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 43, 92, .08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 22px 10px 12px;
  overflow: hidden;
  position: relative;
}
.paket-sayfa.yatay .paket-sayfa-kagit { height: 118px; }
.paket-sayfa-kagit.dolu {
  padding: 0;
  background: #fff;
}
.paket-sayfa-kagit.dolu .paket-sayfa-cizgi,
.paket-sayfa-kagit.dolu .paket-sayfa-kod { display: none; }
.paket-sayfa-kagit > .paket-oniz-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #fff;
}
.paket-oniz {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
}
.paket-oniz-olcek {
  width: 210mm;
  height: 297mm;
  transform-origin: top left;
  background: #fff;
}
.paket-oniz.yatay .paket-oniz-olcek {
  width: 297mm;
  height: 210mm;
}
.paket-oniz-kagit .ford-wrap,
.paket-oniz-kagit .malz-wrap,
.paket-oniz-kagit .yk-wrap,
.paket-oniz-kagit .th-wrap,
.paket-oniz-kagit .sk-wrap,
.paket-oniz-kagit .mps-wrap {
  width: 210mm !important;
  max-width: none !important;
  margin: 0 !important;
}
.paket-oniz-kagit .ford-page,
.paket-oniz-kagit .malz-page,
.paket-oniz-kagit .yk-page,
.paket-oniz-kagit .th-page,
.paket-oniz-kagit .sk-page,
.paket-oniz-kagit .pk-page {
  width: 210mm !important;
  max-width: none !important;
  height: 297mm !important;
  min-height: 0 !important;
  max-height: 297mm !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.paket-oniz.yatay .paket-oniz-kagit .mps-page,
.paket-oniz.yatay .mps-page {
  width: 297mm !important;
  height: 210mm !important;
  max-height: 210mm !important;
}
.paket-oniz .ford-toolbar,
.paket-oniz .malz-toolbar,
.paket-oniz .yk-toolbar,
.paket-oniz .th-toolbar,
.paket-oniz .sk-toolbar,
.paket-oniz .mps-toolbar,
.paket-oniz .no-print { display: none !important; }
.paket-sayfa-cizgi {
  height: 5px;
  border-radius: 3px;
  background: #d7e4f4;
  width: 86%;
}
.paket-sayfa-cizgi.kisa { width: 54%; }
.paket-sayfa-kod {
  position: relative;
  z-index: 1;
  font-size: .62rem;
  line-height: 1.3;
  color: #4d6482;
  background: rgba(255,255,255,.88);
  border-radius: 4px;
  padding: 1px 0;
}
.paket-sayfa-rozet {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  background: rgba(155, 28, 28, .92);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  border-radius: 999px;
  padding: .12rem .42rem;
  opacity: 0;
}
.paket-sayfa:hover .paket-sayfa-rozet,
.paket-sayfa:focus-within .paket-sayfa-rozet { opacity: 1; }
.paket-sayfa.cikti .paket-sayfa-rozet { background: var(--navy); opacity: 1; }
.paket-sayfa-ad b {
  display: block;
  color: var(--navy);
  font-size: .74rem;
  line-height: 1.25;
}
.paket-sayfa-ad small {
  display: block;
  margin-top: .08rem;
  color: #66758a;
  font-size: .66rem;
  line-height: 1.3;
  word-break: break-word;
}
.paket-sayfa-arac { display: flex; gap: .25rem; }
.paket-sayfa-mini {
  border: 1px solid #c5d4e8;
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  font-size: .66rem;
  font-weight: 800;
  padding: .12rem .38rem;
  cursor: pointer;
}
.paket-sayfa.cikti { cursor: pointer; opacity: .78; }
.paket-sayfa.cikti .paket-sayfa-kagit { box-shadow: none; background: #f4f7fb; }
.paket-board-grid.cikar { margin-top: .35rem; }
.paket-cikarilan-baslik {
  margin: 1rem 0 .35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #66758a;
  text-transform: uppercase;
}
.btn-mini {
  border: 0;
  border-radius: 7px;
  padding: .28rem .55rem;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  line-height: 1.2;
}
.btn-mini.ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid #c5d4e8;
}
.btn-mini.danger {
  background: #fff;
  color: #9b1c1c;
  border: 1px solid #f0bdbd;
}
.btn-mini:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.btn-mini:not(:disabled):hover { filter: brightness(1.05); }

/* —— Sıcak İşlem İzni — sarı FORD HTML ızgara (GTLEN-005-011F) —— */
.sk-wrap { width: min(210mm, 100%); margin: 0 auto 1.2rem; }
.sk-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: .5rem .75rem; border-radius: 8px 8px 0 0; font-size: .9rem;
  
  font-family: var(--font-display);
}
.sk-page {
  width: 100%;
  min-height: 297mm;
  background: #ffff00;
  border: 1px solid #222;
  box-shadow: 0 8px 24px rgba(20,30,50,.12);
  margin: 0 0 1rem;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.sk-form .sk-sheet {
  height: 297mm;
  display: flex;
  flex-direction: column;
  border: 2.2px solid #111;
  margin: 2.2mm;
  box-sizing: border-box;
  background: #ffff00;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}
.sk-head {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 34mm 1fr;
  align-items: center;
  border-bottom: 1.6px solid #111;
  min-height: 11mm;
  padding: 1mm 2mm;
}
.sk-brand {
  color: #003478;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .3px;
}
.sk-title {
  text-align: center;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .6px;
  text-decoration: underline;
}
.sk-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-bottom: 1.4px solid #111;
}
.sk-left, .sk-right {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sk-left { border-right: 1.4px solid #111; }
.sk-block {
  display: grid;
  grid-template-columns: 7.5mm 1fr;
  border-bottom: 1.2px solid #111;
  min-height: 0;
}
.sk-block:last-child { border-bottom: 0; }
.sk-b-muteahhit { flex: 2.1; }
.sk-b-itfaiye { flex: 1.55; }
.sk-b-alan { flex: 1.35; }
.sk-b-son { flex: 1.15; }
.sk-vlabel {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8.4px;
  font-weight: 800;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #111;
  padding: 1mm 0;
  background: #ffff00;
}
.sk-bbody {
  padding: 2mm 2.4mm;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
  font-size: 9px;
  line-height: 1.55;
}
.sk-line {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.4mm;
  min-height: 4.2mm;
}
.sk-line b { white-space: nowrap; font-size: 9px; }
.sk-dots {
  border-bottom: 1px dotted #111;
  min-width: 18mm;
  min-height: 4mm;
  padding: 0 1px 1px;
  font-weight: 700;
  font-size: 9.2px;
  display: inline-flex;
  align-items: flex-end;
}
.sk-dots.sk-grow { flex: 1; min-width: 12mm; }
.sk-dots.sk-w { min-width: 16mm; }
.sk-firma { font-weight: 800; margin-left: .5mm; font-size: 9.2px; }
.sk-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8mm;
  height: 3.8mm;
  border: 1.15px solid #111;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
  background: #fff;
  flex: 0 0 auto;
  margin-right: 1mm;
}
.sk-subh { font-weight: 800; text-decoration: underline; font-size: 9.2px; }
.sk-note { margin: 0; font-size: 8.4px; font-weight: 600; line-height: 1.5; }
.sk-line .ford-wet,
.sk-line .ford-kase {
  max-height: 7mm;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  margin-left: 1mm;
}
.sk-right {
  padding: 2mm 2.4mm 2mm 2.6mm;
  gap: 0;
  overflow: hidden;
  justify-content: stretch;
}
.sk-onlem-blok {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 1mm 0 1.4mm;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.sk-onlem-blok:last-child { border-bottom: 0; }
.sk-onlem-h {
  font-weight: 900;
  font-size: 9.4px;
  text-decoration: underline;
  margin: 0 0 1mm;
  flex: 0 0 auto;
  letter-spacing: .2px;
}
.sk-onlem-row {
  display: grid;
  grid-template-columns: 4.2mm 1fr;
  gap: 1.6mm;
  align-items: center;
  font-size: 8.6px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  flex: 1 1 auto;
  min-height: 5.2mm;
}
.sk-foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 7.4px;
  font-weight: 700;
  padding: 1.4mm 2.4mm;
}

/* Uyarı levhası — tam A4, uzaktan okunur */
.sk-uyari {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 297mm !important;
  min-height: 297mm !important;
  max-height: 297mm;
  padding: 4mm;
  box-sizing: border-box;
  background: #ffff00 !important;
}
.sk-uyari-inner {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 5px double #111;
  outline: 2.5px solid #111;
  outline-offset: 2mm;
  background: #ffff00 !important;
  padding: 6mm 8mm 7mm;
  box-sizing: border-box;
  font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 2mm;
}
.sk-uyari-h1 {
  font-size: 78px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: .92;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}
.sk-uyari-h2 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: .95;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}
.sk-uyari-h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 3.5px solid #111;
  padding-bottom: 4mm;
}
.sk-uyari-list {
  list-style: none;
  margin: 0;
  padding: 2mm 0 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1.5mm;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .5px;
  min-height: 0;
}
.sk-uyari-list li {
  position: relative;
  padding-left: 14mm;
  text-transform: uppercase;
}
.sk-uyari-list li:last-child {
  font-size: 28px;
  line-height: 1.12;
}
.sk-uyari-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7mm;
  height: 7mm;
  border-radius: 50%;
  background: #111;
}
.sk-edit { margin-top: .5rem; }
#sk-onlemler { display: grid; gap: .65rem; margin: .5rem 0 1rem; }
.sk-blok {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.sk-blok-h {
  background: #fff8c4;
  padding: .5rem .75rem;
  font-weight: 800;
  font-size: .9rem;
}
.sk-madde {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .45rem .75rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.sk-madde:last-child { border-bottom: 0; }
.sk-madde:nth-child(even) { background: #fffcf0; }
.sk-madde input { margin-top: .2rem; transform: scale(1.1); }

.mps-v-sayfa {
  right: 1.5%;
  bottom: 0.45%;
  left: auto;
  top: auto;
  z-index: 5;
  background: transparent;
}
@media print {
  /* Varsayılan DİKEY — MPS/sertifika named page ile yatay */
  @page { size: A4 portrait; margin: 5mm; }
  @page sayfa-dikey { size: A4 portrait; margin: 5mm; }
  @page sayfa-yatay { size: 297mm 210mm; margin: 0; }
  html, body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    height: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .login-gate, .app-home, .side, .topbar, .panel, .toast, .modal-back, .no-print, .mps-toolbar, .malz-toolbar, .yk-toolbar, .th-toolbar, .sk-toolbar {
    display: none !important;
  }
  .editor {
    display: block !important;
    grid-template-columns: 1fr !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .work { padding: 0 !important; margin: 0 !important; overflow: visible !important; }
  #page-is, #page-soon, #page-imza, #page-calisma, #page-malzeme, #page-mps, #page-yuksekte, #page-taahhut, #page-sicak, #page-personel, #page-evrak, #page-osgb, #page-inteskon, #page-periyodik, #page-tasiyici, #page-paket, #page-kullanici { display: none !important; }
  body.print-calisma #page-calisma { display: block !important; }
  body.print-calisma #page-mps { display: none !important; }
  body.print-calisma .ford-wrap { width: 100%; margin: 0; }
  body.print-calisma .ford-page {
    page: sayfa-dikey;
    box-shadow: none;
    border: 0;
    margin: 0;
    width: 100%;
    height: 287mm !important;
    max-height: 287mm !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 2.5mm 3.5mm 2mm !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-inside: avoid !important;
  }
  body.print-calisma .ford-signpad { min-height: 9mm !important; }
  body.print-calisma .ford-t .sig-onay .ford-signpad { min-height: 11.5mm !important; }
  body.print-calisma .ford-t .sig-muteahhit .ford-signpad { min-height: 15.75mm !important; }
  body.print-calisma .ford-wet { max-height: 11mm !important; }
  body.print-calisma .ford-kase { max-height: 10mm !important; }
  body.print-calisma .ford-t .sig-muteahhit .ford-kase {
    max-height: 15mm !important;
    max-width: 100% !important;
  }
  body.print-calisma .ci-ebru .ford-kase {
    width: 30mm !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
  }
  body.print-calisma .ci-ebru .ford-wet {
    width: 22.8mm !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
  }
  body.print-malzeme #page-malzeme,
  body.print-malzeme #page-malzeme[hidden] {
    display: block !important;
  }
  body.print-malzeme #page-mps,
  body.print-malzeme #page-calisma,
  body.print-malzeme #page-yuksekte,
  body.print-malzeme #page-taahhut,
  body.print-malzeme #page-sicak { display: none !important; }
  body.print-malzeme .malz-wrap {
    width: 210mm;
    max-width: 210mm;
    margin: 0 auto;
  }
  body.print-malzeme .malz-page {
    page: sayfa-dikey;
    box-shadow: none;
    border: 1px solid #111;
    margin: 0 auto;
    width: 210mm;
    max-width: 210mm;
    height: 287mm;
    padding: 6mm 4mm 2mm !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  body.print-yuksekte #page-yuksekte,
  body.print-yuksekte #page-yuksekte[hidden] {
    display: block !important;
  }
  body.print-yuksekte #page-mps,
  body.print-yuksekte #page-calisma,
  body.print-yuksekte #page-malzeme,
  body.print-yuksekte #page-taahhut,
  body.print-yuksekte #page-sicak { display: none !important; }
  body.print-yuksekte .yk-wrap { width: 100%; margin: 0; }
  body.print-yuksekte .yk-page {
    page: sayfa-dikey;
    box-shadow: none;
    border: 1px solid #111;
    margin: 0;
    width: 100%;
    height: 287mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.print-yuksekte .yk-bg {
    display: block !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-taahhut #page-taahhut,
  body.print-taahhut #page-taahhut[hidden] {
    display: block !important;
  }
  body.print-taahhut #page-mps,
  body.print-taahhut #page-calisma,
  body.print-taahhut #page-malzeme,
  body.print-taahhut #page-yuksekte,
  body.print-taahhut #page-sicak { display: none !important; }
  body.print-taahhut .th-wrap {
    width: 210mm;
    max-width: 210mm;
    margin: 0 auto;
  }
  body.print-taahhut .th-page {
    page: sayfa-dikey;
    box-shadow: none;
    border: 0;
    margin: 0 auto;
    width: 210mm;
    height: 297mm;
    position: relative;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.print-taahhut .th-stage {
    position: absolute;
    top: 0;
    left: 5.515%;
    width: 88.97%;
    height: 100%;
    margin: 0;
  }
  body.print-taahhut .th-bg,
  body.print-taahhut .th-layer {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
  }
  body.print-sicak #page-sicak,
  body.print-sicak #page-sicak[hidden] {
    display: block !important;
  }
  body.print-sicak #page-mps,
  body.print-sicak #page-calisma,
  body.print-sicak #page-malzeme,
  body.print-sicak #page-yuksekte,
  body.print-sicak #page-taahhut { display: none !important; }
  body.print-sicak .sk-wrap { width: 100%; margin: 0; }
  body.print-sicak .sk-page {
    page: sayfa-dikey;
    box-shadow: none;
    border: 1px solid #111;
    margin: 0;
    width: 100%;
    min-height: 0;
    height: 287mm;
    page-break-after: always;
    break-after: page;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background: #ffff00 !important;
  }
  body.print-sicak .sk-form .sk-sheet {
    height: 100%;
    margin: 0;
    background: #ffff00 !important;
  }
  body.print-sicak .sk-page:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }
  body.print-sicak .sk-uyari {
    height: 287mm !important;
    min-height: 287mm !important;
    max-height: 287mm !important;
    padding: 3mm !important;
    display: flex !important;
  }
  body.print-sicak .sk-uyari-inner {
    background: #ffff00 !important;
    height: 100% !important;
    justify-content: space-evenly !important;
  }
  body.print-sicak .sk-uyari-h1 { font-size: 72px !important; text-align: center; }
  body.print-sicak .sk-uyari-h2 { font-size: 58px !important; text-align: center; }
  body.print-sicak .sk-uyari-h3 { font-size: 24px !important; text-align: center; }
  body.print-sicak .sk-uyari-list { font-size: 34px !important; }
  body.print-sicak .sk-uyari-list li:last-child { font-size: 26px !important; }
  /* .mps-taslak-ref = canlı paket içinde görüntü taslağı ile AYNI kurallar */
  body.print-mps #page-mps,
  body.print-mps #page-mps[hidden],
  .mps-taslak-ref #page-mps,
  .mps-taslak-ref #page-mps[hidden] {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.print-mps #page-yuksekte,
  body.print-mps #page-malzeme,
  body.print-mps #page-calisma,
  body.print-mps #page-taahhut,
  body.print-mps #page-sicak { display: none !important; }
  body.print-mps #a4-mps,
  body.print-mps .mps-wrap,
  .mps-taslak-ref #a4-mps,
  .mps-taslak-ref .mps-wrap {
    display: block !important;
    width: 297mm !important;
    max-width: 297mm !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  /* Her .mps-page bir A4 yatay. PNG sayfa kutusunda kalır; sonraki sayfa yeni kâğıda geçer. */
  body.print-mps .mps-page,
  .mps-taslak-ref .mps-page {
    page: sayfa-yatay;
    position: relative !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 297mm !important;
    height: 210mm !important;
    max-width: 297mm !important;
    max-height: 210mm !important;
    border: 0 !important;
    page-break-after: auto !important;
    break-after: auto !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-page + .mps-page,
  .mps-taslak-ref .mps-page + .mps-page {
    page-break-before: always !important;
    break-before: page !important;
  }
  body.print-mps .mps-adim-zone,
  .mps-taslak-ref .mps-adim-zone {
    background: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-adim-table,
  body.print-mps .mps-adim-table td,
  .mps-taslak-ref .mps-adim-table,
  .mps-taslak-ref .mps-adim-table td {
    background: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-bg,
  body.print-mps .mps-layer,
  .mps-taslak-ref img.mps-bg,
  .mps-taslak-ref .mps-bg,
  .mps-taslak-ref .mps-layer {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    inset: auto !important;
    top: var(--mps-nudge-top) !important;
    left: var(--mps-nudge-left) !important;
    width: var(--mps-nudge-width) !important;
    height: var(--mps-nudge-height) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-page:last-of-type,
  .mps-taslak-ref .mps-page:last-of-type {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
  /* Canlı paket / tek çıktı pencereleri — #page-* gizleme listesine takılmasın */
  body.cp-root .cp-main,
  body.cp-root .cp-izleme,
  body.cp-root .cp-page-host,
  body.cp-root .cp-kapak,
  body.cp-root .cp-sheet,
  body.cp-tek .cp-tek-main,
  body.cp-tek .cp-tek-host {
    display: block !important;
    visibility: visible !important;
  }
  .ford-wet,
  .ford-kase,
  .mps-pers-imza .ford-wet,
  .mps-pers-imza .ford-kase,
  .mps-onay-imza .ford-wet,
  .mps-onay-imza .ford-kase {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
  }
  .mps-pers-imza .ford-wet {
    filter: none !important;
  }
}
.paket-tamam {
  margin-top: 1.25rem;
  border-top: 3px solid var(--yellow);
}
.paket-tamam-lead {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.paket-tamam-info {
  margin: 0 0 1rem;
}
.paket-onay-durum {
  margin: .35rem 0 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f4f7fb;
}
.paket-onay-durum.bekle {
  background: #fff8e8;
  border-color: #f0d48a;
}
.paket-onay-durum.tamam {
  background: #eef9f1;
  border-color: #b7e4c4;
}
.paket-onay-durum.kayit {
  background: #e8f2fc;
  border-color: #b7d4f5;
}
.paket-durum-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0060c0;
  margin-bottom: .25rem;
}
.paket-onay-durum.bekle .paket-durum-kicker { color: #9a6b00; }
.paket-onay-durum.tamam .paket-durum-kicker { color: #0f7a3f; }
.paket-onay-durum h4 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.paket-onay-durum p {
  margin: .3rem 0;
  color: #5a6f86;
  line-height: 1.45;
  font-size: .94rem;
}
.paket-durum-misafir {
  margin-top: .55rem !important;
  color: var(--ink) !important;
}
.paket-tamam-adim {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.paket-yol-secim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  width: 100%;
  margin-bottom: .5rem;
}
.paket-yol-card {
  cursor: pointer;
  width: 100%;
}
.mail-kutu {
  grid-template-columns: 1fr 1fr;
  margin-top: .5rem;
}
.mail-kutu label:nth-child(3),
.mail-kutu label:nth-child(4) {
  grid-column: 1 / -1;
}
@media (max-width: 800px) {
  .paket-yol-secim,
  .mail-kutu { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .cards3, .grid2, .editor { grid-template-columns: 1fr; }
  .side {
    position: relative;
    z-index: 5;
    max-height: min(46dvh, 380px);
  }
  .login-gate {
    padding: max(1rem, env(safe-area-inset-top))
             max(1rem, env(safe-area-inset-right))
             max(1.15rem, env(safe-area-inset-bottom))
             max(1rem, env(safe-area-inset-left));
  }
  .zac-cover img {
    object-position: center 38%;
    filter: blur(12px) saturate(1.06) brightness(.9);
  }
  .login-card {
    padding: 1.4rem 1.2rem 1.15rem;
  }
}
@media (max-width: 420px) {
  .login-brand h1 { font-size: 1.12rem; }
  .login-script { font-size: 1.35rem; }
  .login-spaced { font-size: .6rem; letter-spacing: .12em; }
  .login-card .sub { font-size: .84rem; }
}
