/* Radye — stiller. Kimlik: beton/antrasit + tek vurgu (güvenlik turuncusu); teknik çizim dili (tarama, antet). */

@font-face {
  font-family: 'Archivo';
  src: url('/vendor/fonts/archivo-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/vendor/fonts/archivo-latin-ext-standard-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: optional;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Unbounded'; src: url('/vendor/fonts/unbounded-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF; }
@font-face { font-family: 'Unbounded'; src: url('/vendor/fonts/unbounded-latin-ext-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0100-024F; }
@font-face { font-family: 'Unbounded'; src: url('/vendor/fonts/unbounded-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF; }

:root {
  --beton: #E3E4E0;
  --kagit: #F6F6F3;
  --beyaz: #FFFFFF;
  --antrasit: #262A2E;
  --grafit: #1D2124;
  --soluk: #5B6166;
  --hat: #B3B7B5;
  --hat-ince: #D3D5D2;
  --vurgu: #E2571B;
  --vurgu-koyu: #B9440F;
  --vurgu-acik: #FBE7DC;
  --tamam: #2E6A4E; --tamam-acik: #DDEDE4;
  --uyari: #8A5A00; --uyari-acik: #FCEFD2;
  --hata: #B3261E; --hata-acik: #F8DEDB;
  /* §16.2 piyasa endeksi: çelik mavisi (resmi fiyatın turuncusundan ve uyarının amberinden ayrı bir kaynak tonu) */
  --endeks: #2B5A6E; --endeks-acik: #E3EDF1;
  --yazi: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-kucuk: 4px; --r: 8px;
  --golge: 0 1px 0 rgba(29, 33, 36, .06), 0 8px 24px -12px rgba(29, 33, 36, .25);
  --tarama: repeating-linear-gradient(-45deg, var(--antrasit) 0 1.5px, transparent 1.5px 6px);
  --ust-y: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
/* html koyu: iOS'ta durum çubuğu ve yukarı/aşağı esneme alanı üst/alt çubukla aynı renkte görünür; içerik zemini body'de. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--antrasit); }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--beton); color: var(--grafit);
  font-family: var(--yazi); font-size: 16px; line-height: 1.5; font-stretch: 100%;
  overflow-x: clip; overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--vurgu); text-underline-offset: 3px; }
h1, h2, h3 { font-stretch: 78%; font-weight: 750; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .75em; max-width: 72ch; }
.sayi { font-variant-numeric: tabular-nums lining-nums; }
.soluk { color: var(--soluk); }
.kucuk { font-size: .86rem; }
.gorunmez { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gorunmez-girdi { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
:focus-visible { outline: 3px solid var(--vurgu); outline-offset: 2px; border-radius: 2px; }
.atla { position: absolute; left: 8px; top: -60px; background: var(--vurgu); color: #fff; padding: 8px 12px; z-index: 50; border-radius: var(--r-kucuk); }
.atla:focus { top: 8px; }

/* ---------------------------------------------------------------- üst çubuk (sabit yükseklik → kayma yok)
   viewport-fit=cover + black-translucent: sayfa durum çubuğunun altına uzanır; güvenli alan boşlukları çentiği,
   Dynamic Island'ı ve yatay kullanımda yan kesikleri açar. env() desteklenmezse max() içindeki taban değer geçerli. */
.ust { background: var(--antrasit); color: #F2F2EE; border-bottom: 3px solid var(--vurgu); padding-top: env(safe-area-inset-top, 0px); }
.ust-ic {
  max-width: 1180px; margin: 0 auto; height: var(--ust-y); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
}
.marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo-yeri { width: 33px; height: 26px; display: block; color: #E9E9E4; }
.marka-ad { font-weight: 800; font-stretch: 72%; font-size: 1.45rem; letter-spacing: .01em; }
.ust-menu { display: flex; align-items: center; gap: 4px; min-width: 0; }
.ust-menu a, .menu-cikis {
  color: #DADBD6; text-decoration: none; padding: 8px 12px; border-radius: var(--r-kucuk); font-size: .95rem; font-weight: 550;
  background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.2; white-space: nowrap;
}
.ust-menu a:hover, .menu-cikis:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ust-menu a.etkin { color: #fff; box-shadow: inset 0 -2px 0 var(--vurgu); }

@media (max-width: 639px) {
  :root { --ust-y: 98px; }
  .ust-ic { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
  .marka { height: 54px; }
  .ust-menu { height: 44px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; border-top: 1px solid rgba(255,255,255,.08); }
  .ust-menu a, .menu-cikis { text-align: center; padding: 10px 4px; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------- ana alan */
/* Ana alan en az "ekran − üst çubuk" yüksekliğinde: alt bilgi ilk ekranın hemen altından başlar,
   içerik yüklenince görünür alanda kaymaz (CLS 0). */
.ana {
  flex: 1; width: 100%; max-width: 1180px; margin: 0 auto;
  min-height: calc(100vh - var(--ust-y) - 3px - env(safe-area-inset-top, 0px));
  padding: 28px max(20px, env(safe-area-inset-right, 0px)) 48px max(20px, env(safe-area-inset-left, 0px));
}
.ana:focus { outline: none; }
@media (max-width: 639px) { .ana { padding: 20px max(12px, env(safe-area-inset-right, 0px)) 40px max(12px, env(safe-area-inset-left, 0px)); } }
.sayfa-baslik { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sayfa-baslik h1 { margin: 0; }

/* ---------------------------------------------------------------- düğmeler */
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  background: var(--vurgu); color: #fff; border: 1.5px solid var(--vurgu); border-radius: var(--r-kucuk);
  font: 650 .97rem/1.1 var(--yazi); cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.dugme:hover { background: var(--vurgu-koyu); border-color: var(--vurgu-koyu); }
.dugme:disabled { opacity: .55; cursor: not-allowed; }
.dugme-ikincil { background: transparent; color: var(--grafit); border-color: var(--hat); }
.dugme-ikincil:hover { background: var(--kagit); border-color: var(--antrasit); }
.dugme-tehlike { background: var(--hata); border-color: var(--hata); }
.dugme-tehlike:hover { background: #8E1E18; border-color: #8E1E18; }
.dugme-kucuk { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.dugme-tam { width: 100%; }
.ikon-dugme { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--soluk); border-radius: var(--r-kucuk); cursor: pointer; flex: none; }
.ikon-dugme:hover { background: var(--hat-ince); color: var(--grafit); }
.bag-dugme { background: none; border: 0; padding: 0; color: var(--grafit); font: inherit; text-decoration: underline; text-decoration-color: var(--vurgu); text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tehlike-bag { color: var(--hata); margin-top: 8px; }
.arac-cubugu { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }

/* ---------------------------------------------------------------- formlar */
.alan { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.alan label { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.alan input, .alan select {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--hat); border-radius: var(--r-kucuk);
  background: var(--beyaz); color: var(--grafit); font: 500 1rem/1.2 var(--yazi); font-variant-numeric: tabular-nums;
}
.alan input:focus, .alan select:focus { border-color: var(--antrasit); outline: 3px solid var(--vurgu-acik); outline-offset: 0; }
.alan input[readonly], .alan select:disabled { background: var(--kagit); color: var(--soluk); }
.alan-ipucu { color: var(--soluk); font-size: .8rem; min-height: 1.25em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-yigin { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form-hata { color: var(--hata); font-weight: 600; min-height: 1.4em; margin: 0; }
.form-hata:empty { min-height: 0; }
.iki-sutun { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.uc-sutun { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.poz-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.poz-satir > .dugme { margin-top: 27px; }
@media (max-width: 479px) { .poz-satir { grid-template-columns: 1fr; } .poz-satir > .dugme { margin-top: 0; } }
.onay-kutusu { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.onay-kutusu input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vurgu); flex: none; }
.onay-kutusu small { display: block; color: var(--soluk); font-weight: 400; }

/* segment: radyo grubu, sarılır (yatay kaydırma yok) */
.segment { border: 0; padding: 0; margin: 0; min-width: 0; }
.segment legend { font-weight: 600; font-size: .92rem; margin-bottom: 5px; padding: 0; }
.segment-secenekler { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); gap: 0; border: 1.5px solid var(--hat); border-radius: var(--r-kucuk); overflow: hidden; background: var(--beyaz); }
.segment label { position: relative; display: block; cursor: pointer; }
.segment label + label { box-shadow: -1px 0 0 var(--hat); }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 10px; text-align: center; font-weight: 550; font-size: .93rem; }
.segment input:checked + span { background: var(--antrasit); color: #fff; }
.segment input:focus-visible + span { outline: 3px solid var(--vurgu); outline-offset: -3px; }

/* ---------------------------------------------------------------- kart, bant, rozet */
.kart { background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r); padding: 22px; box-shadow: var(--golge); }
.bant { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: var(--r-kucuk); margin: 0 0 16px; font-size: .93rem; max-width: none; border-left: 4px solid; }
.bant .ikon { flex: none; margin-top: 3px; }
.bant-bilgi { background: var(--kagit); border-color: var(--tamam); }
.bant-uyari { background: var(--uyari-acik); border-color: #C98A0B; color: #4E3500; }
.bant-hata { background: var(--hata-acik); border-color: var(--hata); color: #5F120D; }
.bant-nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--tamam); flex: none; margin-top: 7px; }
.rozet { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: .76rem; font-weight: 650; line-height: 1.6; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.rozet-notr { background: var(--hat-ince); color: var(--grafit); }
.rozet-tamam { background: var(--tamam-acik); color: var(--tamam); }
.rozet-uyari { background: var(--uyari-acik); color: var(--uyari); white-space: normal; }
.rozet-hata { background: var(--hata-acik); color: var(--hata); }
.rozet-varsayim { background: transparent; color: var(--vurgu-koyu); box-shadow: inset 0 0 0 1.5px var(--vurgu); }
.bos-durum { text-align: left; padding: 32px 24px; border: 1.5px dashed var(--hat); border-radius: var(--r); background: var(--kagit); }
.bos-durum p { color: var(--soluk); }
.yukleniyor { display: flex; align-items: center; gap: 12px; color: var(--soluk); padding: 24px 0; min-height: 72px; }
.cark { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--hat); border-top-color: var(--vurgu); animation: don .8s linear infinite; flex: none; }
@keyframes don { to { transform: rotate(360deg); } }
.ayrac { display: inline-block; width: 1px; height: 14px; background: var(--hat); margin: 0 10px; vertical-align: middle; }

/* ---------------------------------------------------------------- giriş
   Kesit akış düzeninde çizilir (mutlak konum yok); ölçüler değişkenlerle küçülür → telefonda form ilk ekrana sığar. */
.giris-sayfa { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 62vh; }
.giris-kart { max-width: 440px; width: 100%; justify-self: end; display: flex; flex-direction: column; gap: 14px; }
.giris-kart h1 { margin: 0; }
.giris-kart > .soluk { margin: 0; }
.giris-gecis { margin: 4px 0 0; font-size: .95rem; }
.giris-kesit {
  --kolon-h: clamp(40px, 13vh, 120px); --kolon-w: 26px; --plak-h: clamp(20px, 5.3vh, 48px); --plak-k: 3px; --cizgi-ara: 11px; --olcu-ara: 14px;
  width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 22px; min-width: 0;
}
.kesit-cizim { display: flex; flex-direction: column; }
.kesit-kolonlar { display: flex; justify-content: space-between; height: var(--kolon-h); padding: 0 8%; }
.kesit-kolonlar span { width: var(--kolon-w); background: var(--antrasit); }
.kesit-plak { height: var(--plak-h); border: var(--plak-k) solid var(--antrasit); background: var(--tarama), var(--kagit); }
.kesit-cizgi { position: relative; height: 4px; margin-top: var(--cizgi-ara); background: var(--vurgu); }
.kesit-cizgi::after { content: ''; position: absolute; inset: -1px 0; background: #FFB48C; opacity: 0; }
.kesit-olcu { position: relative; height: 18px; margin-top: var(--olcu-ara); border-left: 1.5px solid var(--soluk); border-right: 1.5px solid var(--soluk); }
.kesit-olcu::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--soluk); }
.kesit-olcu span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--beton); padding: 0 8px; font-size: .8rem; line-height: 1; color: var(--soluk); font-stretch: 85%; white-space: nowrap; }
.kesit-yazi { margin: 0; font-weight: 800; font-stretch: 70%; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.01em; }
@media (max-width: 799px) {
  .giris-sayfa { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .giris-kesit {
    --kolon-h: clamp(22px, 5vh, 44px); --kolon-w: 14px; --plak-h: clamp(16px, 3vh, 26px); --plak-k: 2.5px; --cizgi-ara: 6px; --olcu-ara: 8px;
    max-width: none; gap: 10px;
  }
  .kesit-cizgi { height: 3px; }
  .kesit-olcu { height: 12px; }
  .kesit-olcu span { font-size: .72rem; }
  .kesit-yazi { font-size: 1.15rem; }
  .giris-kart { justify-self: stretch; max-width: none; padding: 18px; gap: 12px; }
  .giris-kart > .soluk { font-size: .9rem; line-height: 1.45; }
}
/* Kısa ekranlar (iPhone SE/8, Safari araç çubuğu açıkken): kesit en aza iner, slogan gizlenir. */
@media (max-width: 799px) and (max-height: 750px) {
  .giris-kesit { --kolon-h: 18px; --kolon-w: 12px; --plak-h: 14px; --plak-k: 2px; --cizgi-ara: 5px; --olcu-ara: 6px; }
  .kesit-yazi { display: none; }
  .giris-sayfa { gap: 12px; }
  .giris-kart { gap: 10px; }
  .giris-kart h1 { font-size: 1.5rem; }
}
@media (max-width: 639px) and (max-height: 750px) { .ana:has(> .giris-sayfa) { padding-top: 14px; } }
@media (max-width: 799px) and (max-height: 620px) { .kesit-olcu { display: none; } }

/* Açılış: kolonlar sırayla plakanın üstüne oturur, turuncu temel çizgisi soldan çizilir (~0,8 sn, tek sefer).
   Dinlenme: temel çizgisi 12 sn'de bir yavaşça hafifçe aydınlanır. Yalnız transform/opacity → yerleşim kayması yok. */
.kesit-canli .kesit-plak { animation: solarak-gir .32s ease-out both; }
.kesit-canli .kesit-kolonlar span { animation: kolon-otur .5s cubic-bezier(.22, .8, .3, 1) both; animation-delay: .1s; }
.kesit-canli .kesit-kolonlar span:nth-child(2) { animation-delay: .18s; }
.kesit-canli .kesit-kolonlar span:nth-child(3) { animation-delay: .26s; }
.kesit-canli .kesit-kolonlar span:nth-child(4) { animation-delay: .34s; }
.kesit-canli .kesit-cizgi { transform-origin: left center; animation: cizgi-ciz .55s cubic-bezier(.3, .7, .2, 1) .25s both; }
.kesit-canli .kesit-olcu, .kesit-canli .kesit-yazi { animation: solarak-gir .4s ease-out .45s both; }
.kesit-cizgi::after { animation: cizgi-nefes 12s ease-in-out 3s infinite; }
@keyframes solarak-gir { from { opacity: 0; } }
@keyframes kolon-otur { from { opacity: 0; transform: translateY(-14px); } }
@keyframes cizgi-ciz { from { transform: scaleX(0); } }
@keyframes cizgi-nefes { 0%, 78%, 100% { opacity: 0; } 89% { opacity: .5; } }

/* Üst çubuk logosu: aynı açılış dili, daha kısa; dinlenmede hareket yok (her ekranda göz önünde). */
.logo-canli .logo-plak { animation: solarak-gir .3s ease-out both; }
.logo-canli .logo-kolon { transform-box: fill-box; animation: kolon-otur .46s cubic-bezier(.22, .8, .3, 1) .1s both; }
.logo-canli .logo-kolon + .logo-kolon { animation-delay: .22s; }
.logo-canli .logo-cizgi { transform-box: fill-box; transform-origin: left center; animation: cizgi-ciz .5s cubic-bezier(.3, .7, .2, 1) .3s both; }

/* ---------------------------------------------------------------- projeler */
.proje-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--antrasit); }
.proje-satir { display: grid; grid-template-columns: minmax(0, 1fr) 140px 200px; gap: 16px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--hat); text-decoration: none; }
.proje-satir:hover { background: var(--kagit); }
.proje-ad { font-weight: 700; font-size: 1.08rem; min-width: 0; }
.proje-ad small, .proje-tutar small { display: block; font-weight: 400; font-size: .84rem; color: var(--soluk); }
.proje-alan { text-align: right; color: var(--soluk); }
.proje-tutar { text-align: right; font-weight: 750; font-stretch: 85%; font-size: 1.12rem; }
@media (max-width: 639px) {
  .proje-satir { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'ad ad' 'alan tutar'; gap: 4px 12px; }
  .proje-ad { grid-area: ad; } .proje-alan { grid-area: alan; text-align: left; align-self: end; } .proje-tutar { grid-area: tutar; }
}

/* ---------------------------------------------------------------- proje ekranı */
.proje-ust { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.proje-ust-sol { min-width: 0; flex: 1 1 320px; }
.proje-ust h1 { margin: 6px 0 4px; }
.proje-ust-meta { margin: 0; color: var(--soluk); display: flex; align-items: center; flex-wrap: wrap; }
.geri-bag { display: inline-flex; align-items: center; gap: 4px; color: var(--soluk); text-decoration: none; font-size: .9rem; }
.geri-bag:hover { color: var(--grafit); }
.proje-ust-toplam { text-align: right; min-width: 220px; }
.proje-ust-toplam small { display: block; color: var(--soluk); font-size: .84rem; }
.proje-ust-toplam .sayi { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; font-stretch: 72%; line-height: 1.1; display: block; }
@media (max-width: 639px) { .proje-ust-toplam { text-align: left; min-width: 0; } }

.sekmeler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 2px solid var(--antrasit); margin-bottom: 22px; }
.sekmeler a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 6px; text-align: center; text-decoration: none; font-weight: 650; color: var(--soluk); border-bottom: 4px solid transparent; margin-bottom: -2px; }
.sekmeler a:hover { color: var(--grafit); background: var(--kagit); }
.sekmeler a.etkin { color: var(--grafit); border-bottom-color: var(--vurgu); }
@media (max-width: 419px) { .sekmeler { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- antet (teknik çizim başlık bloğu) */
.antet {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px; background: var(--antrasit); border: 2px solid var(--antrasit); padding-top: 10px; margin: 0 0 22px;
}
.antet::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--tarama), var(--kagit); border-bottom: 1px solid var(--antrasit); }
.antet-hucre { background: var(--kagit); padding: 10px 14px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.antet-hucre small { font-size: .78rem; color: var(--soluk); }
.antet-hucre > span { font-weight: 650; }
.antet-hucre.genis { grid-column: span 2; }
.antet-hucre.buyuk > span { font-size: 1.45rem; font-weight: 800; font-stretch: 75%; }
.antet-hucre.vurgulu { background: var(--antrasit); color: #fff; }
.antet-hucre.vurgulu small { color: #C9CBC6; }
.antet-hucre.vurgulu > span { font-size: 1.45rem; font-weight: 800; font-stretch: 75%; color: #fff; box-shadow: inset 0 -3px 0 var(--vurgu); align-self: flex-start; }
.antet-not { grid-column: 1 / -1; background: var(--kagit); margin: 0; padding: 8px 14px; font-size: .8rem; color: var(--soluk); max-width: none; }
@media (max-width: 479px) { .antet-hucre.genis { grid-column: auto; } }

/* ---------------------------------------------------------------- ortalama
   Masaüstü: solda girdiler + grup listesi, sağda yapışkan sonuç kartı. Telefon: girdiler → sonuç → liste. */
.ortalama { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 960px) {
  .ortalama { grid-template-columns: minmax(0, 1fr) minmax(340px, 380px); grid-template-areas: 'girdi sonuc' 'liste sonuc'; grid-template-rows: auto 1fr; gap: 18px 28px; align-items: start; }
  .ortalama-girdi { grid-area: girdi; }
  .ortalama-liste { grid-area: liste; }
  .ortalama-sonuc { grid-area: sonuc; position: sticky; top: 16px; }
}
.ortalama-liste { min-width: 0; scroll-margin-top: 16px; }
.grup-liste-baslik { font-size: 1.05rem; margin: 4px 0 10px; }
.grup-liste-baslik:focus { outline: none; }
.grup-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; scroll-margin-top: 16px; }
.grup-kart {
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: 'isaret kod fiyat' 'ornek ornek ornek';
  gap: 6px 10px; align-items: center; align-content: start; padding: 12px 14px; min-height: 96px; min-width: 0;
  background: var(--kagit); border: 1.5px solid var(--hat-ince); border-radius: var(--r-kucuk); cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.grup-kart:hover { border-color: var(--antrasit); }
.grup-radyo { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.grup-isaret {
  grid-area: isaret; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--hat); background: var(--beyaz);
  display: grid; place-items: center; color: transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.grup-isaret .ikon { stroke-width: 2.6; }
.grup-kart:hover .grup-isaret { border-color: var(--antrasit); }
.grup-kart.secili { background: var(--beyaz); border-color: var(--vurgu); box-shadow: inset 0 0 0 1px var(--vurgu), 0 8px 20px -14px rgba(185, 68, 15, .6); }
.grup-kart.secili .grup-isaret { background: var(--vurgu); border-color: var(--vurgu); color: #fff; }
.grup-radyo:focus-visible + .grup-isaret { outline: 3px solid var(--vurgu); outline-offset: 2px; }
.grup-kart:has(.grup-radyo:focus-visible) { border-color: var(--antrasit); }
.grup-kod { grid-area: kod; font-weight: 800; font-stretch: 75%; font-size: 1.15rem; line-height: 1.2; }
.grup-fiyat { grid-area: fiyat; justify-self: end; font-weight: 650; white-space: nowrap; }
.grup-ornek { grid-area: ornek; align-self: start; font-size: .84rem; color: var(--soluk); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grup-bos { margin: 8px 0 0; }

/* sonuç kartı: iki katman aynı ızgara hücresinde → yükseklik her durumda aynı (CLS 0) */
.ortalama-sonuc { min-width: 0; background: var(--kagit); border: 1.5px solid var(--antrasit); border-radius: var(--r); box-shadow: var(--golge); overflow: hidden; }
.os-ust { display: flex; align-items: center; gap: 10px; padding: 11px 18px 12px; border-bottom: 1px solid var(--hat-ince); font-size: .86rem; }
.os-plak { position: relative; flex: none; width: 22px; height: 8px; margin-bottom: 3px; border: 1.5px solid var(--antrasit); background: repeating-linear-gradient(-45deg, var(--antrasit) 0 1px, transparent 1px 3.5px); }
.os-plak::after { content: ''; position: absolute; left: -1.5px; right: -1.5px; bottom: -5.5px; height: 2px; background: var(--vurgu); }
.os-ust-ad { font-weight: 700; }
.os-ust-kaynak { margin-left: auto; color: var(--soluk); font-size: .8rem; white-space: nowrap; }
.os-govde { display: grid; }
.os-katman { grid-area: 1 / 1; min-width: 0; padding: 18px; transition: opacity .2s ease-out, visibility .2s; }
.ortalama-sonuc[data-durum='bos'] .os-dolu, .ortalama-sonuc[data-durum='dolu'] .os-bos { visibility: hidden; opacity: 0; }

.os-bos { display: flex; flex-direction: column; gap: 16px; }
.os-hayalet { margin: auto -18px -18px; padding: 4px 18px; border-top: 1.5px dashed var(--hat); background: var(--beton); color: var(--soluk); font-weight: 600; font-size: .92rem; }
.os-hayalet-satir { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.os-hayalet-satir + .os-hayalet-satir { border-top: 1px dashed var(--hat); }
.os-bos-bas { display: flex; align-items: flex-start; gap: 12px; }
.os-ikon { flex: none; width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--vurgu-acik); color: var(--vurgu-koyu); }
.os-baslik { font-size: 1.12rem; margin: 1px 0 3px; }
.os-aciklama { margin: 0; color: var(--soluk); font-size: .9rem; line-height: 1.4; }
.adimlar { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hat-ince); }
.adim { display: grid; grid-template-columns: 24px minmax(0, 1fr) 7.4em; gap: 10px; align-items: center; min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--hat-ince); font-size: .95rem; font-weight: 550; }
.adim-isaret { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--antrasit); display: grid; place-items: center; font-size: .78rem; font-weight: 750; line-height: 1; transition: background-color .2s, border-color .2s, color .2s; }
.adim-isaret .ikon { display: none; stroke-width: 2.6; }
.adim.tamam .adim-isaret { background: var(--tamam); border-color: var(--tamam); color: #fff; }
.adim.tamam .adim-no { display: none; }
.adim.tamam .adim-isaret .ikon { display: block; }
.adim.tamam .adim-metin { color: var(--soluk); font-weight: 450; }
.adim-durum { font-size: .86rem; color: var(--soluk); white-space: nowrap; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.adim.tamam .adim-durum { color: var(--tamam); font-weight: 700; }
@media (max-width: 399px) {
  .adim { grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: 'isaret metin' 'isaret durum'; gap: 0 10px; }
  .adim-isaret { grid-area: isaret; } .adim-metin { grid-area: metin; } .adim-durum { grid-area: durum; text-align: left; }
}
.os-eylem { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }

.os-dolu { display: flex; flex-direction: column; }
.os-grup { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.os-kod { flex: none; min-width: 3.4em; text-align: center; padding: 1px 8px 2px; border-radius: var(--r-kucuk); background: var(--antrasit); color: #fff; font-weight: 800; font-stretch: 75%; font-size: 1.02rem; line-height: 1.4; }
.os-ornek { min-width: 0; height: calc(2.7em + 2px); font-size: .9rem; line-height: 1.35; padding-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.os-carpim { margin: 8px 0 0; color: var(--soluk); font-size: .9rem; min-height: 1.5em; }
.os-ana { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hat-ince); }
.os-etiket { font-size: .86rem; color: var(--soluk); }
.os-tutar { font-weight: 800; font-stretch: 72%; font-size: clamp(1.9rem, 1.55rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }
.os-satirlar { margin: 14px 0 0; }
.os-satir { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hat-ince); }
.os-satir dt { color: var(--soluk); font-size: .92rem; }
.os-satir dt { flex: none; }
.os-satir dd { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 650; text-align: right; }
.os-dahil { margin: 0 -18px; padding: 12px 18px 13px; background: var(--antrasit); border-top: 0; }
.os-dahil dt { color: #D7D9D4; font-weight: 600; }
.os-dahil dd { color: #fff; font-size: 1.22rem; font-weight: 800; font-stretch: 78%; text-decoration: underline 3px var(--vurgu); text-underline-offset: 6px; text-decoration-skip-ink: none; }
.os-not { margin: 12px 0 0; font-size: .78rem; line-height: 1.45; color: var(--soluk); max-width: none; }

/* ---------------------------------------------------------------- keşif */
.ayar-satiri { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; padding: 16px; background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r); }
.tablo-kap { width: 100%; }
.kesif-tablo { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--beyaz); border: 1px solid var(--hat); }
.kesif-tablo col.c-poz { width: 112px; } .kesif-tablo col.c-birim { width: 64px; } .kesif-tablo col.c-miktar { width: 112px; }
.kesif-tablo col.c-fiyat { width: 136px; } .kesif-tablo col.c-tutar { width: 146px; } .kesif-tablo col.c-islem { width: 88px; }
.kesif-tablo th, .kesif-tablo td { padding: 10px; border-bottom: 1px solid var(--hat-ince); vertical-align: top; text-align: left; }
.kesif-tablo thead th { background: var(--antrasit); color: #fff; font-weight: 650; font-size: .86rem; position: sticky; top: 0; }
.kesif-tablo .sag { text-align: right; }
.kesif-tablo td small { display: block; color: var(--soluk); font-size: .78rem; }
.kesif-tablo small.onceki { color: var(--uyari); }
.grup-satiri th { background: var(--hat-ince); font-stretch: 85%; font-weight: 750; }
.grup-satiri th { display: table-cell; }
.grup-satiri th > span:last-child { float: right; }
.poz-hucre { font-variant-numeric: tabular-nums; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tanim-metin { font-weight: 550; }
.aciklama { margin-top: 2px; }
.rozetler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.satir-uyari { display: flex; gap: 5px; align-items: flex-start; color: var(--uyari); font-size: .82rem; margin-top: 6px; font-weight: 600; }
.satir-uyari .ikon { flex: none; margin-top: 2px; }
tr.uyarili td { background: #FFFBF1; }
.tutar-hucre { font-weight: 700; }
.islem-hucre { text-align: right; white-space: nowrap; }
.kesif-tablo tfoot th, .kesif-tablo tfoot td { background: var(--kagit); font-weight: 650; text-align: right; }
.kesif-tablo tfoot tr.kdv-dahil th, .kesif-tablo tfoot tr.kdv-dahil td { background: var(--antrasit); color: #fff; font-size: 1.05rem; }

/* mobil: tablo → kart listesi (yatay kaydırma yok) */
@media (max-width: 859px) {
  .kesif-tablo, .kesif-tablo tbody, .kesif-tablo tfoot, .kesif-tablo tr, .kesif-tablo td, .kesif-tablo th { display: block; width: 100%; }
  .kesif-tablo { border: 0; background: none; }
  .kesif-tablo colgroup, .kesif-tablo thead { display: none; }
  .kesif-tablo tbody { margin-bottom: 14px; }
  .grup-satiri th { display: flex; justify-content: space-between; gap: 8px; border: 0; border-radius: var(--r-kucuk) var(--r-kucuk) 0 0; background: var(--antrasit); color: #fff; }
  .grup-satiri th > span:last-child { float: none; }
  .kesif-tablo tbody tr:not(.grup-satiri) { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px; background: var(--beyaz); border: 1px solid var(--hat-ince); border-top: 0; }
  .kesif-tablo tbody td { border: 0; padding: 0; text-align: left; }
  .kesif-tablo tbody td::before { content: attr(data-etiket); display: block; font-size: .74rem; color: var(--soluk); font-weight: 600; }
  .kesif-tablo td.tanim-hucre { grid-column: 1 / -1; order: -1; }
  .kesif-tablo td.tanim-hucre::before { display: none; }
  .kesif-tablo td.poz-hucre { order: -2; grid-column: 1 / -1; white-space: normal; color: var(--soluk); }
  .kesif-tablo td.poz-hucre::before { display: inline; margin-right: 6px; }
  .kesif-tablo td.sag { text-align: left; }
  .kesif-tablo td.islem-hucre { grid-column: 1 / -1; text-align: right; border-top: 1px solid var(--hat-ince); padding-top: 6px; }
  .kesif-tablo td.islem-hucre::before, .kesif-tablo td:empty::before { display: none; }
  .kesif-tablo tfoot tr { display: flex; justify-content: space-between; gap: 12px; }
  .kesif-tablo tfoot th, .kesif-tablo tfoot td { width: auto; border: 0; }
  .kesif-tablo tfoot td:empty { display: none; }
}

/* poz arama */
.poz-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hat-ince); }
.poz-secenek { display: grid; grid-template-columns: 110px minmax(0, 1fr); grid-template-areas: 'no tanim' 'no fiyat'; gap: 2px 12px; width: 100%; text-align: left; padding: 10px 6px; background: none; border: 0; border-bottom: 1px solid var(--hat-ince); font: inherit; color: inherit; cursor: pointer; }
.poz-secenek:hover, .poz-secenek:focus-visible { background: var(--kagit); }
.poz-no { grid-area: no; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .92rem; }
.poz-tanim { grid-area: tanim; font-size: .92rem; }
.poz-fiyat { grid-area: fiyat; color: var(--soluk); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.poz-sonuc { min-height: 120px; }
@media (max-width: 479px) { .poz-secenek { grid-template-columns: 1fr; grid-template-areas: 'no' 'tanim' 'fiyat'; } }

/* sihirbaz */
.katsayilar { border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); background: var(--kagit); }
.katsayilar summary { padding: 12px 14px; cursor: pointer; font-weight: 650; }
.katsayi-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; padding: 4px 14px 14px; }
.katsayi label { font-weight: 550; font-size: .86rem; }
.onizleme-ozet { font-weight: 650; }
.onizleme-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--antrasit); }
.onizleme-liste li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 130px; gap: 4px 14px; padding: 8px 2px; border-bottom: 1px solid var(--hat-ince); font-size: .9rem; }
.o-tanim small { display: block; color: var(--soluk); font-size: .78rem; }
.o-formul { color: var(--soluk); font-size: .84rem; }
.o-miktar { text-align: right; font-weight: 650; }
@media (max-width: 639px) { .onizleme-liste li { grid-template-columns: minmax(0, 1fr) auto; } .o-formul { grid-column: 1 / -1; grid-row: 2; } }

/* proje yükle */
.bilgi-kutusu { background: var(--kagit); border: 1px solid var(--hat-ince); border-left: 4px solid var(--antrasit); border-radius: var(--r-kucuk); padding: 14px 18px; margin-bottom: 16px; }
.bilgi-kutusu ul { margin: 6px 0 10px; padding-left: 20px; }
.bilgi-kutusu li { margin: 3px 0; max-width: 72ch; }
.birakma-alani { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 20px; text-align: center; border: 2px dashed var(--hat); border-radius: var(--r); background: var(--beyaz); cursor: pointer; color: var(--soluk); }
.birakma-alani strong { color: var(--grafit); font-size: 1.05rem; }
.birakma-alani:hover, .birakma-alani.uzerinde, .gorunmez-girdi:focus-visible + .birakma-alani { border-color: var(--vurgu); background: var(--vurgu-acik); }
.yukle-sonuc { margin-top: 18px; }
.esleme-satiri { border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); background: var(--beyaz); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.esleme-bas { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.esleme-miktar { font-weight: 750; font-stretch: 85%; font-size: 1.05rem; }
.esleme-alanlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.esleme-poz { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.poz-sec { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 26px; }
.poz-secili { font-size: .84rem; color: var(--soluk); }
@media (max-width: 559px) { .esleme-poz { grid-template-columns: 1fr; } .poz-sec { padding-bottom: 0; } }
.krediler { margin-top: 28px; border-top: 1px solid var(--hat); padding-top: 10px; }

/* özet */
.ozet-tablo { width: 100%; border-collapse: collapse; margin: 0 0 22px; background: var(--beyaz); table-layout: fixed; }
.ozet-tablo caption { text-align: left; font-weight: 750; font-stretch: 80%; font-size: 1.15rem; padding: 0 0 8px; }
.ozet-tablo th, .ozet-tablo td { padding: 8px 10px; border-bottom: 1px solid var(--hat-ince); text-align: left; vertical-align: top; }
.ozet-tablo thead th { border-bottom: 2px solid var(--antrasit); font-size: .86rem; }
.ozet-tablo .sag { text-align: right; }
.ozet-tablo tfoot th, .ozet-tablo tfoot td { font-weight: 750; border-top: 2px solid var(--antrasit); }
.cetvel th:nth-child(1) { width: 52px; } .cetvel th:nth-child(2) { width: 110px; } .cetvel th:nth-child(4) { width: 64px; }
.cetvel th:nth-child(5) { width: 104px; } .cetvel th:nth-child(6) { width: 150px; } .cetvel th:nth-child(7) { width: 140px; }
@media (max-width: 859px) {
  .cetvel, .cetvel tbody, .cetvel tr, .cetvel td { display: block; width: 100%; }
  .cetvel thead { display: none; }
  .cetvel caption { display: block; width: 100%; text-align: left; }
  .cetvel tfoot { display: block; width: 100%; }
  .cetvel tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px; width: 100%; }
  .cetvel tfoot th, .cetvel tfoot td { display: block; width: auto; padding: 0; border: 0; }
  .cetvel tfoot td:empty { display: none; }
  .cetvel tfoot th:nth-child(n) { width: auto; flex: 1 1 auto; min-width: 0; text-align: left; }
  .cetvel tfoot td:nth-child(n) { flex: none; }
  .cetvel tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 10px; border: 1px solid var(--hat-ince); margin-bottom: 8px; }
  .cetvel td { border: 0; padding: 0; }
  .cetvel td::before { content: attr(data-etiket); display: block; font-size: .74rem; color: var(--soluk); font-weight: 600; }
  .cetvel td:nth-child(3) { grid-column: 1 / -1; }
  .cetvel td.sag { text-align: left; }
}
.ozet-notlar { font-size: .88rem; color: var(--soluk); padding-left: 20px; }
.ozet-notlar li { margin: 3px 0; max-width: 90ch; }
.yazdirma-baslik, .yazdirma-alt { display: none; }

/* fiyatlarım */
.fiyat-liste { list-style: none; padding: 0; margin: 22px 0 0; border-top: 2px solid var(--antrasit); }
.fiyat-satir { display: grid; grid-template-columns: 150px minmax(0, 1fr) 220px 40px; gap: 12px; align-items: start; padding: 12px 4px; border-bottom: 1px solid var(--hat-ince); }
.fiyat-poz { font-weight: 700; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.fiyat-tanim small, .fiyat-deger small { display: block; color: var(--soluk); font-size: .8rem; }
.fiyat-deger { text-align: right; font-weight: 650; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 719px) {
  .fiyat-satir { grid-template-columns: minmax(0, 1fr) 40px; }
  .fiyat-poz { grid-column: 1; } .fiyat-tanim { grid-column: 1; } .fiyat-deger { grid-column: 1; text-align: left; align-items: flex-start; }
  .fiyat-satir .ikon-dugme { grid-column: 2; grid-row: 1; }
}

/* yönetim */
.donem-liste { list-style: none; padding: 0; margin: 0; }
.donem-liste li { padding: 10px 0; border-bottom: 1px solid var(--hat-ince); }
.kaynak-url { display: block; font-size: .78rem; color: var(--soluk); overflow-wrap: anywhere; }
.rapor-liste { display: flex; flex-direction: column; gap: 8px; }
.rapor { background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); padding: 0 14px; }
.rapor summary { padding: 12px 0; cursor: pointer; }
.rapor > p { margin: 0 0 10px; }
.kontrol-liste, .karantina-liste { padding-left: 18px; font-size: .9rem; }
.kontrol-liste li, .karantina-liste li { margin: 4px 0; }
.yedek-yol { margin-top: 28px; border-top: 1px solid var(--hat); padding-top: 12px; }
.yedek-yol summary { cursor: pointer; font-weight: 650; padding: 6px 0; }
.yedek-yol > * + * { margin-top: 12px; }

/* ---------------------------------------------------------------- modal */
.modal { width: min(560px, calc(100% - 24px)); max-height: min(90dvh, 900px); padding: 0; border: 0; border-radius: var(--r); background: var(--beton); color: var(--grafit); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; }
.modal-genis { width: min(900px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(29, 33, 36, .55); }
.modal-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--antrasit); color: #fff; border-bottom: 3px solid var(--vurgu); flex: none; }
.modal-ust h2 { margin: 0; font-size: 1.15rem; }
.modal-ust .ikon-dugme { color: #DADBD6; }
.modal-ust .ikon-dugme:hover { background: rgba(255,255,255,.1); color: #fff; }
.modal-govde { padding: 18px 20px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1 1 auto; }
.modal-alt { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--hat); background: var(--kagit); flex: none; }
@media (max-width: 479px) { .modal-govde { padding: 14px; } .modal-alt { padding: 10px 14px; } .modal-alt .dugme { flex: 1 1 auto; } }

/* ---------------------------------------------------------------- bildirim ve yükleme istemi (sabit konum → akışı kaydırmaz) */
.bildirimler { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px)); z-index: 40; display: flex; flex-direction: column; gap: 8px; width: min(380px, calc(100% - 32px)); pointer-events: none; }
.bildirim { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-kucuk); background: var(--antrasit); color: #fff; box-shadow: var(--golge); font-size: .93rem; pointer-events: auto; animation: bildirim-gir .2s ease-out; border-left: 4px solid var(--tamam); }
.bildirim .ikon { flex: none; margin-top: 2px; }
.bildirim-uyari { border-left-color: #E7A62B; } .bildirim-hata { border-left-color: #F0634F; } .bildirim-bilgi { border-left-color: var(--hat); }
.bildirim.gidiyor { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
@keyframes bildirim-gir { from { opacity: 0; transform: translateY(8px); } }
.yukleme-istemi { position: fixed; left: 50%; bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px)); z-index: 45; width: min(560px, calc(100% - 24px)); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 12px 14px; background: var(--antrasit); color: #fff; border-radius: var(--r); box-shadow: 0 18px 50px -14px rgba(0,0,0,.55); border-top: 3px solid var(--vurgu); }
.yukleme-istemi.gorunur { transform: translate(-50%, 0); }
.istem-logo { color: #E9E9E4; }
.istem-metin strong { display: block; } .istem-metin span { font-size: .88rem; color: #CFD1CB; }
.istem-dugmeler { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.istem-dugmeler .dugme-ikincil { color: #fff; border-color: #6A7075; }
.istem-dugmeler .dugme-ikincil:hover { background: rgba(255,255,255,.08); }

/* ---------------------------------------------------------------- alt bilgi + marka imzası */
.alt { background: var(--antrasit); color: #BFC2BC; margin-top: auto; }
.alt-ic {
  max-width: 1180px; margin: 0 auto;
  padding: 22px max(20px, env(safe-area-inset-right, 0px)) max(22px, calc(env(safe-area-inset-bottom, 0px) + 14px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.alt-not { margin: 0; font-size: .84rem; max-width: 60ch; }
.imza {
  --imza-renk: #F3F3EF;
  display: inline-flex; align-items: center; gap: 12px; width: 212px; height: 48px; flex: none; overflow: hidden;
  text-decoration: none; color: var(--imza-renk); contain: layout paint;
}
.imza-ikon {
  width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(150deg, #15181B, #0E1012); border: 1px solid #3A3F44;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 14px -6px rgba(0,0,0,.6);
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.imza-kod { font: 800 14px/1 'Unbounded', var(--yazi); color: var(--vurgu); letter-spacing: -.04em; }
.imza-metin { display: flex; flex-direction: column; justify-content: center; height: 44px; min-width: 0; }
.imza-ust { font: 500 9.5px/1 'Unbounded', var(--yazi); letter-spacing: .14em; color: #9EA29C; height: 12px; }
.imza-ad { font: 800 21px/1 'Unbounded', var(--yazi); letter-spacing: -.01em; display: flex; align-items: center; height: 26px; white-space: nowrap; }
.imza-ad > span:not(.imza-imlec) { display: inline-block; animation: harf-gir .5s cubic-bezier(.2, .8, .2, 1) both; }
.imza-ad > span:nth-child(1) { animation-delay: .10s; } .imza-ad > span:nth-child(2) { animation-delay: .16s; }
.imza-ad > span:nth-child(3) { animation-delay: .22s; } .imza-ad > span:nth-child(4) { animation-delay: .28s; }
.imza-ad > span:nth-child(5) { animation-delay: .34s; } .imza-ad > span:nth-child(6) { animation-delay: .40s; }
.imza-ad > span:nth-child(7) { animation-delay: .46s; }
.imza-imlec { width: 3px; height: 20px; margin-left: 3px; background: var(--vurgu); animation: imlec 1.05s steps(1) infinite; }
.imza:hover .imza-ikon, .imza:focus-visible .imza-ikon { border-color: var(--vurgu); box-shadow: 0 0 0 1px rgba(226, 87, 27, .5), 0 0 22px 2px rgba(226, 87, 27, .45); transform: translateY(-1px); }
@keyframes harf-gir { from { opacity: 0; transform: translateY(9px); } }
@keyframes imlec { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- rehber: "Nasıl kullanılır?"
   Tetik: her bölüm başlığının sağında aynı hap düğme. Pencere: masaüstünde ortada bir "pafta" (solda çizim, sağda metin),
   telefonda alttan açılan sayfa. Adım göstergesi marka motifinin kendisi: her adım bir radye plakası, geçilen adımlarda
   kolonlar plakaya oturur, bulunulan adımın altında turuncu temel çizgisi. Tüm adımlar aynı ızgara hücresinde → kayma yok. */
.rehber-dugme {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 13px 4px 5px; flex: none;
  background: transparent; color: var(--grafit); border: 1.5px solid var(--hat); border-radius: 999px;
  font: 600 .9rem/1.1 var(--yazi); cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s;
}
.rehber-soru {
  width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--antrasit); color: #fff; font-weight: 800; font-stretch: 85%; font-size: .92rem; line-height: 1; transition: background-color .15s;
}
.rehber-dugme:hover { border-color: var(--antrasit); background: var(--kagit); }
.rehber-dugme:hover .rehber-soru, .rehber-dugme:focus-visible .rehber-soru { background: var(--vurgu); }
.rehber-dugme:focus-visible { outline-offset: 2px; border-radius: 999px; }
.sayfa-baslik-eylem { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 359px) {
  .sayfa-baslik-eylem .rehber-dugme { width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .sayfa-baslik-eylem .rehber-dugme-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* proje sekmeleri: düğme şeridin sağ ucunda */
.sekme-cubugu { display: flex; align-items: stretch; gap: 10px; border-bottom: 2px solid var(--antrasit); margin-bottom: 22px; }
.sekme-cubugu .sekmeler { flex: 1 1 auto; min-width: 0; border-bottom: 0; margin-bottom: 0; }
.sekme-cubugu .rehber-dugme { align-self: center; }
@media (max-width: 759px) {
  .sekme-cubugu { gap: 2px; }
  .sekme-cubugu .rehber-dugme { width: 44px; min-height: 44px; padding: 0; justify-content: center; border-color: transparent; }
  .sekme-cubugu .rehber-dugme-metin, .rehber-dugme-koyu .rehber-dugme-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* koyu pencere başlığında (sihirbaz) */
.rehber-dugme-koyu { margin-left: auto; min-height: 32px; color: #DADBD6; border-color: rgba(255, 255, 255, .24); }
.rehber-dugme-koyu .rehber-soru { width: 22px; height: 22px; background: #DADBD6; color: var(--antrasit); }
.rehber-dugme-koyu:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.rehber-dugme-koyu:hover .rehber-soru, .rehber-dugme-koyu:focus-visible .rehber-soru { color: #fff; }
@media (min-width: 760px) { .rehber-dugme-koyu .rehber-dugme-metin { position: static; width: auto; height: auto; clip: auto; } }
@media (max-width: 759px) { .rehber-dugme-koyu { width: 40px; min-height: 40px; padding: 0; justify-content: center; border-color: transparent; } }
.rehber-sifirla { margin: 28px 0 0; font-size: .86rem; color: var(--soluk); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rehber-sifirla .bag-dugme { color: var(--soluk); }
.rehber-sifirla .bag-dugme:hover { color: var(--grafit); }

/* pencere */
.rehber {
  width: min(900px, calc(100% - 40px)); max-width: none; max-height: min(calc(100dvh - 40px), 760px);
  padding: 0; border: 0; border-radius: 10px; background: var(--kagit); color: var(--grafit);
  box-shadow: 0 40px 100px -28px rgba(0, 0, 0, .6); overflow: hidden;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .24s ease-out;
}
.rehber[open] { display: flex; flex-direction: column; }
.rehber:focus { outline: none; }
.rehber.giris { opacity: 0; transform: translateY(14px) scale(.985); }
.rehber.kapaniyor { opacity: 0; transform: translateY(10px) scale(.985); transition-duration: .22s; }
.rehber::backdrop { background: rgba(29, 33, 36, .62); animation: rh-perde .3s ease-out; transition: opacity .22s; }
.rehber.kapaniyor::backdrop { opacity: 0; }
@keyframes rh-perde { from { opacity: 0; } }

.rh-ust { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: var(--antrasit); color: #fff; border-bottom: 3px solid var(--vurgu); flex: none; }
.rh-ust h2 { margin: 0; font-size: 1.12rem; flex: 1 1 auto; min-width: 0; }
.rh-ust-plak { position: relative; flex: none; width: 22px; height: 8px; margin-bottom: 3px; border: 1.5px solid #DADBD6; background: repeating-linear-gradient(-45deg, #DADBD6 0 1px, transparent 1px 3.5px); }
.rh-ust-plak::after { content: ''; position: absolute; left: -1.5px; right: -1.5px; bottom: -5.5px; height: 2px; background: var(--vurgu); }
.rh-ust .ikon-dugme { color: #DADBD6; }
.rh-ust .ikon-dugme:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.rh-tutamak { display: none; }

.rh-govde { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-content: start; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* çizim paftası: açık kâğıt + silik milimetrik ızgara + ince pafta çerçevesi; oran sabit → kayma yok */
.rh-sahne-kap {
  /* overflow: clip (hidden değil): kaydırma kabı olmadığından otomatik en az yükseklik korunur → pencere sığmasa da çizim ezilmez */
  position: relative; aspect-ratio: 16 / 10; overflow: clip; border-right: 1px solid var(--hat-ince);
  background-color: #FAFAF7;
  background-image:
    linear-gradient(rgba(38, 42, 46, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 42, 46, .075) 1px, transparent 1px),
    linear-gradient(rgba(38, 42, 46, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 42, 46, .035) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  background-position: 7px 7px;
}
.rh-sahne-kap::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(38, 42, 46, .3); pointer-events: none; }
.rh-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rh-sahne { position: absolute; inset: 0; padding: 16px; transition: opacity .28s ease-out, visibility .28s; }
.rh-sahne.pasif { opacity: 0; visibility: hidden; }
.rh-svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }

.rh-metin { display: grid; padding: 28px 28px 20px; align-content: start; min-width: 0; }
.rh-adim { grid-area: 1 / 1; min-width: 0; transition: opacity .28s ease-out, visibility .28s; }
.rh-adim.pasif { opacity: 0; visibility: hidden; }
.rh-sayac { margin: 0 0 10px; font-size: .84rem; font-weight: 650; font-stretch: 90%; color: var(--vurgu-koyu); }
.rh-adim-baslik { font-size: 1.42rem; margin: 0 0 10px; }
.rh-adim-metin { margin: 0; color: #3A3F44; font-size: 1rem; line-height: 1.58; }

.rh-alt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 18px; border-top: 1px solid var(--hat-ince); background: var(--beyaz); flex: none; }
.rh-plaklar { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.rh-plak { position: relative; display: block; width: 40px; height: 38px; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; }
@media (hover: hover) { .rh-plak:hover { background: var(--kagit); } }
.rh-p-kolonlar { position: absolute; left: 10px; right: 10px; top: 7px; height: 9px; display: flex; justify-content: space-between; }
.rh-p-kolonlar span { width: 4px; height: 9px; background: var(--antrasit); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.rh-p-plak { position: absolute; left: 5px; right: 5px; top: 16px; height: 9px; border: 1.5px solid var(--hat); transition: border-color .2s; }
.rh-p-plak::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--antrasit) 0 1px, transparent 1px 3.5px); opacity: 0; transition: opacity .25s; }
.rh-p-cizgi { position: absolute; left: 4px; right: 4px; top: 28px; height: 3px; background: var(--vurgu); transform: scaleX(0); transition: transform .32s cubic-bezier(.3, .7, .2, 1); }
.rh-plak[data-durum='gecti'] .rh-p-kolonlar span, .rh-plak[data-durum='simdi'] .rh-p-kolonlar span { transform: scaleY(1); }
.rh-plak[data-durum='simdi'] .rh-p-kolonlar span + span { transition-delay: .08s; }
.rh-plak[data-durum='gecti'] .rh-p-plak, .rh-plak[data-durum='simdi'] .rh-p-plak { border-color: var(--antrasit); }
.rh-plak[data-durum='gecti'] .rh-p-plak::before, .rh-plak[data-durum='simdi'] .rh-p-plak::before { opacity: 1; }
.rh-plak[data-durum='simdi'] .rh-p-cizgi { transform: scaleX(1); }
.rh-gezinme { display: flex; gap: 10px; }
.rh-gezinme .dugme { min-width: 112px; }

@media (max-width: 767px) {
  .rehber {
    width: 100%; max-width: 100%; max-height: 85dvh; margin: auto 0 0; border-radius: 16px 16px 0 0;
    transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .2s;
  }
  .rehber.giris, .rehber.kapaniyor { opacity: 1; transform: translateY(100%); }
  .rehber.surukleniyor { transition: none; }
  .rh-ust { padding: 20px max(8px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); touch-action: none; }
  .rh-ust h2 { font-size: 1.02rem; }
  .rh-tutamak { display: block; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255, 255, 255, .38); }
  .rh-govde { display: block; }
  .rh-sahne-kap { border-right: 0; border-bottom: 1px solid var(--hat-ince); touch-action: none; background-position: 4px 4px; }
  .rh-sahne-kap::after { inset: 5px; }
  .rh-sahne { padding: 9px; }
  .rh-metin { padding: 16px max(18px, env(safe-area-inset-right, 0px)) 10px max(18px, env(safe-area-inset-left, 0px)); }
  .rh-sayac { margin-bottom: 6px; }
  .rh-adim-baslik { font-size: 1.2rem; margin-bottom: 6px; }
  .rh-adim-metin { font-size: .95rem; line-height: 1.5; }
  .rh-alt {
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 6px max(14px, env(safe-area-inset-right, 0px)) max(12px, calc(env(safe-area-inset-bottom, 0px) + 8px)) max(14px, env(safe-area-inset-left, 0px));
  }
  .rh-plaklar { justify-content: center; }
  .rh-gezinme .dugme { flex: 1 1 0; min-width: 0; }
}

/* çizim hareketleri — yalnız transform / opacity / stroke-dashoffset. Taban (animasyonsuz) hâl = son kare. */
.rh-svg text { font-family: var(--yazi); font-stretch: 85%; }
.rh-svg .rh-sayi { font-variant-numeric: tabular-nums lining-nums; }
.rh-eylem { transition: opacity .38s ease-out; }
.rh-sahne.soluyor .rh-eylem { opacity: 0; }
.rh-svg .o-ciz, .rh-svg .d-ciz { stroke-dasharray: 1; }
.rh-svg .d-son, .rh-svg .d-yanip, .rh-svg .d-dalga, .rh-svg .d-red, .rh-svg .d-m2, .rh-svg .d-m3, .rh-svg .d-imlec-git, .rh-svg .d-nabiz, .rh-svg .d-tara { opacity: 0; }
.rh-svg .d-yaz { transform: scaleX(.001); } /* tam 0 değil: tersinmez dönüşümde Chrome eski kareyi silmeyebiliyor */
.rh-svg .d-uc { transform: translateX(calc(var(--adim) * 2)); }
.rh-svg .d-tara-y { transform: translate(-10px, 30px); }
.rh-svg .d-pop { transform-box: fill-box; transform-origin: center; }
.rh-svg .d-buyu { transform-box: fill-box; transform-origin: 0 50%; }

.oynuyor .o-ciz { animation: rh-ciz .9s cubic-bezier(.45, .05, .25, 1) both; }
.oynuyor .o-gir { animation: rh-gir .45s ease-out both; }
.dongu .d-gir { animation: rh-gir .45s ease-out both; }
.dongu .d-yuksel { animation: rh-yuksel .5s cubic-bezier(.2, .8, .2, 1) both; }
.dongu .d-dus { animation: rh-dus .6s cubic-bezier(.3, .9, .4, 1) both; }
.dongu .d-sol { animation: rh-sol .5s cubic-bezier(.2, .8, .2, 1) both; }
.dongu .d-sag { animation: rh-sag .5s cubic-bezier(.2, .8, .2, 1) both; }
.dongu .d-buyu { animation: rh-buyu .7s cubic-bezier(.3, .7, .2, 1) both; }
.dongu .d-yaz { animation: rh-yaz .6s both; }
.dongu .d-rulo { animation: rh-rulo 1.1s both; }
.dongu .d-kay { animation: rh-kay .6s cubic-bezier(.2, .8, .2, 1) both; }
.dongu .d-it { animation: rh-it .6s cubic-bezier(.3, .7, .2, 1) both; }
.dongu .d-son { animation: rh-son .3s ease-out both; }
.dongu .d-yanip { animation: rh-yanip 2s ease-in-out both; }
.dongu .d-pop { animation: rh-pop .4s cubic-bezier(.2, .8, .2, 1) both; }
.dongu .d-ciz { animation: rh-ciz .5s ease-out both; }
.dongu .d-dalga { animation: rh-dalga .65s ease-out both; }
.dongu .d-imlec { animation: rh-imlec 1.2s cubic-bezier(.4, 0, .2, 1) both; }
.dongu .d-imlec-git { animation: rh-imlec-git 1.6s cubic-bezier(.4, 0, .2, 1) both; }
.dongu .d-nabiz { animation: rh-nabiz 1.2s ease-out both; }
.dongu .d-don { animation: rh-don 1.2s both; }
.dongu .d-sekme { animation: rh-sekme 4.4s both; }
.dongu .d-uc { animation: rh-uc 5.4s both; }
.dongu .d-gecis { animation: rh-gecis 3.4s cubic-bezier(.45, 0, .25, 1) both; }
.dongu .d-red { animation: rh-red 2.6s both; }
.dongu .d-tara { animation: rh-tara 1.3s linear both; }
.dongu .d-tara-y { animation: rh-tara-y 1.5s ease-in-out both; }
.dongu .d-olcek { animation: rh-olcek 6.4s both; }
.dongu .d-m1 { animation: rh-m1 6.4s both; }
.dongu .d-m2 { animation: rh-m2 6.4s both; }
.dongu .d-m3 { animation: rh-m3 6.4s both; }
.rh-svg .d-kaycik { opacity: 0; }
.dongu .d-kaycik { animation: rh-kaycik .45s cubic-bezier(.4, 0, .6, 1) both; }
.rh-svg .d-salla { transform-box: fill-box; transform-origin: 50% 0; }
.dongu .d-salla { animation: rh-salla .9s ease-in-out both; }
@keyframes rh-kaycik { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(60px); } }
@keyframes rh-salla { 15% { transform: rotate(16deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } 75% { transform: none; } }
@keyframes rh-ciz { from { stroke-dashoffset: 1; } }
@keyframes rh-gir { from { opacity: 0; transform: translateY(3px); } }
@keyframes rh-yuksel { from { opacity: 0; transform: translateY(10px); } }
@keyframes rh-dus { 0% { opacity: 0; transform: translateY(-22px); } 60% { opacity: 1; transform: translateY(1.5px); } 100% { transform: none; } }
@keyframes rh-sol { from { opacity: 0; transform: translateX(-14px); } }
@keyframes rh-sag { from { opacity: 0; transform: translateX(14px); } }
@keyframes rh-buyu { from { transform: scaleX(0); } }
@keyframes rh-yaz { from { transform: scaleX(1); } to { transform: scaleX(.001); } }
@keyframes rh-rulo { 0% { opacity: 0; transform: translateY(var(--yol)); } 14% { opacity: 1; } 100% { transform: none; } }
@keyframes rh-kay { 0% { opacity: 0; transform: translate(var(--x, 0px), var(--y, 0px)); } 35% { opacity: 1; } 100% { transform: none; } }
@keyframes rh-it { from { transform: translate(var(--x, 0px), var(--y, 0px)); } }
@keyframes rh-son { from { opacity: 1; } to { opacity: 0; } }
@keyframes rh-yanip { 0% { opacity: 0; } 14%, 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rh-pop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes rh-dalga { 0% { opacity: .9; transform: scale(.25); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rh-imlec { 0% { opacity: 0; transform: translate(36px, 28px); } 25% { opacity: 1; } 62% { transform: translate(0, 0) scale(1); } 72% { transform: scale(.8); } 86%, 100% { opacity: 1; transform: scale(1); } }
@keyframes rh-imlec-git { 0% { opacity: 0; transform: translate(36px, 28px); } 18% { opacity: 1; } 46% { transform: translate(0, 0) scale(1); } 54% { transform: scale(.8); } 64% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translate(8px, 10px); } }
@keyframes rh-nabiz { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes rh-don { from { transform: rotate(-360deg); } }
@keyframes rh-sekme { 0%, 12% { transform: none; } 22%, 34% { transform: translateX(var(--s)); } 44%, 56% { transform: translateX(calc(var(--s) * 2)); } 66%, 88% { transform: translateX(calc(var(--s) * 3)); } 100% { transform: none; } }
@keyframes rh-uc { 0%, 28% { transform: none; } 36%, 60% { transform: translateX(var(--adim)); } 68%, 100% { transform: translateX(calc(var(--adim) * 2)); } }
@keyframes rh-gecis { 0% { opacity: 0; transform: translateX(var(--a)); } 8% { opacity: 1; } 35%, 65% { transform: translateX(var(--b)); } 100% { transform: none; } }
@keyframes rh-red { 0% { opacity: 0; transform: translateX(-110px); } 12% { opacity: 1; } 45%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes rh-tara { 0% { opacity: 0; transform: translateY(-40px); } 25%, 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(100px); } }
@keyframes rh-tara-y { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 35% { transform: translate(-30px, 12px); } 60% { transform: translate(-4px, 25px); } 85%, 100% { opacity: 1; transform: translate(-10px, 30px); } }
@keyframes rh-olcek { 0%, 22% { transform: none; } 32%, 55% { transform: translateX(var(--a)); } 65%, 88% { transform: translateX(var(--b)); } 100% { transform: none; } }
/* §15 rehber: oda sol üst köşeden büyür (iki evre), alttaki ölçü çizgisi aşağı kayar — d-m1..m3 ile aynı 6,4 sn döngü */
.rh-svg .d-oda { transform-box: fill-box; transform-origin: 0 0; }
.dongu .d-oda { animation: rh-oda 6.4s cubic-bezier(.45, 0, .25, 1) both; }
.dongu .d-olcek-y { animation: rh-olcek-y 6.4s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes rh-oda { 0%, 22% { transform: none; } 32%, 55% { transform: scale(var(--sx1), var(--sy1)); } 65%, 88% { transform: scale(var(--sx2), var(--sy2)); } 100% { transform: none; } }
@keyframes rh-olcek-y { 0%, 22% { transform: none; } 32%, 55% { transform: translateY(var(--a)); } 65%, 88% { transform: translateY(var(--b)); } 100% { transform: none; } }
@keyframes rh-m1 { 0%, 22% { opacity: 1; } 27%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rh-m2 { 0%, 29% { opacity: 0; } 34%, 56% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes rh-m3 { 0%, 62% { opacity: 0; } 67%, 88% { opacity: 1; } 93%, 100% { opacity: 0; } }

/* ================================================================ §14 yaşam döngüsü, bildirim merkezi, künye */
:root {
  --pirinc: #C9A55E; --pirinc-acik: #E8D3A2; --pirinc-koyu: #8C6B2E;
  --plaka: #24282C; --plaka-hat: rgba(233, 233, 228, .13); --plaka-soluk: #9EA29C;
}

/* ---------------------------------------------------------------- başlık: zil (sabit 40×40; rozet mutlak konumlu → kayma yok) */
.ust-ic { position: relative; }
.ust-menu { margin-left: auto; }
.zil {
  position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: var(--r-kucuk); background: transparent; color: #DADBD6; cursor: pointer;
}
.zil:hover, .zil[aria-expanded='true'] { background: rgba(255, 255, 255, .09); color: #fff; }
.zil-ikon { display: grid; transform-origin: 50% 12%; }
.zil-ikon.salla { animation: zil-salla .9s cubic-bezier(.36, .07, .19, .97) 1; }
@keyframes zil-salla { 15% { transform: rotate(14deg); } 30% { transform: rotate(-11deg); } 45% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } 75% { transform: rotate(2deg); } }
.zil-rozet {
  position: absolute; top: 3px; right: 1px; width: 20px; height: 18px; border-radius: 9px;
  background: var(--vurgu); color: #fff; font: 750 11px/18px var(--yazi); font-variant-numeric: tabular-nums; text-align: center;
  box-shadow: 0 0 0 2px var(--antrasit); pointer-events: none;
  opacity: 0; transform: scale(.4); transition: opacity .18s, transform .26s cubic-bezier(.2, .8, .2, 1);
}
.zil-rozet.gorunur { opacity: 1; transform: none; }
@media (max-width: 639px) {
  .ust-menu { margin-left: 0; }
  .ust-menu .menu-cikis { display: none; } /* telefonda çıkış Künyem ekranında */
  .zil { position: absolute; top: 7px; right: max(8px, env(safe-area-inset-right, 0px)); }
}

/* bildirim paneli: masaüstünde zilin altında açılır menü, telefonda alttan açılan sayfa */
.zil-panel {
  position: fixed; inset: auto; margin: 0; width: min(400px, calc(100vw - 24px)); max-width: none; max-height: min(560px, calc(100dvh - 96px));
  padding: 0; border: 0; border-radius: var(--r); background: var(--kagit); color: var(--grafit);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(29, 33, 36, .14); overflow: hidden;
  transform-origin: top right; transition: opacity .18s ease-out, transform .24s cubic-bezier(.2, .8, .2, 1);
}
.zil-panel[open] { display: flex; flex-direction: column; }
.zil-panel::backdrop { background: transparent; }
.zil-panel.giris, .zil-panel.kapaniyor { opacity: 0; transform: translateY(-6px) scale(.985); }
.zil-ust { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: var(--antrasit); color: #fff; border-bottom: 3px solid var(--vurgu); flex: none; }
.zil-ust h2 { margin: 0; font-size: 1.05rem; flex: 1 1 auto; }
.zil-ust .ikon-dugme { color: #DADBD6; }
.zil-ust .ikon-dugme:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.zil-ust .bag-dugme { color: #DADBD6; font-size: .86rem; min-height: 40px; }
.zil-ust .bag-dugme:hover { color: #fff; }
.zil-tutamak { display: none; }
.zil-liste { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; }
.zil-oge { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--hat-ince); }
.zil-oge.okunmamis::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vurgu); }
.zil-oge-ikon { width: 36px; height: 36px; border-radius: var(--r-kucuk); display: grid; place-items: center; background: var(--beton); color: var(--grafit); }
.zil-donem_sonu .zil-oge-ikon { background: var(--antrasit); color: var(--pirinc-acik); }
.zil-oge-govde { min-width: 0; }
.zil-oge-govde p { max-width: none; }
.zil-oge-baslik { margin: 0 0 3px; font-weight: 700; line-height: 1.3; }
.zil-oge-metin { margin: 0; color: #3A3F44; font-size: .9rem; line-height: 1.45; }
.zil-eylemler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zil-eylemler .dugme { flex: 1 1 auto; }
.zil-oge-not { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; font-size: .84rem; color: var(--tamam); font-weight: 600; }
.zil-oge-not .ikon { margin-top: 2px; flex: none; }
.zil-oge-zaman { margin: 6px 0 0; font-size: .78rem; color: var(--soluk); }
.zil-bos { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 18px 26px; color: var(--soluk); font-size: .9rem; }
.zil-bos strong { color: var(--grafit); }
.zil-bos-ikon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--beton); color: var(--grafit); margin-bottom: 6px; }
@media (max-width: 639px) {
  .zil-panel { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 82dvh; border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .zil-panel::backdrop { background: rgba(29, 33, 36, .55); }
  .zil-panel.giris, .zil-panel.kapaniyor { opacity: 1; transform: translateY(100%); }
  .zil-ust { padding: 18px max(8px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
  .zil-tutamak { display: block; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255, 255, 255, .38); }
  .zil-oge { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------------------------------------------------------------- eylemli alt bilgi çubuğu ("Geri al", 8 sn) */
.bildirim-eylemli { position: relative; align-items: center; padding-right: 6px; overflow: hidden; }
.bildirim-eylemli .ikon { margin-top: 0; }
.bildirim-metin { flex: 1 1 auto; min-width: 0; }
.bildirim-eylem {
  flex: none; min-height: 40px; padding: 8px 12px; border: 0; border-radius: var(--r-kucuk); background: transparent;
  color: #FFB48C; font: 750 .93rem/1 var(--yazi); cursor: pointer;
}
.bildirim-eylem:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.bildirim-eylem:focus-visible { outline-offset: -2px; }
.bildirim-sure { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--vurgu); transform-origin: left center; animation: bildirim-sure 8s linear both; }
@keyframes bildirim-sure { to { transform: scaleX(0); } }

/* ---------------------------------------------------------------- Projelerim: Aktif / Arşiv */
.liste-sekmeleri { display: grid; grid-template-columns: repeat(2, minmax(0, 168px)); border-bottom: 2px solid var(--antrasit); margin: 4px 0 0; }
.liste-sekmeleri [role='tab'] {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 12px; margin-bottom: -2px;
  background: none; border: 0; border-bottom: 4px solid transparent; color: var(--soluk); font: 650 1rem/1.1 var(--yazi); cursor: pointer;
}
.liste-sekmeleri [role='tab']:hover { color: var(--grafit); background: var(--kagit); }
.liste-sekmeleri [aria-selected='true'] { color: var(--grafit); border-bottom-color: var(--vurgu); }
.liste-sekmeleri [role='tab']:focus-visible { outline-offset: -3px; }
.ls-sayi { min-width: 2em; padding: 1px 6px; border-radius: 999px; background: var(--hat-ince); color: var(--grafit); font-size: .8rem; font-weight: 750; text-align: center; line-height: 1.5; }
.liste-sekmeleri [aria-selected='true'] .ls-sayi { background: var(--antrasit); color: #fff; }
@media (max-width: 419px) { .liste-sekmeleri { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.liste-panel > .proje-liste { border-top: 0; }
.liste-panel > .bos-durum { margin-top: 16px; }
.proje-liste, .arsiv-liste { overflow-x: clip; }

.proje-oge { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--hat); background: var(--beton); }
.proje-oge .proje-satir { border-bottom: 0; }
.proje-eylem { display: flex; gap: 6px; padding: 0 8px 0 4px; }
.mini-dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 10px;
  border: 1.5px solid var(--hat); border-radius: var(--r-kucuk); background: transparent; color: var(--grafit);
  font: 600 .86rem/1 var(--yazi); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.mini-dugme:hover { border-color: var(--antrasit); background: var(--kagit); }
.mini-dugme:disabled { opacity: .5; cursor: wait; }
.mini-tehlike { color: var(--hata); }
.mini-tehlike:hover { border-color: var(--hata); background: var(--hata-acik); }
@media (max-width: 639px) {
  .proje-oge { grid-template-columns: minmax(0, 1fr); }
  .proje-eylem { justify-content: flex-end; padding: 0 8px 12px; margin-top: -4px; }
}

/* arşive taşıma: satır sağa kayarak çıkar; geri alınca soldan kayarak döner (yalnız transform/opacity) */
.kayarak-cik { animation: kayarak-cik .34s cubic-bezier(.4, 0, .6, 1) forwards; pointer-events: none; }
.kayarak-gir { animation: kayarak-gir .44s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes kayarak-cik { to { opacity: 0; transform: translateX(56px); } }
@keyframes kayarak-gir { from { opacity: 0; transform: translateX(-40px); } }

.arsiv-not { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 12px; color: var(--soluk); font-size: .88rem; max-width: none; }
.arsiv-not .ikon { flex: none; margin-top: 2px; }
.arsiv-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.arsiv-oge {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr) auto; gap: 10px 24px; align-items: center;
  padding: 14px 16px 14px 30px; background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk);
}
/* sol kenar: yıkım taraması — proje "sökülmeyi bekliyor" */
.arsiv-oge::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-right: 1px solid var(--hat); border-radius: var(--r-kucuk) 0 0 var(--r-kucuk); background: repeating-linear-gradient(-45deg, var(--hat) 0 1.5px, transparent 1.5px 5px); }
.arsiv-bas { min-width: 0; }
.arsiv-ad { font-weight: 700; font-size: 1.04rem; text-decoration: none; }
.arsiv-ad:hover { text-decoration: underline; text-decoration-color: var(--vurgu); }
.arsiv-bas small { display: block; color: var(--soluk); font-size: .82rem; }
.arsiv-sayac { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.arsiv-sayac-ust { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arsiv-sayac-ust .ikon { flex: none; }
.arsiv-kalan { overflow: hidden; text-overflow: ellipsis; }
.arsiv-cubuk { display: block; height: 4px; border-radius: 2px; background: var(--hat-ince); overflow: hidden; }
.arsiv-dolu { display: block; height: 100%; background: var(--vurgu); transform-origin: left center; transition: transform .6s ease-out; }
.arsiv-oge.acil .arsiv-dolu { background: var(--hata); }
.arsiv-oge.acil .arsiv-sayac-ust { color: var(--hata); }
.arsiv-eylem { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.arsiv-kalici { color: var(--hata); font-size: .9rem; min-height: 36px; text-decoration-color: currentColor; }
.arsiv-bos { margin-top: 0; }
@media (max-width: 859px) {
  .arsiv-oge { grid-template-columns: minmax(0, 1fr); padding-left: 28px; }
  .arsiv-eylem { justify-content: space-between; }
}
.arsiv-bandi { align-items: center; flex-wrap: wrap; }
.arsiv-bandi > span { flex: 1 1 240px; }
.kalici-sil .bant { margin: 0; }

/* ---------------------------------------------------------------- Künyem */
.karar-bandi { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px 18px; margin: 0 0 18px; background: var(--vurgu-acik); border: 1.5px solid var(--vurgu); border-radius: var(--r); }
.karar-ikon { width: 44px; height: 44px; border-radius: var(--r-kucuk); display: grid; place-items: center; background: var(--antrasit); color: var(--pirinc-acik); }
.karar-govde h2 { font-size: 1.12rem; margin: 2px 0 4px; }
.karar-govde p { margin: 0 0 12px; color: #4A2A12; }
.karar-eylem { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .karar-bandi { grid-template-columns: minmax(0, 1fr); } .karar-eylem .dugme { flex: 1 1 100%; } }

/* plaka çerçevesi: köşelerde teknik çizim kesim işaretleri */
.pk-cerceve { position: relative; padding: 12px; }
.pk-kose { position: absolute; width: 14px; height: 14px; border: 0 solid var(--soluk); }
.pk-kose-sol-ust { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.pk-kose-sag-ust { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.pk-kose-sol-alt { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.pk-kose-sag-alt { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* plaka: fırçalanmış antrasit, pirinç perçinler, antet hücreleri, altta taramalı radye + turuncu temel çizgisi */
.pk {
  position: relative; padding: 22px 28px 0; border-radius: 6px; overflow: hidden; color: #ECECE7;
  background-color: var(--plaka);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 38%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(0, 0, 0, .55), 0 22px 44px -24px rgba(29, 33, 36, .75);
  animation: pk-gir .5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes pk-gir { from { opacity: 0; transform: translateY(10px); } }
.pk-percin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #F6E9C4 0 16%, var(--pirinc) 46%, var(--pirinc-koyu) 100%);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, .7), inset 0 -1px 1px rgba(0, 0, 0, .3);
}
.pk-percin-a { top: 9px; left: 9px; } .pk-percin-b { top: 9px; right: 9px; }
.pk-percin-c { bottom: 34px; left: 9px; } .pk-percin-d { bottom: 34px; right: 9px; }
.pk-ust { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 0 4px 14px; border-bottom: 1px solid var(--plaka-hat); }
.pk-logo { width: 23px; height: 18px; color: #E9E9E4; flex: none; }
.pk-unvan { flex: 1 1 auto; font-weight: 700; font-stretch: 82%; font-size: 1rem; color: #C9CBC6; }
.pk-no, .pk-yil { display: flex; align-items: baseline; gap: 8px; }
.pk-no small, .pk-yil small { font-size: .74rem; color: var(--plaka-soluk); }
.pk-no strong { font: 800 1.35rem/1 'Unbounded', var(--yazi); letter-spacing: .06em; color: var(--pirinc); text-shadow: 0 1px 0 rgba(0, 0, 0, .65); }
.pk-yil { padding-left: 14px; border-left: 1px solid var(--plaka-hat); }
.pk-yil strong { font-weight: 750; font-stretch: 80%; font-size: 1.08rem; }

.pk-govde { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr); }
.pk-kimlik { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--plaka-hat); }
.pk-kimlik-izgara { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pk-hucre { min-width: 0; padding: 13px 16px 13px 4px; border-bottom: 1px solid var(--plaka-hat); }
.pk-hucre.sag { padding-left: 16px; border-left: 1px solid var(--plaka-hat); }
.pk-hucre.genis { grid-column: 1 / -1; }
.pk-hucre dt { font-size: .74rem; color: var(--plaka-soluk); margin: 0 0 3px; }
.pk-deger { margin: 0; font-weight: 650; font-size: 1.02rem; line-height: 1.3; overflow-wrap: anywhere; }
.pk-hucre.buyuk { padding-top: 16px; padding-bottom: 16px; }
.pk-hucre.buyuk .pk-deger { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 800; font-stretch: 72%; line-height: 1.08; letter-spacing: -.005em; }
.pk-deger.bos { color: #80858A; font-weight: 500; }
.pk-hucre.buyuk .pk-deger.bos { font-weight: 700; }
.pk-eposta { font-weight: 550; color: #C9CBC6; }
/* toplamlar: kimlik sütununun dibinde (kalan yükseklik 1fr satırında) */
.pk-kimlik-izgara > .pk-hucre:last-child { border-bottom: 0; }
.pk-toplam { margin-top: auto; padding: 0 0 2px; overflow-wrap: break-word; }
.pk-toplam dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--plaka-hat); }
.pk-toplam-hucre { min-width: 0; display: flex; flex-direction: column; padding: 12px 10px 0 4px; }
.pk-toplam-hucre dd { margin-top: auto !important; padding-top: 4px; }
.pk-toplam-hucre + .pk-toplam-hucre { padding-left: 14px; border-left: 1px solid var(--plaka-hat); }
.pk-toplam-hucre dt { font-size: .74rem; line-height: 1.2; color: var(--plaka-soluk); }
.pk-toplam-hucre dd { margin: 4px 0 0; font-weight: 800; font-stretch: 72%; font-size: 1.9rem; line-height: 1; }
.pk-toplam-ana dd { color: var(--pirinc); }

.pk-kart { min-width: 0; padding: 14px 0 0 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pk-kart-ust { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.pk-kart-ust h2 { margin: 0; font-size: 1rem; font-stretch: 82%; color: #ECECE7; }
.pk-rozet { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--pirinc); color: var(--pirinc-acik); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.pk-rozet.dolu { background: var(--vurgu); border-color: var(--vurgu); color: #fff; }
.pk-halka { position: relative; width: 208px; height: 208px; display: grid; place-items: center; flex: none; }
.pk-halka-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-cetvel { stroke: #4A5056; stroke-width: 1; }
.pk-cetvel-ana { stroke: #8D9398; stroke-width: 1.6; }
.pk-iz { fill: none; stroke: #33383D; stroke-width: 12; }
.pk-ilerleme { fill: none; stroke: var(--vurgu); stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: var(--bos, 1); animation: pk-ciz 1.4s cubic-bezier(.3, .7, .2, 1) .25s both; }
@keyframes pk-ciz { from { stroke-dashoffset: 1; } }
.pk-isaret { transform-box: view-box; transform-origin: 110px 110px; animation: pk-don 1.4s cubic-bezier(.3, .7, .2, 1) .25s both; }
@keyframes pk-don { from { transform: rotate(0deg); } }
.pk-isaret-dis { fill: var(--plaka); stroke: var(--pirinc); stroke-width: 2.5; }
.pk-isaret-ic { fill: var(--pirinc); }
/* sayaç kutusu sabit ölçülü: sayarken ya da yazı tipi yerleşirken çevresini kaydıramaz (CLS 0) */
.pk-merkez { position: relative; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; contain: layout; }
.sayac { display: inline-grid; width: calc(var(--hane, 1) * .64em); text-align: center; } /* katmanlar hücreyi doldurur: hane artınca kutu yer değiştirmez */
.sayac > * { grid-area: 1 / 1; }
.sayac-yer { visibility: hidden; }
.pk-sayi { height: 3.5rem; align-items: center; overflow: visible; font-weight: 800; font-stretch: 70%; font-size: 3.7rem; line-height: .92; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.pk-sayi-etiket { max-width: 8.5em; font-size: .8rem; line-height: 1.2; color: var(--plaka-soluk); }
.pk-gun { align-self: stretch; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 2px 0 0; max-width: none; font-size: .95rem; font-weight: 700; }
.pk-gun small { font-size: .8rem; font-weight: 500; color: var(--plaka-soluk); }
.pk-gun-kalan { color: var(--pirinc-acik); font-weight: 650; font-size: .88rem; }
.pk-gun-kalan.dolu { color: #FFB48C; }
.pk-ist { align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); margin: 2px 0 0; border-top: 1px solid var(--plaka-hat); }
.pk-ist > div { min-width: 0; padding: 10px 8px 0 0; }
.pk-ist > div + div { padding-left: 10px; border-left: 1px solid var(--plaka-hat); }
.pk-ist dt { font-size: .72rem; line-height: 1.2; color: var(--plaka-soluk); }
.pk-ist dd { margin: 3px 0 0; font-weight: 750; font-stretch: 80%; font-size: 1.15rem; }
.pk-tarih { align-self: stretch; display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin: 6px 0 0; max-width: none; font-size: .84rem; font-weight: 600; color: #C9CBC6; }
.pk-tarih small { font-size: .74rem; font-weight: 500; color: var(--plaka-soluk); }
.pk-sifirla {
  align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin-top: 4px; padding: 8px 12px;
  background: transparent; color: #ECECE7; border: 1.5px solid rgba(233, 233, 228, .26); border-radius: var(--r-kucuk); font: 600 .92rem/1 var(--yazi); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.pk-sifirla:hover { border-color: var(--pirinc); background: rgba(201, 165, 94, .1); color: #fff; }
.pk-taban {
  height: 24px; margin: 20px -28px 0;
  background: repeating-linear-gradient(-45deg, rgba(233, 233, 228, .2) 0 1.5px, transparent 1.5px 6px), #1B1E21;
  border-top: 1.5px solid rgba(233, 233, 228, .34); box-shadow: inset 0 -4px 0 var(--vurgu);
}
@media (max-width: 899px) {
  .pk { padding: 18px 18px 0; }
  .pk-govde { grid-template-columns: minmax(0, 1fr); }
  .pk-kimlik { border-right: 0; border-bottom: 1px solid var(--plaka-hat); }
  .pk-toplam { padding-bottom: 14px; }
  .pk-kart { padding: 14px 0 0; }
  .pk-taban { margin: 30px -18px 0; }
}
@media (max-width: 479px) {
  .pk { padding: 16px 14px 0; }
  .pk-ust { padding: 0 6px 12px; }
  .pk-unvan { flex-basis: calc(100% - 37px); }
  .pk-yil { margin-left: auto; }
  .pk-toplam-hucre dd { font-size: 1.55rem; }
  .pk-toplam-hucre + .pk-toplam-hucre { padding-left: 10px; }
  .pk-hucre { padding-right: 10px; }
  .pk-hucre.sag { padding-left: 12px; }
  .pk-taban { margin: 30px -14px 0; }
  .pk-ist dd { font-size: 1.05rem; }
}

/* ölçü çizgisi: üyelik süresini ölçer (oklar + uç çizgileri) */
.kn-olcu { position: relative; display: flex; justify-content: center; align-items: center; height: 30px; margin: 0 12px 30px; max-width: none; }
.kn-olcu::before, .kn-olcu::after { content: ''; position: absolute; top: 50%; margin-top: -4px; border-style: solid; }
.kn-olcu::before { left: 0; border-width: 4px 10px 4px 0; border-color: transparent var(--soluk) transparent transparent; }
.kn-olcu::after { right: 0; border-width: 4px 0 4px 10px; border-color: transparent transparent transparent var(--soluk); }
.kn-olcu-cizgi { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--soluk); }
.kn-olcu-cizgi::before, .kn-olcu-cizgi::after { content: ''; position: absolute; top: -10px; height: 19px; border-left: 1px solid var(--soluk); }
.kn-olcu-cizgi::before { left: 0; } .kn-olcu-cizgi::after { right: 0; }
.kn-olcu-yazi { position: relative; max-width: calc(100% - 44px); padding: 0 10px; background: var(--beton); color: var(--soluk); font-size: .82rem; font-stretch: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.kn-alt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
@media (max-width: 859px) { .kn-alt { grid-template-columns: minmax(0, 1fr); } }
.kn-bolum h2 { font-size: 1.2rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--antrasit); }
.kn-bilgi { padding: 18px 20px 20px; background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r); }
.kn-bilgi h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: 4px; }
.kn-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.kn-form .form-hata:empty { display: none; }
.kn-form-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kn-cikis { color: var(--soluk); min-height: 40px; }
.kn-cikis:hover { color: var(--grafit); }
.alan-ipucu.hatali { color: var(--hata); font-weight: 600; }

/* geçmiş dönemler: kesikli yapı çizgisi + kolon kesiti düğümleri */
.zc { position: relative; list-style: none; margin: 0; padding: 0; }
.zc::before { content: ''; position: absolute; left: 9px; top: 14px; bottom: 18px; width: 2px; background: repeating-linear-gradient(180deg, var(--hat) 0 5px, transparent 5px 9px); }
.zc-oge { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 0 0 12px; animation: zc-gir .4s ease-out both; }
@keyframes zc-gir { from { opacity: 0; transform: translateY(6px); } }
.zc-dugum { position: relative; width: 20px; height: 20px; margin-top: 14px; border: 2px solid var(--antrasit); border-radius: 2px; background: var(--beton); }
.zc-dugum::after { content: ''; position: absolute; inset: 2px; background: repeating-linear-gradient(-45deg, var(--antrasit) 0 1px, transparent 1px 3.5px); }
.zc-simdi .zc-dugum { border-color: var(--vurgu); background: var(--vurgu-acik); }
.zc-simdi .zc-dugum::after { inset: 3px; background: var(--vurgu); }
.zc-kart { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: end; padding: 10px 14px 12px; background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); }
.zc-simdi .zc-kart { border-color: rgba(226, 87, 27, .55); box-shadow: inset 3px 0 0 var(--vurgu); }
.zc-tarih { grid-column: 1; margin: 0; max-width: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: .93rem; }
.zc-sayi { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; color: var(--soluk); font-size: .8rem; line-height: 1.1; }
.zc-sayi strong { display: block; font-size: 1.7rem; font-weight: 800; font-stretch: 70%; line-height: 1; color: var(--grafit); }
.zc-cubuk { grid-column: 1; display: block; height: 6px; margin: 6px 0 1px; background: var(--hat-ince); border-radius: 1px; overflow: hidden; }
.zc-dolu { display: block; height: 100%; background: var(--antrasit); transform-origin: left center; animation: zc-cubuk .7s cubic-bezier(.3, .7, .2, 1) both; }
.zc-simdi .zc-dolu { background: var(--vurgu); }
@keyframes zc-cubuk { from { transform: scaleX(0); } }
.zc-alt { grid-column: 1 / -1; margin: 4px 0 0; max-width: none; font-size: .82rem; color: var(--soluk); }
.zc-rozet { font-size: .7rem; }
.zc-bos { margin: 2px 0 0 34px; font-size: .88rem; color: var(--soluk); }

/* ================================================================ §15 Tadilat ve iç mimari
   Ana öğe: her mahal kartındaki canlı kat planı (paftadaki gibi ızgara üzerinde poşe duvar, kapı yayı, eğik uçlu ölçü çizgileri).
   Kart içi yerleşim kartın kendi genişliğine göre (container query) → ızgarada da tek sütunda da taşma yok. */

/* ---- proje türü seçimi (yeni proje penceresi) */
.tur-secimi { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.tur-secimi legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.tur-secenek { position: relative; display: block; cursor: pointer; min-width: 0; }
.tur-radyo { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tur-kart {
  position: relative; height: 100%; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 14px; align-items: center;
  padding: 14px 16px 14px 12px; background: var(--kagit); border: 1.5px solid var(--hat-ince); border-radius: var(--r);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.tur-secenek:hover .tur-kart { border-color: var(--antrasit); }
.tur-radyo:checked + .tur-kart { background: var(--beyaz); border-color: var(--vurgu); box-shadow: inset 0 0 0 1px var(--vurgu), 0 10px 22px -16px rgba(185, 68, 15, .65); }
.tur-radyo:focus-visible + .tur-kart { outline: 3px solid var(--vurgu); outline-offset: 2px; }
.tur-metin { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tur-metin strong { font-size: 1.06rem; font-stretch: 85%; line-height: 1.2; padding-right: 22px; }
.tur-metin small { font-size: .82rem; color: var(--soluk); line-height: 1.35; }
.tur-isaret { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--hat); background: var(--beyaz); color: transparent; transition: background-color .15s, border-color .15s, color .15s; }
.tur-isaret .ikon { stroke-width: 2.8; }
.tur-radyo:checked + .tur-kart .tur-isaret { background: var(--vurgu); border-color: var(--vurgu); color: #fff; }
.tur-cizim { width: 84px; height: auto; color: var(--soluk); }
.tur-cizim .tc-ince { stroke: var(--hat); stroke-width: 1; }
.tur-cizim .tc-kolon { stroke: currentColor; stroke-width: 4; stroke-linecap: butt; }
.tur-cizim .tc-plak { fill: currentColor; fill-opacity: .82; }
.tur-cizim .tc-vurgu { stroke: var(--hat); stroke-width: 2.4; }
.tur-cizim .tc-zemin { fill: var(--beyaz); }
.tur-cizim .tc-duvar { stroke: currentColor; stroke-width: 3.2; stroke-linecap: square; }
.tur-cizim .tc-kanat { stroke: currentColor; stroke-width: 1.6; }
.tur-cizim .tc-yay { stroke: var(--hat); stroke-width: 1; stroke-dasharray: 2 2; }
.tur-cizim .tc-cam { stroke: currentColor; stroke-width: 1; }
.tur-radyo:checked + .tur-kart .tur-cizim { color: var(--antrasit); }
.tur-radyo:checked + .tur-kart .tc-vurgu { stroke: var(--vurgu); }
.tur-radyo:checked + .tur-kart .tc-yay { stroke: var(--vurgu); }
.tur-not { margin: -4px 0 0; padding: 10px 12px; font-size: .88rem; color: var(--grafit); background: var(--kagit); border-left: 3px solid var(--antrasit); max-width: none; }
.rozet-tadilat { background: var(--antrasit); color: #fff; margin-left: 8px; font-size: .7rem; vertical-align: 2px; }

/* ---- Mahaller: üst şerit (antet) */
.mahaller { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mahaller > .bant { margin: 0; }
.mh-ust { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 12px 18px; }
.mh-antet { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--antrasit); border: 2px solid var(--antrasit); }
.mh-antet-hucre { min-width: 0; background: var(--kagit); padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 1px; }
.mh-antet-hucre small { font-size: .76rem; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-antet-hucre > span { font-weight: 750; font-stretch: 78%; font-size: 1.18rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-antet-ana { background: var(--antrasit); color: #fff; }
.mh-antet-ana small { color: #C9CBC6; }
.mh-antet-ana > span { align-self: flex-start; max-width: 100%; box-shadow: inset 0 -3px 0 var(--vurgu); }
.mh-antet-hucre.uyarili > span { color: var(--uyari); }
.mh-eylem { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 719px) {
  .mh-antet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mh-antet-ana { grid-column: 1 / -1; order: -1; }
  .mh-eylem { width: 100%; }
  .mh-eylem .dugme { flex: 1 1 0; min-width: 0; }
}

/* ---- kart ızgarası */
.mh-izgara { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 18px; align-items: start; }
.mh-kart { container: mhkart / inline-size; min-width: 0; display: flex; flex-direction: column; background: var(--kagit); border: 1px solid var(--hat-ince); border-radius: var(--r); box-shadow: var(--golge); }
.mh-kart.olcu-hatali { border-color: var(--hata); box-shadow: inset 0 0 0 1px var(--hata), var(--golge); }
.mh-kart-bas { display: grid; grid-template-columns: minmax(116px, 46%) minmax(0, 1fr); gap: 14px; padding: 14px 14px 12px; }
.mh-plan-kap { aspect-ratio: 4 / 3; min-width: 0; background: var(--beyaz); border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); overflow: hidden; }
.mahal-plan { display: block; width: 100%; height: 100%; }

/* kat planı (SVG) */
.mahal-plan .mp-izgara-cizgi { stroke: #ECEDE9; }
.mahal-plan .mp-zemin { fill: var(--beyaz); }
.mahal-plan .mp-duvar { stroke: var(--antrasit); }
.mahal-plan .mp-bosluk { stroke: var(--beyaz); stroke-linecap: butt; }
.mahal-plan .mp-kanat { stroke: var(--antrasit); stroke-linecap: round; }
.mahal-plan .mp-yay { stroke: var(--vurgu); stroke-dasharray: 2.2 1.8; }
.mahal-plan .mp-cam { stroke: var(--antrasit); }
.mahal-plan .mp-donati { stroke: #8C9195; fill: #FBFBF9; }
.mahal-plan .mp-donati-ince { stroke: #B4B8B9; }
.mahal-plan .mp-korkuluk { stroke: var(--soluk); stroke-dasharray: 3 2; }
.mahal-plan .mp-olcu-cizgi, .mahal-plan .mp-olcu-uzatma { stroke: var(--soluk); }
.mahal-plan .mp-olcu-uc { stroke: var(--grafit); }
.mahal-plan text { font-family: var(--yazi); font-stretch: 85%; font-variant-numeric: tabular-nums lining-nums; }
.mahal-plan .mp-olcu-yazi { font-size: 10.5px; font-weight: 650; fill: var(--grafit); paint-order: stroke; stroke: var(--beyaz); stroke-width: 3px; stroke-linejoin: round; }
.mahal-plan .mp-alan-yazi { font-size: 9.5px; font-weight: 650; fill: var(--soluk); paint-order: stroke; stroke: var(--beyaz); stroke-width: 3px; stroke-linejoin: round; }
.mahal-plan-simge .mp-olcu-kap, .mahal-plan-simge .mp-yazi-kap { display: none; }

/* kimlik + ara toplam */
.mh-kimlik { container: mhkimlik / inline-size; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mh-ad {
  width: 100%; min-height: 36px; padding: 2px 0; border: 0; border-bottom: 1.5px dashed transparent; border-radius: 0; background: transparent;
  color: var(--grafit); font: 750 1.25rem/1.2 var(--yazi); font-stretch: 80%; text-overflow: ellipsis;
}
.mh-ad:hover { border-bottom-color: var(--hat); }
.mh-ad:focus { outline: none; border-bottom: 1.5px solid var(--vurgu); }
.mh-ad:focus-visible { outline: none; }
.mh-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: .82rem; color: var(--soluk); line-height: 1.35; }
.mh-meta { gap: 2px 12px; }
.mh-meta span { white-space: nowrap; }
.mh-meta span:first-child { color: var(--grafit); font-weight: 600; }
.mh-ara { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--hat-ince); display: flex; flex-direction: column; min-width: 0; }
.mh-ara > small { font-size: .76rem; color: var(--soluk); }
.mh-tutar { display: block; font-weight: 800; font-stretch: 72%; font-size: clamp(1.05rem, 12.4cqi, 1.75rem); line-height: 1.12; white-space: nowrap; letter-spacing: -.01em; }
.mh-tutar-alt { font-size: .78rem; color: var(--soluk); min-height: 1.25em; }
.mh-tutar-alt.uyarili { color: var(--uyari); font-weight: 650; }

/* gövde: ölçüler, kalite, gruplar */
.mh-govde { border: 0; margin: 0; padding: 0 14px 6px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mh-olculer { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hat-ince); }
.mh-mod { display: flex; align-items: center; gap: 10px; }
.mh-mod legend { float: left; margin: 0; font-size: .8rem; color: var(--soluk); }
.mh-mod .segment-secenekler { flex: 0 1 230px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mh-mod .segment span, .mh-kalite .segment span { min-height: 36px; font-size: .88rem; padding: 4px 8px; }
.mh-olcu-satir { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); gap: 8px; }
.mh-olcu-satir.mh-tek { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); align-items: end; }
.mh-alan { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mh-alan label { font-size: .78rem; font-weight: 600; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-girdi { position: relative; display: block; }
.mh-girdi input {
  width: 100%; min-height: 42px; padding: 7px 30px 7px 10px; border: 1.5px solid var(--hat); border-radius: var(--r-kucuk); background: var(--beyaz);
  color: var(--grafit); font: 600 1rem/1.2 var(--yazi); font-variant-numeric: tabular-nums;
}
.mh-girdi input::placeholder { color: #9A9FA2; font-weight: 500; font-size: .86rem; }
.mh-girdi input:focus { border-color: var(--antrasit); outline: 3px solid var(--vurgu-acik); outline-offset: 0; }
.mh-girdi input:disabled { background: var(--kagit); color: var(--soluk); }
.mh-sonek { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-size: .78rem; color: var(--soluk); pointer-events: none; }
.mh-not { margin: 0; font-size: .78rem; color: var(--soluk); line-height: 1.38; max-width: none; }
.mh-olcu-hata { font-size: .86rem; }
.mh-olcu-hata:empty { display: none; }
.mh-kalite-kap { display: flex; flex-direction: column; gap: 4px; }
.mh-kalite legend { font-size: .8rem; color: var(--soluk); }

.mh-bosluk, .mh-grup { min-width: 0; }
.mh-bosluk { border: 1px solid var(--hat-ince); border-radius: var(--r-kucuk); background: var(--beyaz); }
.mh-bosluk > summary, .mh-grup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: var(--r-kucuk); }
.mh-bosluk > summary::-webkit-details-marker, .mh-grup > summary::-webkit-details-marker { display: none; }
.mh-bosluk > summary > .ikon, .mh-grup-ad > .ikon:first-child { flex: none; color: var(--soluk); transform: rotate(-90deg); transition: transform .2s ease-out; stroke-width: 2.2; }
.mh-bosluk[open] > summary > .ikon, .mh-grup[open] .mh-grup-ad > .ikon:first-child { transform: none; }
.mh-bosluk > summary > span:first-of-type { font-weight: 600; font-size: .9rem; }
.mh-bp-ozet { margin-left: auto; font-size: .78rem; color: var(--soluk); text-align: right; min-width: 0; }
.mh-bosluk-ic { padding: 2px 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.mh-bosluk > summary:hover, .mh-grup > summary:hover { background: var(--kagit); }

.mh-gruplar { display: flex; flex-direction: column; border-top: 2px solid var(--antrasit); }
.mh-grup { border-bottom: 1px solid var(--hat-ince); }
.mh-grup > summary { padding: 6px 4px 6px 2px; border-radius: 0; }
.mh-grup-ad { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .95rem; }
.mh-grup-ikon { color: var(--antrasit); }
.mh-grup.bos-grup .mh-grup-ikon, .mh-grup.bos-grup .mh-grup-ad > span { color: var(--soluk); }
.mh-grup-uyari { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C98A0B; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.mh-grup-uyari.gorunur { opacity: 1; transform: none; }
.mh-grup-say { flex: none; min-width: 3.2em; text-align: right; font-size: .78rem; color: var(--soluk); }
.mh-grup-top { flex: none; min-width: 7.8em; text-align: right; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.mh-grup.bos-grup .mh-grup-top { color: var(--hat); font-weight: 500; }
.mh-satirlar { display: flex; flex-direction: column; padding: 0 0 8px; }

/* iş kalemi satırı */
.mh-satir {
  display: grid; grid-template-columns: minmax(0, 1fr) 9.4rem 7.8rem; grid-template-areas: 'sec miktar tutar' 'alt alt alt';
  gap: 2px 10px; align-items: center; padding: 8px 4px 8px 6px; border-top: 1px dashed var(--hat-ince);
}
.mh-sec { grid-area: sec; min-width: 0; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .94rem; line-height: 1.3; padding: 4px 0; }
.mh-sec input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--vurgu); cursor: pointer; }
.mh-sec-ad { min-width: 0; }
.mh-satir:not(.secili) .mh-sec-ad { color: var(--soluk); }
.mh-urun { display: block; margin-top: 1px; font-size: .76rem; font-weight: 600; color: var(--vurgu-koyu); }
.mh-miktar { grid-area: miktar; min-width: 0; display: flex; align-items: center; gap: 4px; }
.mh-miktar-girdi {
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 38px; padding: 5px 8px; text-align: right; border: 1.5px solid var(--hat-ince); border-radius: var(--r-kucuk);
  background: var(--beyaz); color: var(--grafit); font: 600 1rem/1.2 var(--yazi);
}
.mh-miktar-girdi:focus { border-color: var(--antrasit); outline: 3px solid var(--vurgu-acik); outline-offset: 0; }
.mh-miktar-girdi::placeholder { color: var(--uyari); font-weight: 600; font-size: .82rem; }
.mh-satir:not(.secili) .mh-miktar-girdi { color: var(--soluk); background: transparent; }
.mh-satir.elle-miktar .mh-miktar-girdi { border-color: var(--vurgu); background: var(--vurgu-acik); }
.mh-satir.miktarsiz .mh-miktar-girdi { border-color: #C98A0B; }
.mh-birim { flex: none; width: 2.7em; font-size: .76rem; color: var(--soluk); }
.mh-sifirla { flex: none; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vurgu-koyu); cursor: pointer; }
.mh-sifirla:hover { background: var(--vurgu-acik); }
.mh-sifirla.gizli { visibility: hidden; }
.mh-satir-tutar { grid-area: tutar; min-width: 0; text-align: right; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.mh-satir-alt { grid-area: alt; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-left: 30px; }
.mh-satir-alt:empty { display: none; }
.mh-fiyat {
  min-width: 0; max-width: 100%; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 10px 3px 8px;
  border: 1px solid var(--hat-ince); border-radius: 999px; background: var(--beyaz); color: var(--grafit); font: 650 .8rem/1.2 var(--yazi); cursor: pointer; text-align: left;
}
.mh-fiyat:hover { border-color: var(--antrasit); }
.mh-fiyat .ikon { flex: none; color: var(--soluk); }
.mh-fiyat .rozet { font-size: .72rem; }
.mh-fiyat-deger { white-space: nowrap; }
.mh-fiyat-kaynak { min-width: 0; color: var(--soluk); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-formul { flex: 1 1 180px; min-width: 0; font-size: .76rem; color: var(--soluk); line-height: 1.35; }
.mh-satir.fiyatsiz { background: linear-gradient(90deg, rgba(252, 239, 210, .75), rgba(252, 239, 210, 0) 70%); }
.mh-satir.fiyatsiz .mh-fiyat { border-color: #E3B655; }

/* kart alt şeridi */
.mh-kart-alt { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px 12px; border-top: 1px solid var(--hat-ince); }
.mh-durum-kap { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.mh-kayit { min-width: 7.5em; font-size: .76rem; color: var(--soluk); }
.mh-kart-eylem { display: flex; align-items: center; gap: 4px; margin-left: auto; }

/* dar kart (telefon ya da dar ızgara hücresi) */
@container mhkart (max-width: 500px) {
  .mh-kart-bas { grid-template-columns: minmax(128px, 47%) minmax(0, 1fr); gap: 12px; padding: 12px 12px 10px; }
  .mh-govde { padding: 0 12px 6px; }
  .mh-ad { font-size: 1.1rem; }
  .mh-satir { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'sec sec' 'miktar tutar' 'alt alt'; gap: 4px 10px; }
  .mh-miktar { padding-left: 30px; max-width: 13rem; }
  .mh-grup-top { min-width: 0; }
  .mh-kart-alt { padding: 10px 12px 12px; }
}
@container mhkart (max-width: 359px) {
  .mh-meta span:nth-child(n + 3) { display: none; }
  .mh-grup-say { display: none; }
}

/* mahal türü seçimi (pencere ve boş durum) */
.mh-sablonlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 146px), 1fr)); gap: 10px; }
.mh-sablon {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 8px 8px 10px; text-align: left;
  background: var(--kagit); border: 1.5px solid var(--hat-ince); border-radius: var(--r-kucuk); color: var(--grafit); font: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.mh-sablon:hover { border-color: var(--antrasit); background: var(--beyaz); }
.mahal-plan-simge { width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 3px; background: var(--beyaz); border: 1px solid var(--hat-ince); border-radius: 3px; }
.mh-sablon-ad { font-weight: 700; font-size: .93rem; line-height: 1.2; }
.mh-sablon small { font-size: .74rem; color: var(--soluk); }
.mh-serbest { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding-top: 12px; border-top: 1px solid var(--hat); }
.mh-serbest .alan input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--hat); border-radius: var(--r-kucuk); background: var(--beyaz); font: 500 1rem/1.2 var(--yazi); }
.mh-bos { padding: 24px; border: 1.5px dashed var(--hat); border-radius: var(--r); background: var(--kagit); }
.mh-bos h2 { margin: 0 0 4px; }
.mh-bos > p { color: var(--soluk); }

/* fiyat kaynağı penceresi */
.mh-fiyat-pencere { gap: 12px; }
.mh-fp-ozet { margin: 0; max-width: none; }
.mh-fp-ozet small { display: block; margin-top: 2px; font-weight: 600; color: var(--vurgu-koyu); }
.mh-fp-bolum { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hat); }
.mh-fp-bolum h3 { margin: 0; font-size: 1rem; }
.mh-fp-bolum > .dugme { align-self: flex-start; }
.mh-fp-bolum p { margin: 0; }
.mh-poz-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mh-poz {
  width: 100%; display: grid; grid-template-columns: 7.6rem minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 10px 12px; text-align: left;
  background: var(--beyaz); border: 1.5px solid var(--hat-ince); border-radius: var(--r-kucuk); color: var(--grafit); font: inherit; cursor: pointer;
}
.mh-poz:hover { border-color: var(--antrasit); }
.mh-poz.secili { border-color: var(--vurgu); box-shadow: inset 0 0 0 1px var(--vurgu); }
.mh-poz-no { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-weight: 700; font-size: .88rem; }
.mh-poz-tanim { font-size: .88rem; line-height: 1.35; }
.mh-poz-fiyat { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.mh-fp-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.mh-fp-satir .alan input { width: 100%; }
@media (max-width: 559px) {
  .mh-poz { grid-template-columns: minmax(0, 1fr); }
  .mh-poz-fiyat { align-items: flex-start; }
  .mh-fp-satir { grid-template-columns: minmax(0, 1fr); }
  .mh-fp-satir .dugme { justify-self: start; }
}

/* iç mimarlık hizmet bedeli */
.mh-hizmet { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px 28px; align-items: end; padding: 16px 18px; background: var(--kagit); border: 1px dashed var(--hat); border-radius: var(--r); }
.mh-hizmet h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 4px; font-size: 1.05rem; }
.mh-hizmet h2 small { font-weight: 500; font-size: .8rem; color: var(--soluk); font-stretch: 100%; }
.mh-hizmet-metin p { margin: 0; font-size: .86rem; color: var(--soluk); }
.mh-hizmet-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.mh-hizmet-form .alan { width: 7.5rem; }
.mh-hizmet-durum { align-self: center; }
@media (max-width: 759px) { .mh-hizmet { grid-template-columns: minmax(0, 1fr); } }

/* hareket: kart ekleme / çıkarma (yalnız transform + opacity) */
.mh-giris { animation: mh-gir .52s cubic-bezier(.2, .8, .2, 1) both; }
.mh-cikis { animation: mh-cik .42s cubic-bezier(.4, 0, .6, 1) both; }
@keyframes mh-gir { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes mh-cik { to { opacity: 0; transform: scale(.96); } }

/* ---- tadilat özeti: mahal çubukları ve en pahalı kalemler */
.oz-iki { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 30px; align-items: start; margin: 0 0 24px; }
@media (max-width: 899px) { .oz-iki { grid-template-columns: minmax(0, 1fr); } }
.oz-bolum { min-width: 0; }
.oz-bolum h2 { margin: 0 0 6px; padding-bottom: 8px; font-size: 1.15rem; border-bottom: 2px solid var(--antrasit); }
.oz-cubuklar { list-style: none; margin: 0; padding: 0; }
.oz-cubuk-satir { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr) 9.4rem; gap: 6px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hat-ince); }
.oz-cubuk-ad { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.oz-cubuk-ad strong { font-size: .95rem; line-height: 1.25; }
.oz-cubuk-ad small { font-size: .76rem; color: var(--soluk); }
.oz-cubuk-iz { position: relative; display: block; height: 16px; min-width: 0; overflow: hidden; border: 1px solid var(--hat-ince); background: repeating-linear-gradient(-45deg, var(--hat-ince) 0 1px, transparent 1px 5px), var(--beyaz); }
.oz-dolu { display: block; height: 100%; background: var(--antrasit); transform-origin: left center; animation: oz-cubuk .85s cubic-bezier(.3, .7, .2, 1) both; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.oz-cubuk-satir:first-child .oz-dolu { background: var(--vurgu); }
.oz-cubuk-satir.diger .oz-dolu { background: var(--hat); }
@keyframes oz-cubuk { from { transform: scaleX(0); } }
.oz-cubuk-tutar { text-align: right; font-weight: 750; white-space: nowrap; }
.oz-cubuk-tutar small, .oz-en-tutar small { display: block; font-weight: 500; font-size: .76rem; color: var(--soluk); }
@media (max-width: 599px) {
  .oz-cubuk-satir { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'ad tutar' 'iz iz'; }
  .oz-cubuk-ad { grid-area: ad; } .oz-cubuk-iz { grid-area: iz; } .oz-cubuk-tutar { grid-area: tutar; }
}
.oz-enler { list-style: none; margin: 0; padding: 0; counter-reset: en; }
.oz-enler li { counter-increment: en; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--hat-ince); }
.oz-enler li::before { content: counter(en); font-weight: 800; font-stretch: 70%; font-size: 1.35rem; line-height: 1; color: var(--vurgu-koyu); }
.oz-en-ad { min-width: 0; }
.oz-en-ad strong { display: block; font-size: .92rem; line-height: 1.3; }
.oz-en-ad small { display: block; font-size: .76rem; color: var(--soluk); }
.oz-en-tutar { text-align: right; font-weight: 750; white-space: nowrap; }
.antet-hucre.uyarili > span { color: var(--uyari); }
.cetvel-mahal th:nth-child(2) { width: 132px; } .cetvel-mahal th:nth-child(6) { width: 216px; }
.cetvel-mahal td[data-etiket='Poz no'] { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cetvel-mahal .cetvel-grup th, .cetvel-mahal .cetvel-grup td { background: var(--hat-ince); font-weight: 750; font-stretch: 85%; }
.cetvel-mahal tr.fiyatsiz td { background: #FFFBF1; }
.ozet-tadilat > .bant { margin: -8px 0 16px; }
@media (max-width: 859px) { .cetvel-mahal tbody tr.cetvel-grup { background: var(--antrasit); border-color: var(--antrasit); } .cetvel-mahal .cetvel-grup th, .cetvel-mahal .cetvel-grup td { background: transparent; color: #fff; padding: 0; } .cetvel-mahal .cetvel-grup td { text-align: right; } }


/* ---------------------------------------------------------------- §16 üç resmi liste + Radye piyasa endeksi */
/* liste rozeti: hangi Bakanlık listesinden geldiği (çizgi işaret + ad); renk değil biçim ayırır */
.rozet-liste { gap: 4px; padding: 0 7px 0 5px; background: var(--beyaz); color: var(--grafit); box-shadow: inset 0 0 0 1px var(--hat); font-weight: 650; }
.rozet-liste .ikon { flex: none; stroke-width: 2.1; }
.rozet-liste.liste-mekanik .ikon, .rozet-liste.liste-elektrik .ikon { color: var(--vurgu-koyu); }
/* endeks rozeti: kutu grafiği işareti — ortanca + bıyıklar; tekil değer yok */
.rozet-endeks { gap: 5px; padding: 1px 9px 1px 6px; background: var(--endeks-acik); color: var(--endeks); box-shadow: inset 0 0 0 1px rgba(43, 90, 110, .28); white-space: normal; text-align: left; line-height: 1.35; }
.rozet-endeks .ikon { flex: none; stroke-width: 2.1; }
.rozet-endeks-metin { min-width: 0; overflow-wrap: anywhere; }
.rozet-endeks.kisa { white-space: nowrap; }
.rozet-endeks.kisa .rozet-endeks-metin { overflow: hidden; text-overflow: ellipsis; }
.poz-no { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }

/* yönetim: başlık + eylem tek satırda, üç sütunlu form */
.baslik-satiri { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 6px; }
.baslik-satiri h2 { margin: 0; }
.uc-sutun { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.donem-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.donem-liste .kaynak-url { grid-column: 1 / -1; }
.donem-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
@media (max-width: 559px) { .donem-liste li { grid-template-columns: minmax(0, 1fr); } }

/* Fiyat durumu: her liste bir pafta kartı. Üstte tarama bandı — aktif dönemi olan listede "dökülmüş" (dolu), yoksa boş çerçeve. */
.liste-kartlari { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 899px) { .liste-kartlari { grid-template-columns: minmax(0, 1fr); } }
.liste-kart {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px 16px 14px;
  background: var(--kagit); border: 1px solid var(--hat); border-radius: var(--r-kucuk); overflow: hidden;
}
.liste-kart::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-bottom: 1px solid var(--hat); background: transparent; }
.liste-kart.dolu { border-color: var(--antrasit); }
.liste-kart.dolu::before { background: var(--tarama), var(--kagit); border-bottom-color: var(--antrasit); transform-origin: left center; animation: lk-dok .7s cubic-bezier(.2, .8, .2, 1) both; }
.liste-kart.dolu:nth-child(2)::before { animation-delay: .12s; }
.liste-kart.dolu:nth-child(3)::before { animation-delay: .24s; }
@keyframes lk-dok { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.liste-kart-bas { display: flex; align-items: center; gap: 10px; min-width: 0; }
.liste-kart-isaret { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-kucuk); background: var(--antrasit); color: #F2F2EE; }
.liste-kart:not(.dolu) .liste-kart-isaret { background: transparent; color: var(--soluk); box-shadow: inset 0 0 0 1.5px var(--hat); }
.liste-kart-isaret .ikon { stroke-width: 1.9; }
.liste-kart.dolu .liste-kart-isaret .ikon { color: #F2F2EE; }
.liste-kart-ad { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.liste-kart-ad strong { font-size: 1.08rem; font-weight: 750; font-stretch: 82%; }
.liste-kart-ad small { color: var(--soluk); font-size: .8rem; font-variant-numeric: tabular-nums; }
.liste-kart-donem { display: flex; flex-direction: column; gap: 1px; padding: 10px 0 12px; border-top: 1px solid var(--hat-ince); border-bottom: 1px solid var(--hat-ince); }
.liste-kart-donem small { color: var(--soluk); font-size: .78rem; }
.liste-kart-ay { font-size: 1.6rem; font-weight: 800; font-stretch: 72%; line-height: 1.1; letter-spacing: -.01em; }
.liste-kart:not(.dolu) .liste-kart-ay { color: var(--soluk); font-weight: 650; }
.liste-kart-poz { font-size: .86rem; color: var(--soluk); }
.liste-kart-bilgi { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.liste-kart-bilgi > div { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.liste-kart-bilgi dt { color: var(--soluk); }
.liste-kart-bilgi dd { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.rozet-indirme { white-space: normal; overflow-wrap: anywhere; text-align: left; line-height: 1.35; padding-top: 2px; padding-bottom: 2px; }
.liste-kart-ozet { font-size: .8rem; overflow-wrap: anywhere; }
.liste-kart-neden { margin: 0; font-size: .84rem; color: var(--soluk); border-left: 3px solid var(--hat); padding-left: 10px; }
.liste-kart > .bant { margin: 0; }

/* Fiyatlarım: Radye piyasa endeksi bölümü */
.endeks-bolum { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--antrasit); }
.endeks-bas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.endeks-bas h2 { margin: 2px 0 4px; }
.endeks-bas p { margin: 0; }
.endeks-isaret { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-kucuk); background: var(--endeks); color: #fff; }
.endeks-isaret .ikon { stroke-width: 1.8; }
.endeks-liste { list-style: none; margin: 14px 0 0; padding: 0; }
.endeks-satir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem) 12.5rem; gap: 8px 16px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--hat-ince); }
.endeks-kalem { display: flex; flex-direction: column; min-width: 0; }
.endeks-kalem small { color: var(--soluk); font-size: .8rem; }
.endeks-deger { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; text-align: right; }
.endeks-deger strong { font-size: 1.05rem; }
.endeks-deger .rozet-endeks { max-width: 100%; }
.endeks-benim { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; }
.endeks-benim > .sayi { font-weight: 650; font-size: .9rem; }
.endeks-benim small { color: var(--soluk); margin-right: 6px; font-weight: 500; }
.fiyat-bos { margin-top: 22px; }
.endeks-bos { margin: 14px 0 0; padding: 12px 14px; background: var(--kagit); border: 1px dashed var(--hat); border-radius: var(--r-kucuk); color: var(--soluk); max-width: none; }
@media (max-width: 759px) {
  .endeks-satir { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .endeks-deger, .endeks-benim { align-items: flex-start; text-align: left; }
  .endeks-benim { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
}

/* Tadilat: fiyat düğmesinde kaynak — resmi listede liste işareti, endekste kutu grafiği rozeti */
.mh-fiyat-resmi { display: inline-flex; align-items: center; gap: 4px; }
.mh-fiyat-resmi > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 379px) { .mh-fiyat { flex-wrap: wrap; row-gap: 2px; border-radius: 16px; } .mh-fiyat-kaynak { white-space: normal; } }
.mh-fiyat-resmi .ikon { color: var(--vurgu-koyu); stroke-width: 2.1; }
.mh-fiyat.endeksli { border-color: rgba(43, 90, 110, .45); flex-wrap: wrap; row-gap: 4px; border-radius: 16px; padding-top: 4px; padding-bottom: 4px; }
.mh-fiyat .rozet-endeks { min-width: 0; font-size: .72rem; }
.mh-fp-listeler { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.mh-fp-endeks { background: linear-gradient(180deg, var(--endeks-acik), rgba(227, 237, 241, 0) 85%); margin: 0 -8px; padding: 12px 8px 4px; border-top-color: rgba(43, 90, 110, .4); }
.mh-fp-endeks-deger { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mh-fp-endeks-deger strong { font-size: 1.1rem; }
.cetvel td .rozet-endeks { display: flex; width: fit-content; max-width: 100%; margin-top: 4px; }

/* ---------------------------------------------------------------- hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .imza-imlec { animation: none; }
  .kesit-canli *, .kesit-cizgi::after, .logo-canli * { animation: none !important; }
  /* rehber: çizimler son karede durur, pencere geçişsiz açılır */
  .rh-sahne *, .rehber::backdrop { animation: none !important; }
  .rehber, .rehber::backdrop, .rh-sahne, .rh-adim, .rh-eylem, .rh-plak * { transition: none !important; }
  /* §14: girişler, halka, sayaç ve kaydırmalar son karede başlar (gecikmeler de kapalı) */
  .pk, .pk *, .zc-oge, .zc-dolu, .zil-ikon, .kayarak-cik, .kayarak-gir, .bildirim-sure { animation: none !important; }
  .zil-panel, .zil-rozet, .arsiv-dolu { transition: none !important; }
  /* §15: kart girişleri, çubuklar ve plan geçişleri kapalı (son kare) */
  .mh-giris, .mh-cikis, .oz-dolu { animation: none !important; }
  .mahal-plan *, .mh-izgara > li, .mh-grup-uyari, .tur-kart, .tur-isaret { transition: none !important; }
  /* §16: liste kartlarının tarama bandı dolu başlar */
  .liste-kart::before { animation: none !important; }
}

/* ---------------------------------------------------------------- yazdırma (A4) */
@page { size: A4; margin: 14mm 12mm 16mm; }
@media print {
  :root { --beton: #fff; --kagit: #fff; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .ust, .alt, .zil, .zil-panel, .sekmeler, .proje-ust-meta, .geri-bag, .arac-cubugu, .yazdirma-gizle, .bildirimler, .yukleme-istemi, .islem-hucre, .atla, .sekme-cubugu, .rehber-dugme, .rehber-sifirla, .rehber { display: none !important; }
  .ana { padding: 0; max-width: none; }
  .yazdirma-baslik { display: block; font-size: 15pt; margin: 0 0 8px; }
  .yazdirma-alt { display: block; position: fixed; bottom: 0; left: 0; right: 0; text-align: center; font-size: 8pt; color: #444; }
  .proje-ust { margin-bottom: 8px; }
  .antet, .ozet-tablo { break-inside: auto; }
  .ozet-tablo tr, .antet-hucre { break-inside: avoid; }
  .antet-hucre.vurgulu { background: #fff; color: #000; }
  .antet-hucre.vurgulu > span { color: #000; }
  .cetvel, .cetvel tbody { display: table-row-group; }
  .cetvel { display: table !important; }
  .cetvel thead { display: table-header-group !important; }
  .cetvel tbody tr { display: table-row !important; border: 0; padding: 0; margin: 0; }
  .cetvel td { display: table-cell !important; padding: 4px 6px; border-bottom: 1px solid #ccc; }
  .cetvel td::before { display: none !important; }
  .cetvel tfoot { display: table-footer-group !important; } .cetvel tfoot tr { display: table-row !important; padding: 0; } .cetvel tfoot th, .cetvel tfoot td { display: table-cell !important; padding: 4px 6px; }
  .cetvel caption { display: table-caption !important; }
  .cetvel td.sag { text-align: right; }
  a { text-decoration: none; }
}
