.rail .tag{white-space:normal;padding:4px 12px;border-radius:14px}
.btn{white-space:nowrap}
.mnp a.mnc{background:var(--accent);color:var(--on-accent);justify-content:center;font-weight:600;border-radius:999px;margin-top:8px}
@media (max-width:640px){.ln .ar{display:none}.ln > .tag{grid-column:2 / -1}.ln{grid-template-columns:76px minmax(0,1fr)}.ln.n{grid-template-columns:48px minmax(0,1fr)}.ln.q > p{grid-column:1}.hd .btn{display:none}.hdin{gap:12px}}
@media (max-width:1000px){.tg{margin-left:auto}.mn{margin-left:0}}

.pg [id]{scroll-margin-top:96px}.pg .tb{max-width:100%}.pg .wrap,.pg .eb>*{min-width:0}.pg summary{cursor:pointer}
@media(prefers-reduced-motion:reduce){.pg *,.pg *::before,.pg *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

main :is(article,.surec-detay,.reading-content,.ic-govde,.stages,.metin) :is(img,figure),main figure {display:block;margin-inline:auto;max-width:100%;height:auto}
main img:not(.roof):is([src*="logo" i],[alt*="logo" i],[src*="muhur" i],[alt*="mühr" i]){display:block;margin-inline:auto;max-width:min(100%,220px);height:auto}
.okuma-bolumu{border-block-start:1px solid #879792;padding:.45rem 0}.okuma-bolumu summary{display:list-item;cursor:pointer;padding-block:.65rem;min-height:44px}.okuma-bolumu summary h2{display:inline;font-size:clamp(1.15rem,2vw,1.5rem);margin:0;line-height:1.3}.okuma-bolumu[open]>:not(summary){margin-block:.75rem}.okuma-bolumu table{max-width:100%}
@media(max-width:700px){main img:not(.roof):is([src*="logo" i],[alt*="logo" i],[src*="muhur" i],[alt*="mühr" i]){max-width:min(100%,160px)}}
.pg .sec,.pg .sec.tight{padding-block:22px}.pg .g40,.pg .g56{gap:20px}.pg .card,.pg .steps.cards li{padding:16px}.pg .ic-govde{gap:12px}.pg .ic-govde h2{margin-top:14px}.pg .ic-govde :is(figure,img){margin-inline:auto}.pg .ft{padding-block:28px}.pg .ftg{gap:18px}.pg .cta{padding:clamp(18px,3vw,40px)}.pg .fq summary{min-height:48px}.pg .steps.cards li{gap:6px}
@media(max-width:700px){.pg .sec,.pg .sec.tight{padding-block:16px}.pg :is(.g40,.g32,.g24,.g56){gap:14px}.pg .card,.pg .box{padding:14px}.pg .steps.cards{grid-template-columns:1fr;gap:0}.pg .steps.cards>li{display:grid;grid-template-columns:2.3rem minmax(0,1fr);align-items:start;padding:10px 0;gap:4px 8px;border:0;border-top:1px solid var(--hair);border-radius:0;background:transparent;box-shadow:none}.steps.cards>li>:not(.no){grid-column:2}.pg .steps.cards>li .no{grid-row:1 / span 2;font-size:1.05rem}.pg .steps.cards li h3{font-size:1.1rem}.pg .ftg{grid-template-columns:repeat(2,minmax(0,1fr));font-size:.9rem;overflow-wrap:anywhere}.pg .ftg h3{font-size:1rem}.pg .ill{max-height:165px;margin:auto}.pg .g20,.pg .g16{gap:10px}.pg .ic-bas{padding-top:18px}.pg .fq summary{font-size:1.05rem}.pg .lv{min-height:46px;padding:8px 12px}.pg .lv .p{font-size:1.1rem}.pg .ftg li{margin-block:0}.pg .sec .gr.c4{grid-template-columns:repeat(2,minmax(0,1fr))}}

main img:not(.roof),main figure{display:block;margin-inline:auto;max-width:100%;height:auto}
main .chip img{max-width:100%;max-height:100%;object-fit:contain}
.mobil-toc{display:none}.rehber-toc{position:sticky;top:5rem;align-self:start}.okuma-bolumu :is(table,img){max-width:100%}.okuma-bolumu table{display:block;overflow:auto}
@media(max-width:760px){.rehber-toc{position:static}.rehber-toc>nav{display:none}.mobil-toc{display:block}.mobil-toc summary,.mobil-toc a{min-height:44px;padding:.6rem;cursor:pointer}.mobil-toc nav{display:grid}.okuma-bolumu li{overflow-wrap:anywhere}}
@media(max-width:700px){.pg .ln{padding-block:10px;gap:6px 12px}.pg .eb{gap:12px}.pg .ebl{gap:6px}.pg .ln h3{font-size:1.15rem}.pg .lead{font-size:1.04rem;line-height:1.5}}

main :is(article,section,figure) img:not(.roof):is([alt*="logo" i],[src*="logo" i],[alt*="mühr" i],[alt*="rozet" i]){max-width:min(100%,220px);height:auto;object-fit:contain}
@media(max-width:700px){main :is(article,section,figure) img:not(.roof):is([alt*="logo" i],[src*="logo" i],[alt*="mühr" i],[alt*="rozet" i]){max-width:min(100%,160px)}}

@media(min-width:1001px){.ic-uclu>.ic-toc{position:sticky;top:96px;max-height:calc(100vh - 110px);overflow-y:auto}}

.pg main:has(#teklif)>.sec{padding-block:88px}.pg main:has(#teklif)>.sec.tight{padding-block:48px}
@media(max-width:700px){.pg main:has(#teklif)>.sec{padding-block:56px}.pg main:has(#teklif)>.sec.tight{padding-block:36px}}

/* Koordinatör 21.11 10:58 — çatı motifi düzeltmesi: logo boyut kuralı (max 220 px, object-fit:contain) .roof görselini de yakalıyor ve motifi kutunun ortasına itiyordu. Motif referanstaki gibi sağ alt köşeye sıfır oturur. */
.pg .cta .roof,main .cta img.roof{position:absolute;right:0;bottom:0;left:auto;top:auto;height:86%;width:auto;max-width:none;margin:0;object-fit:fill;display:block}

@media (max-width: 700px) {
  .tb:has(> table)::before {
    content: "Tabloyu yana kaydırın →";
    display: block;
    position: sticky;
    left: 0;
    padding: .5rem .75rem;
    font-size: .875rem;
    font-weight: 600;
  }
  .tb:has(> table > thead > tr > :nth-child(2):last-child)::before { display: none; }
  .tb > table:has(> thead > tr > :nth-child(2):last-child) {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  .tb > table:has(> thead > tr > :nth-child(2):last-child) :is(th, td) {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
