: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);
}

* { 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; }
button { cursor: pointer; }

/* —— Kurumsal portal (ilk giriş) —— */
.portal-gate {
  --portal-cyan: #2f9bff;
  --portal-cyan-soft: #5eb6ff;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020b18;
  color: #fff;
  isolation: isolate;
}
.portal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.portal-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.8) brightness(.48) contrast(1.05);
  transform: scale(1.04);
}
.portal-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 38%, rgba(8, 40, 90, .2) 0%, transparent 70%),
    linear-gradient(180deg, rgba(1, 10, 24, .78) 0%, rgba(2, 18, 42, .55) 42%, rgba(0, 8, 20, .9) 100%);
  pointer-events: none;
}
.portal-frame {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, #0a4d9e 0%, var(--portal-cyan) 42%, #083a78 100%);
  opacity: .95;
  box-shadow: 0 0 48px rgba(47, 155, 255, .28);
}
.portal-frame-tl {
  top: -6%;
  left: -8%;
  width: min(38vw, 420px);
  height: min(28vh, 240px);
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 72%);
}
.portal-frame-br {
  right: -8%;
  bottom: -8%;
  width: min(40vw, 440px);
  height: min(30vh, 260px);
  clip-path: polygon(42% 0, 100% 22%, 100% 100%, 0 100%);
}
.portal-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  padding: clamp(1.4rem, 4vh, 2.4rem) 0 clamp(1.6rem, 4vh, 2.6rem);
  animation: portal-in .7s ease both;
}
@keyframes portal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.portal-brand {
  display: grid;
  place-items: center;
}
.portal-logo {
  width: min(220px, 48vw);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .4));
}
.portal-copy {
  display: grid;
  gap: .7rem;
  justify-items: center;
}
.portal-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  line-height: 1.25;
}
.portal-copy h1 span {
  color: var(--portal-cyan-soft);
  font-weight: 700;
}
.portal-lead {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: clamp(.9rem, 1.3vw, 1.02rem);
  font-weight: 400;
  color: rgba(220, 232, 255, .78);
}
.portal-lead-line {
  display: block;
  width: clamp(28px, 5vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--portal-cyan), transparent);
  opacity: .85;
  flex: 0 0 auto;
}
.portal-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  width: 100%;
  margin-top: .35rem;
}
.portal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  min-height: 5.4rem;
  padding: .85rem .9rem .85rem .85rem;
  border: 1px solid rgba(120, 190, 255, .28);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(12, 40, 78, .55) 0%, rgba(6, 22, 48, .62) 100%);
  box-shadow:
    0 14px 36px rgba(0, 12, 32, .35),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 210, 255, .55);
  background: linear-gradient(160deg, rgba(18, 55, 105, .62) 0%, rgba(8, 30, 64, .68) 100%);
  box-shadow:
    0 18px 42px rgba(0, 20, 50, .42),
    inset 0 1px 0 rgba(255, 255, 255, .14);
}
.portal-card:active {
  transform: translateY(-1px);
}
.portal-card-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 35% 28%, #4aa8ff, #1468c8 68%, #0b4a96 100%);
  box-shadow:
    0 6px 16px rgba(20, 90, 180, .4),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  flex: 0 0 auto;
}
.portal-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.portal-card-text {
  display: grid;
  gap: .22rem;
  min-width: 0;
}
.portal-card-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.88rem, 1.15vw, 1.02rem);
  letter-spacing: .01em;
  line-height: 1.25;
}
.portal-card-text em {
  font-style: normal;
  font-size: clamp(.74rem, .95vw, .84rem);
  line-height: 1.35;
  color: rgba(210, 225, 245, .72);
}
.portal-card-go {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: radial-gradient(circle at 35% 28%, #4aa8ff, #1468c8 70%);
  box-shadow: 0 4px 12px rgba(20, 90, 180, .35);
  flex: 0 0 auto;
}
.portal-footer {
  margin: .55rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(230, 240, 255, .82);
}
.portal-footer-line {
  display: block;
  width: clamp(36px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--portal-cyan), transparent);
  opacity: .9;
  flex: 0 0 auto;
}
.portal-soon {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: rgba(1, 10, 24, .55);
  backdrop-filter: blur(4px);
  padding: 1.25rem;
  animation: portal-in .25s ease both;
}
.portal-soon-card {
  width: min(380px, 100%);
  background: linear-gradient(180deg, #0d2a52, #071a36);
  border: 1px solid rgba(120, 180, 255, .22);
  border-radius: 18px;
  padding: 1.45rem 1.35rem 1.2rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  text-align: center;
}
.portal-soon-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: .45rem;
}
.portal-soon-card p {
  margin: 0 0 1.1rem;
  color: rgba(220, 232, 255, .8);
  font-size: .95rem;
  line-height: 1.45;
}
.portal-soon-close {
  border: 0;
  border-radius: 999px;
  padding: .65rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #2f7fe8, #0d4eae);
  box-shadow: 0 8px 18px rgba(0, 40, 100, .35);
}
.portal-soon-close:hover { filter: brightness(1.08); }
html.portal-skip .portal-gate { display: none !important; }
.page-back {
  position: absolute;
  top: max(.9rem, env(safe-area-inset-top));
  left: max(.9rem, env(safe-area-inset-left));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .55rem .95rem .55rem .8rem;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 20, 50, .22);
  backdrop-filter: blur(8px);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.page-back span {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 400;
}
.page-back:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 20, 50, .28);
}
.page-back-home {
  background: rgba(0, 32, 70, .72);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 20, 50, .28);
}
.page-back-home:hover {
  background: rgba(0, 43, 92, .9);
  color: #fff;
}
.login-back-portal {
  display: none;
}

@media (max-width: 900px) {
  .page-back {
    top: max(.7rem, env(safe-area-inset-top));
    left: max(.7rem, env(safe-area-inset-left));
    padding: .48rem .8rem .48rem .7rem;
    font-size: .82rem;
  }
  .portal-logo {
    width: min(168px, 44vw);
  }
  .portal-nav {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: .7rem;
  }
  .portal-card {
    min-height: 4.6rem;
    padding: .75rem .8rem;
    border-radius: 16px;
  }
  .portal-lead {
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem .7rem;
    text-align: center;
  }
  .portal-footer {
    letter-spacing: .16em;
    font-size: .66rem;
  }
  .portal-frame-tl {
    width: min(62vw, 280px);
    height: min(18vh, 140px);
  }
  .portal-frame-br {
    width: min(68vw, 300px);
    height: min(20vh, 150px);
  }
  .portal-inner {
    gap: .95rem;
    padding: 1.35rem 0 1.75rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .portal-card-text em {
    font-size: .76rem;
  }
  .portal-card {
    gap: .65rem;
    padding: .75rem .7rem;
  }
}

.login-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  padding-top: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-top));
  padding-bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom));
  background: var(--navy-deep);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
.zac-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.zac-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: blur(10px) saturate(.7) brightness(.72);
  transform: scale(1.08);
}
.zac-cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 32, 78, .72) 0%, rgba(0, 55, 120, .58) 45%, rgba(0, 22, 56, .78) 100%),
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(20, 90, 180, .28), transparent 70%);
  pointer-events: none;
}
.login-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 1.55rem 1.45rem 1.25rem;
  box-shadow: 0 28px 60px rgba(0, 20, 50, .4);
  border-top: 4px solid var(--blue);
  animation: portal-in .45s ease both;
}
.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-blue:hover { background: var(--blue-d); }
/* 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"]),
.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"]),
.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: #dce8f4;
}
.home-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.home-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(132px, 18vh, 200px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #001a38;
}
.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: saturate(.85) brightness(.92);
}
.home-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 26, 56, .35) 0%, rgba(0, 43, 92, .28) 40%, rgba(220, 232, 244, .92) 88%, #dce8f4 100%),
    linear-gradient(90deg, rgba(0, 32, 70, .45) 0%, transparent 35%, transparent 65%, rgba(0, 32, 70, .25) 100%);
}
.home-scroll-cue {
  display: none !important;
}
.home-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: clamp(1rem, 2.2vh, 1.4rem);
}
.home-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(1680px, calc(100% - 2rem));
  margin: 0 auto .55rem;
  min-height: clamp(56px, 8vh, 88px);
  padding: 0 .15rem;
}
.home-hero-brand {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.home-hero-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(.78rem, 1.4vw, 1rem);
  letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 20, 50, .45);
}
.home-hero-script {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: #8ec5ff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 20, 50, .35);
}
.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;
}

.home-work {
  flex: 1 1 auto;
  background: transparent;
  padding: 0 clamp(1rem, 2.2vw, 2rem) 2rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.home-work-inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  background: rgba(220, 232, 244, .72);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 16px;
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(1rem, 1.8vw, 1.4rem) 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 26, 56, .12);
  backdrop-filter: blur(8px);
  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: .85rem;
}
.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.35rem, 2.2vw, 1.85rem);
  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.25rem;
  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, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: .85rem;
}
.home-act {
  text-align: left;
  border: 0;
  border-radius: 8px;
  padding: .95rem 1.05rem .9rem;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 7.6rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .15rem;
  transition: transform .18s ease, background .18s ease;
  box-shadow: 0 10px 24px rgba(0, 26, 56, .2);
}
.home-act::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--yellow);
}
.home-act:hover {
  transform: translateY(-2px);
  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: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--yellow);
  padding-left: .35rem;
}
.home-act strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 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: .84rem;
  color: rgba(255, 255, 255, .72);
  padding-left: .35rem;
  line-height: 1.35;
  align-self: start;
}
.home-act-go {
  margin-top: .35rem;
  padding-left: .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .86rem;
  color: var(--yellow);
  letter-spacing: .04em;
}

.mailbar {
  margin: 0 0 .85rem;
  border: 1px solid rgba(0, 43, 92, .12);
  background: #fff;
  border-radius: 8px;
  padding: .7rem 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;
  border-bottom: 2px solid rgba(0, 43, 92, .12);
  background: rgba(255, 255, 255, .55);
  border-radius: 8px 8px 0 0;
  padding: 0 .35rem;
}
.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: #fff;
  border-radius: 0 0 8px 8px;
  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-bg {
    height: clamp(110px, 16vh, 150px);
  }
  .home-hero {
    width: calc(100% - 1.5rem);
    min-height: 48px;
    margin-bottom: .4rem;
  }
  .home-work {
    padding: 0 .75rem 1.35rem;
  }
  .home-work-inner {
    padding: .9rem .85rem 1rem;
    border-radius: 12px;
  }
  .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;
    column-gap: .65rem;
    padding: .85rem 1rem .85rem .95rem;
  }
  .home-act-kicker {
    grid-row: 1 / span 2;
    align-self: center;
    padding-left: .2rem;
    font-size: .78rem;
  }
  .home-act strong {
    padding-left: 0;
    font-size: 1.02rem;
  }
  .home-act em {
    padding-left: 0;
    font-size: .8rem;
  }
  .home-act-go {
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
    padding-left: 0;
    white-space: nowrap;
  }
  .mailbar { flex-direction: column; align-items: stretch; }
  .ghost { width: 100%; text-align: center; }
  .list-help { text-align: left; max-width: none; }
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tabs button {
    flex: 0 0 auto;
    padding: .65rem .8rem .6rem;
    font-size: .82rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home-act { min-height: 7.2rem; padding: .85rem .9rem .8rem; }
  .home-act em { font-size: .78rem; }
}

@media (min-width: 1400px) {
  .home-act strong { font-size: 1.16rem; }
  .home-act { min-height: 8rem; padding: 1.05rem 1.2rem 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); }

.editor { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }
.side {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #dce6f5; padding: .8rem .65rem 1.5rem;
}
.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; }
.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%; 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: 12mm; }
.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;
  -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; 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.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: .35rem .7rem; }
.chk3 label { display: flex; gap: .4rem; align-items: flex-start; font-size: .9rem; font-weight: 600; }
#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;
}
.mps-edit { margin-top: 1rem; }
.mps-page.mps-tasar { height: auto; min-height: 210mm; overflow: visible; }
.mps-bg {
  position: absolute;
  top: 0;
  left: 3.5mm;
  width: calc(100% - 5mm);
  height: 100%;
  object-fit: fill;
  image-rendering: auto;
  pointer-events: none;
  user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.mps-layer {
  position: absolute;
  top: 0;
  left: 3.5mm;
  width: calc(100% - 5mm);
  height: 100%;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
  overflow: visible;
}
.mps-f {
  position: absolute;
  font-size: 8.4px;
  font-weight: 400;
  line-height: 1.25;
  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: 47.15%; top: 2.95%; width: 12.2%; height: 1.85%; }
.mps-v-tarih { left: 12.8%; top: 5.7%; width: 7.9%;  height: 1.9%; }
.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: 7.6px; line-height: 1.25; align-items: flex-start; }
.mps-v-yillik{ left: 49.4%; top: 8.35%; width: 4.3%;  height: 2.5%; white-space: normal; font-size: 7.6px; align-items: flex-start; }
.mps-v-sayfa { right: 3.2%; bottom: 2.0%; left: auto; top: auto; width: auto; font-size: 7.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;
}
.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: 0; top: 0; width: 59.75%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.mps-adim-row {
  position: absolute; left: 0; width: 100%;
  display: grid;
  grid-template-columns: 4.8% 37.8% 27.5% 29.9%;
  box-sizing: border-box;
  padding: 0.8px 1.5px;
  font-size: 7.8px;
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: .02em;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: #111;
}
.mps-adim-row .c-no {
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
  border: 0;
}
.mps-adim-row .c-adim,
.mps-adim-row .c-risk,
.mps-adim-row .c-onlem {
  padding: 0 2px;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  border: 0;
  font-weight: 400;
}
.mps-pers-row {
  width: 11%; height: 1.45%;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; align-items: flex-end;
  font-size: 7.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.6mm;
  mix-blend-mode: multiply !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: 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: 7.2px;
  font-weight: 700;
  line-height: 1.1;
  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;
  filter: 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-split { display: flex; justify-content: space-between; gap: 2mm; align-items: center; }
.mz-sign { position: relative; min-height: 8mm; }
.mz-sign .malz-wet { display: block; margin-top: .4mm; }
.malz-wet .ford-wet { max-height: 7.5mm; 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: 800; font-size: 8.2px; }

.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: 0;
  width: 100%; height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.yk-layer {
  position: absolute; inset: 0;
  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 {
  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 {
  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 — resmi blank + overlay (GTLEN-001-035F) —— */
.th-wrap { width: min(210mm, 100%); margin: 0 auto 1.2rem; }
.th-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);
}
.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;
}
/* Eşit kenar boşluğu — sayfada ortalı çerçeve */
.th-bg {
  position: absolute;
  inset: 7mm;
  width: auto;
  height: auto;
  object-fit: fill;
  object-position: 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: 7mm;
  width: auto;
  height: auto;
  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: 22%;
  top: 7.35%;
  width: 22%;
  height: 1.9%;
  font-size: 10px;
  display: flex;
  align-items: center;
}
.th-tarih {
  left: 54%;
  top: 7.35%;
  width: 28%;
  height: 1.9%;
  font-size: 10px;
  display: flex;
  align-items: center;
}
.th-faaliyet {
  left: 20%;
  top: 9.4%;
  width: 68%;
  height: 1.9%;
  font-size: 10px;
  display: flex;
  align-items: center;
}
.th-yetkili-ad {
  left: 4%;
  top: 81.5%;
  width: 38%;
  height: 2%;
  font-size: 9.5px;
  color: #003478;
}
.th-yetkili-imza {
  left: 4%;
  top: 83.4%;
  width: 36%;
  height: 6%;
}
.th-isg-ad {
  left: 46.5%;
  top: 81.5%;
  width: 42%;
  height: 2%;
  font-size: 9.5px;
  color: #003478;
}
.th-isg-imza {
  left: 46.5%;
  top: 83.4%;
  width: 40%;
  height: 6%;
}
.th-yetkili-imza .ford-wet,
.th-isg-imza .ford-wet {
  max-height: 14mm;
  mix-blend-mode: multiply;
  background: transparent !important;
  border: 0 !important;
  display: block;
}
.th-iletisim {
  left: 4%;
  top: 90%;
  width: 40%;
  height: 6%;
  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; }

/* —— 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 1fr auto;
  gap: .55rem;
  align-items: end;
}
.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-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-sig img { max-height: 48px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ps-sig-empty { color: #9aa7b8; font-size: .82rem; }
.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;
}
.ps-card-top h4 { margin: 0; font-size: 1.15rem; }
.ps-card-top span { color: var(--muted); font-size: .86rem; }
.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);
}
.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 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-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 {
  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: A4 landscape; margin: 4mm; }
  html, body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .portal-gate, .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;
  }
  .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: 10.5mm !important; }
  body.print-calisma .ford-wet { max-height: 11mm !important; }
  body.print-calisma .ford-kase { max-height: 10mm !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;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.print-taahhut .th-bg,
  body.print-taahhut .th-layer {
    inset: 7mm;
    top: 7mm;
    right: 7mm;
    bottom: 7mm;
    left: 7mm;
    width: auto;
    height: auto;
  }
  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; }
  body.print-mps #page-mps,
  body.print-mps #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 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  /* Named-page kullanma — varsayılan @page JS ile yatay set edilir */
  body.print-mps .mps-page {
    page: auto;
    box-shadow: none !important;
    margin: 0 auto !important;
    width: 297mm !important;
    height: 210mm !important;
    max-width: 297mm !important;
    max-height: 210mm !important;
    border: 1px solid #222 !important;
    page-break-after: always;
    break-after: page;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-bg,
  body.print-mps .mps-layer {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 3.5mm !important;
    width: calc(100% - 5mm) !important;
    height: 100% !important;
    inset: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.print-mps .mps-page:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }
  /* 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;
  }
}
.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: sticky; top: 0; z-index: 5; }
  .login-gate {
    align-content: center;
    padding: 1rem .85rem 1.25rem;
  }
  .zac-cover img {
    filter: blur(8px) saturate(.65) brightness(.68);
    object-position: center 25%;
  }
  .login-card {
    width: min(400px, 100%);
    padding: 1.35rem 1.15rem 1.1rem;
  }
  .login-brand h1 { font-size: 1.12rem; }
  .login-script { font-size: 1.35rem; }
  .login-spaced { font-size: .62rem; letter-spacing: .12em; }
}
