/* Belgelendirme — Ofis Kasası ile aynı görünüm dili (lacivert + sarı, Montserrat) */
@font-face { font-family: 'Montserrat'; src: url(fonts/Montserrat-Regular.ttf) format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url(fonts/Montserrat-Bold.ttf) format('truetype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url(fonts/Montserrat-ExtraBold.ttf) format('truetype'); font-weight: 800 900; font-display: swap; }

:root {
  --navy: #0d2350; --navy2: #16357a; --yellow: #f6c343; --yellow-d: #e2ab22;
  --bg: #eef1f6; --card: #fff; --ink: #14213d; --muted: #535d75; --line: #e1e6ef;
  --green: #12704b; --green-bg: #e2f5ec; --orange: #94500f; --orange-bg: #fdf0e1; --red: #b3261e; --red-bg: #fdecec;
  --blue-bg: #eef3ff; --wa: #0f7a3d; --kenar: #7d879b;
  --r: 14px; --sh: 0 1px 2px rgba(13,35,80,.06), 0 4px 14px rgba(13,35,80,.06);
  --top: env(safe-area-inset-top, 0px); --bot: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Montserrat, system-ui, -apple-system, sans-serif; min-height: 100vh; overscroll-behavior-y: none; }
body.tabli { padding-bottom: calc(68px + var(--bot)); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
#app { max-width: 720px; margin: 0 auto; min-height: 100vh; }

/* ── genel ── */
.soluk { color: var(--muted); } .kucuk { font-size: 13.5px; } .orta { text-align: center; }
.btn { border-radius: 12px; padding: 12px 16px; font-weight: 700; background: #fff; border: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; white-space: nowrap; text-align: center; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; }
.btn.primary { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.danger { background: #fff; border-color: #f2c4c0; color: var(--red); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.kucuk { padding: 7px 12px; min-height: 36px; font-size: 14.5px; border-radius: 10px; }
.btn.blok { width: 100%; margin-top: 10px; }
.btn.genis { flex: 1; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; } .btn-row .btn { flex: 1; }
.btn-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.btn-izgara .btn { white-space: normal; font-size: 14.5px; }
.btn-izgara .tam { grid-column: 1 / -1; }
.ikon-btn { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; display: grid; place-items: center; cursor: pointer; flex: none; }
@keyframes don { to { transform: rotate(360deg); } }

.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-liste.kaydir { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-liste.kaydir::-webkit-scrollbar { display: none; }

.alan { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.alan > span { font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
.alan > span small { font-weight: 600; }
.alan input, .alan select, .alan textarea, .arama input {
  width: 100%; border: 1px solid var(--kenar); border-radius: 12px; background: #fff; padding: 12px 13px; font-size: 16px; min-height: 48px; outline: none; }
.alan select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23535d75' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.alan select:disabled { background-color: #f4f6fa; color: var(--muted); }
.alan input:focus, .alan select:focus, .alan textarea:focus, .arama input:focus { border-color: var(--navy2); box-shadow: 0 0 0 3px rgba(22,53,122,.12); }
.alan textarea { resize: vertical; line-height: 1.5; }
.alan.hatali input, .alan.hatali select { border-color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.form-grid .genis { grid-column: 1 / -1; }
@media (max-width: 360px) { .form-grid { grid-template-columns: 1fr; } }
.fiyat-satir { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.fiyat-satir input { font-size: 20px; font-weight: 800; color: var(--navy); }
.hata { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.ipucu { background: var(--blue-bg); color: var(--navy2); border-radius: 12px; padding: 11px 13px; font-size: 14.5px; margin: 6px 0 14px; }
.ipucu.sari { background: #fff8e6; color: #6b4d00; }

.rozet { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; }
.rozet.gri { background: #eceff4; color: var(--muted); }
.rozet.mavi { background: var(--blue-bg); color: var(--navy2); }
.rozet.sari { background: var(--orange-bg); color: var(--orange); }
.rozet.yesil { background: var(--green-bg); color: var(--green); }
.rozet.kirmizi { background: var(--red-bg); color: var(--red); }
.rozet.duz { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 700; }

.spin { width: 34px; height: 34px; border: 3.5px solid rgba(13,35,80,.15); border-top-color: var(--navy); border-radius: 50%; animation: don .8s linear infinite; }
.yukleniyor { min-height: 60vh; display: grid; place-items: center; }
.bos { text-align: center; padding: 40px 24px; color: var(--muted); } .bos-ikon { font-size: 44px; margin-bottom: 4px; }
.bos b { color: var(--ink); display: block; margin-bottom: 4px; }
.demo-serit { background: var(--yellow); color: var(--navy); font-size: 12.5px; font-weight: 800; text-align: center; padding: calc(4px + var(--top)) 8px 4px; letter-spacing: .3px; }
.demo-serit + .ust { padding-top: 12px; }

/* ── üst bar ── */
.ust { background: var(--navy); color: #fff; padding: calc(12px + var(--top)) 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 0; z-index: 20; }
.marka { font-weight: 900; font-size: 19px; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.marka span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ust-alt { background: var(--navy); padding: 0 16px 14px; display: grid; gap: 10px; }
.arama input { background: #fff; border: 0; }
.ust-alt .chip { background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }
.ust-alt .chip.on { background: var(--yellow); color: var(--navy); }
.ust-alt .chip b { background: rgba(255,255,255,.18); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: 13px; }
.ust-alt .chip.on b { background: var(--navy); color: #fff; }

/* ── listeler ── */
.liste { padding: 10px 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bolum-b { font-size: 13.5px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); margin: 20px 0 10px; border-left: 4px solid var(--yellow); padding-left: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bolum-b.pad { margin: 18px 16px 4px; }
.bolum-b small { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--muted); font-size: 13px; }
.kart { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 12px 14px; cursor: pointer; text-align: left; border: 0; width: 100%; }
.kart-ikon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-bg); display: grid; place-items: center; font-size: 22px; flex: none; }
.kart-ikon.yetki { background: #fff4d6; }
.kart-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.kart-ust { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.kart-ad { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-alt { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-fiyat { font-weight: 900; color: var(--navy); font-size: 15px; }
.kart-rozetler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.uyari-kart { display: flex; gap: 10px; align-items: center; margin: 12px 12px 0; padding: 12px 14px; border-radius: var(--r); background: var(--orange-bg); color: var(--orange); font-weight: 700; font-size: 14.5px; border: 0; width: calc(100% - 24px); text-align: left; cursor: pointer; }
.uyari-kart.kirmizi { background: var(--red-bg); color: var(--red); }
.uyari-kart span:first-child { font-size: 20px; }
.uyari-kart b { margin-left: auto; font-size: 18px; }

.hizli-baslat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 12px 0; }
.hizli-baslat button { border: 0; border-radius: var(--r); background: #fff; box-shadow: var(--sh); padding: 14px 12px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.hizli-baslat button b { font-size: 15.5px; color: var(--navy); }
.hizli-baslat button span { font-size: 26px; }
.hizli-baslat button small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }

/* ── alt sekmeler ── */
#tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); display: flex; padding: 6px 4px calc(6px + var(--bot)); }
#tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 2px 0; cursor: pointer; }
#tabs a span { font-size: 20px; line-height: 1.2; filter: grayscale(1); opacity: .85; }
#tabs a.on { color: var(--navy); } #tabs a.on span { filter: none; opacity: 1; }
#tabs .tab-ekle span { background: var(--yellow); color: var(--navy); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 24px; margin-top: -18px; box-shadow: 0 4px 12px rgba(246,195,67,.5); filter: none; opacity: 1; }
#tabs .tab-ekle { color: var(--navy); }

/* ── giriş ── */
.giris { min-height: 100vh; background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 55%, var(--bg) 55.1%); padding: calc(36px + var(--top)) 18px 30px; }
.giris-ust { text-align: center; color: #fff; padding: 10px 0 26px; }
.giris-logo { height: 30px; opacity: .95; }
.giris-baslik { font-size: 28px; font-weight: 900; margin-top: 18px; display: flex; justify-content: center; gap: 10px; align-items: center; }
.giris-alt { color: #c3cde3; font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.giris-kart { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 10px 40px rgba(13,35,80,.2); max-width: 420px; margin: 0 auto; }
.seg { display: flex; background: #eef1f6; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.demo-kutu { margin-top: 16px; background: #fff8e1; border: 1px dashed var(--yellow-d); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.6; }
.kur-ipucu { max-width: 420px; margin: 16px auto; font-size: 14px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--sh); }

/* ── sayfa kutuları ── */
.kutu { background: #fff; margin: 12px; border-radius: 16px; padding: 14px 16px; box-shadow: var(--sh); }
.kutu h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kutu p { margin: 6px 0; }
.satirlar { display: grid; gap: 0; }
.satirlar > * { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.satirlar > *:last-child { border-bottom: 0; }
.satirlar span { color: var(--muted); }
.satirlar b { text-align: right; overflow-wrap: anywhere; }
.alt-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.alt-liste .kart { box-shadow: none; border: 1px solid var(--line); padding: 10px 12px; }
.mulk-ozet { display: flex; flex-direction: column; gap: 2px; }
.mulk-ozet .buyuk { font-size: 20px; font-weight: 900; color: var(--navy); }

/* Belge durumu: adımlar */
.durum-adimlar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 4px; }
.durum-adimlar div { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.durum-adimlar i { display: block; height: 6px; border-radius: 9px; background: #e3e8f0; margin-bottom: 6px; }
.durum-adimlar .ok i { background: var(--green); }
.durum-adimlar .ok { color: var(--green); }
.durum-baslik { display: flex; align-items: center; gap: 10px; }
.durum-baslik .ikon { font-size: 30px; }
.durum-baslik b { font-size: 18px; color: var(--navy); display: block; line-height: 1.25; }
.gunluk { list-style: none; padding: 0; margin: 0; }
.gunluk li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; }
.gunluk li:last-child { border-bottom: 0; }
.gunluk time { color: var(--muted); font-size: 12.5px; white-space: nowrap; min-width: 108px; }
.gunluk small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

/* ── profil ── */
.profil-kart { background: #fff; margin: 14px 12px; border-radius: 18px; padding: 22px 16px; text-align: center; box-shadow: var(--sh); }
.profil-ad { font-weight: 900; font-size: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.avatar.buyuk { width: 72px; height: 72px; font-size: 30px; margin: 0 auto 8px; }
.profil-sayi { display: flex; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.profil-sayi div { flex: 1; display: flex; flex-direction: column; } .profil-sayi b { font-size: 22px; color: var(--navy); } .profil-sayi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.menu-liste { margin: 0 12px 14px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sh); }
.menu-liste button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 16px; font-weight: 700; border-bottom: 1px solid var(--line); cursor: pointer; }
.menu-liste button:last-child { border-bottom: 0; } .menu-liste .kirmizi { color: var(--red); }

/* ── alt pencere, bildirim ── */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8,18,40,.5); opacity: 0; transition: opacity .2s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 22px 22px 0 0; padding: 8px 18px calc(18px + var(--bot)); max-height: 88vh; overflow-y: auto; transform: translateY(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.sheet-wrap.on .sheet-bg { opacity: 1; } .sheet-wrap.on .sheet { transform: none; }
.sheet-grip { width: 42px; height: 5px; border-radius: 9px; background: #d5dbe6; margin: 2px auto 12px; }
.sheet h3 { margin: 4px 0 14px; font-size: 18px; color: var(--navy); }
.onay-metin { font-size: 16.5px; font-weight: 600; margin: 8px 0 4px; }
.secim-buyuk { display: grid; gap: 10px; }
.secim-buyuk button { display: flex; gap: 14px; align-items: center; text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; cursor: pointer; }
.secim-buyuk button > span { font-size: 30px; }
.secim-buyuk b { display: block; color: var(--navy); font-size: 16.5px; }
.secim-buyuk small { color: var(--muted); font-size: 13.5px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--bot)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; z-index: 80; opacity: 0; transition: .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--green); } .toast.kotu { background: var(--red); }
.busy { position: fixed; inset: 0; z-index: 90; background: rgba(8,18,40,.55); display: grid; place-items: center; }
.busy-kutu { background: #fff; border-radius: 18px; padding: 24px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 700; min-width: 220px; text-align: center; }

/* ── adım adım form ── */
.form-sayfa { padding-bottom: calc(84px + var(--bot)); min-height: 100vh; background: #fff; }
.adimlar { padding: 12px 16px 8px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: calc(64px + var(--top)); z-index: 15; }
.adim-bar { height: 5px; background: #e9edf4; border-radius: 9px; overflow: hidden; } .adim-bar i { display: block; height: 100%; background: var(--yellow); transition: width .25s; }
.adim-yazi { font-size: 14px; color: var(--muted); margin: 8px 0 6px; } .adim-yazi b { color: var(--navy); }
.adim-noktalar { display: flex; gap: 6px; }
.adim-noktalar button { flex: 1; height: 26px; border-radius: 8px; border: 0; background: #eef1f6; font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer; }
.adim-noktalar button.gecti { background: #dfe7f7; color: var(--navy2); }
.adim-noktalar button.on { background: var(--navy); color: #fff; }
.adim-govde { padding: 16px; }
.soru { font-size: 15px; font-weight: 800; margin: 18px 0 10px; color: var(--navy); } .soru:first-child { margin-top: 4px; }
.buyuk-sec { display: grid; gap: 10px; margin-bottom: 6px; } .buyuk-sec.iki { grid-template-columns: 1fr 1fr; } .buyuk-sec.uc { grid-template-columns: repeat(3, 1fr); }
.buyuk-sec button { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 6px; font-weight: 800; font-size: 15px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.buyuk-sec button.on { border-color: var(--navy); background: #f1f5ff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.bs-ikon { font-size: 26px; }
.form-alt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + var(--bot)); display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.eksikler { background: var(--red-bg); border-radius: 12px; padding: 12px; margin-bottom: 14px; color: var(--red); font-size: 15px; }
.eksikler button { display: flex; width: 100%; justify-content: space-between; border: 0; background: transparent; color: var(--red); font-weight: 700; padding: 6px 0 0; cursor: pointer; text-align: left; gap: 8px; }
.eksikler button span { color: var(--navy2); font-size: 13.5px; white-space: nowrap; }
.tamam-not { background: var(--green-bg); color: var(--green); font-weight: 700; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.ikili-sec { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.ikili-sec:last-child { border-bottom: 0; }
.ikili-sec .chip { padding: 6px 12px; font-size: 14px; }
.kutucuklar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.kutucuklar label { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.kutucuklar input { width: 20px; height: 20px; accent-color: var(--navy); }
.acilir { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; margin: 12px 0; }
.acilir summary { padding: 13px 0; font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.acilir summary::after { content: '＋'; color: var(--muted); }
.acilir[open] summary::after { content: '－'; }
.acilir[open] { padding-bottom: 12px; }
.mulk-bant { background: #f5f7fb; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.mulk-bant > span { font-size: 26px; }
.mulk-bant div { flex: 1; min-width: 0; }
.mulk-bant b { display: block; color: var(--navy); }
.rehber-btn { margin: -4px 0 14px; }
.onizleme-cerceve { border: 1px dashed var(--kenar); border-radius: 14px; padding: 2px; margin-top: 8px; }

/* ── belge görünümü (panel + onay sayfası + yazdırma) ── */
.belge { background: #fff; padding: 18px 16px; margin: 12px; border-radius: 16px; box-shadow: var(--sh); font-size: 14.5px; }
.onizleme-cerceve .belge { margin: 0; box-shadow: none; }
.belge-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-bottom: 3px solid var(--navy); padding-bottom: 10px; margin-bottom: 12px; }
.belge-bas h1 { color: var(--navy); margin: 2px 0 0; font-size: 17px; font-weight: 900; letter-spacing: .2px; }
.ofis { font-weight: 800; color: var(--muted); font-size: 13.5px; }
.belge-no { font-size: 13.5px; }
.belge section { margin: 0 0 14px; }
.belge h2 { color: var(--navy); text-transform: uppercase; font-size: 12.5px; letter-spacing: .5px; border-left: 4px solid var(--yellow); padding-left: 8px; margin: 0 0 8px; }
.belge h2 small { text-transform: none; color: var(--ink); font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.kvlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 2px 12px; }
.kv { display: flex; flex-direction: column; padding: 3px 0; min-width: 0; }
.kv span { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.kv b { font-weight: 700; overflow-wrap: anywhere; font-size: 14px; }
.belge .fiyat { margin: 10px 0 4px; font-size: 16px; }
.belge .fiyat b { color: var(--navy); }
.belge .not { color: var(--muted); font-size: 13px; font-style: italic; margin: 6px 0; }
.belge .duz { margin: 0; }
.maddeler { padding-left: 20px; font-size: 13.5px; margin: 0; line-height: 1.55; }
.maddeler li { margin-bottom: 6px; }
.imzalar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.imzalar > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.imzalar span { color: var(--muted); font-size: 11.5px; text-transform: uppercase; font-weight: 700; }
.imzalar small { color: var(--muted); font-size: 12.5px; }
.damga { margin-top: 6px; border: 2px solid var(--green); color: var(--green); border-radius: 8px; padding: 5px 9px; font-size: 11.5px; font-weight: 800; display: inline-block; width: fit-content; letter-spacing: .3px; }
.kanit { margin-top: 14px; background: var(--green-bg); border-radius: 12px; padding: 12px; }
.ozet { font-size: 11.5px; overflow-wrap: anywhere; margin: 6px 0 0; color: var(--muted); }
@media (max-width: 480px) { .imzalar { grid-template-columns: 1fr; } }

/* ── onay sayfası (satıcı / alıcı) ── */
.onay-ust { background: var(--navy); color: #fff; padding: calc(18px + var(--top)) 16px 18px; }
.onay-ust .ofis-ad { font-weight: 900; font-size: 18px; }
.onay-ust p { margin: 6px 0 0; color: #dbe3f3; font-size: 15px; }
.onay-ust .danisman { margin-top: 10px; font-size: 14px; color: #c3cde3; }
.onay-ust .danisman a { color: var(--yellow); font-weight: 700; }
.onay-adim { margin: 12px; padding: 12px 14px; border-radius: 14px; background: #fff8e6; color: #6b4d00; font-size: 14.5px; font-weight: 600; }
.onay-formu { background: #fff; margin: 12px 12px 28px; border-radius: 18px; padding: 16px; box-shadow: var(--sh); border: 2px solid var(--navy); }
.onay-formu h2 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.onay-kutu { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 12px 0; font-weight: 600; }
.onay-kutu input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--navy); }
.onay-formu details { font-size: 13.5px; color: var(--muted); margin: 4px 0 0 36px; }
.onay-formu details summary { cursor: pointer; color: var(--navy2); font-weight: 700; }
.sonuc-kart { margin: 12px; padding: 18px 16px; border-radius: 18px; background: var(--green-bg); color: var(--green); text-align: center; }
.sonuc-kart .ikon { font-size: 44px; }
.sonuc-kart b { display: block; font-size: 19px; margin: 4px 0; }
.sonuc-kart p { margin: 6px 0 0; color: var(--ink); font-size: 14.5px; }
.sonuc-kart.kirmizi { background: var(--red-bg); color: var(--red); }
.alt-not { text-align: center; color: var(--muted); font-size: 12.5px; padding: 0 20px 30px; }

@media print {
  @page { margin: 12mm; }
  body { background: #fff; font-size: 11px; padding: 0 !important; }
  body > *:not(#app), .ust, .ust-alt, .kutu, .uyari-kart, .onay-ust, .onay-adim, .onay-formu, .sonuc-kart, .alt-not, .demo-serit, .yazdirma-yok, #tabs { display: none !important; }
  #app { max-width: none; }
  .belge { box-shadow: none; margin: 0; padding: 0; border-radius: 0; font-size: 11px; }
  .kvlar { grid-template-columns: repeat(4, 1fr); }
  .imzalar { grid-template-columns: 1fr 1fr; break-inside: avoid; }
  .kanit { break-inside: avoid; }
}
