/* =========================================================================
   EVE — yapay zekâ asistanı: maskot, tanıtım blokları ve "iş başında" senaryo oynatıcı
   Maskot çizimi ERP'deki Core.Eve.ts / eve-kabuk.scss ile aynıdır; renkler temadan bağımsızdır.
   Sayfa parçaları: .eve-stage (sayfa hero'su), .evd (senaryo oynatıcı, eve.js), .eve-home (ana sayfa bloğu),
   .eve-band (çözümler bandı), .f-eve (footer şeridi), .mbadge (menü rozeti).
   ========================================================================= */
:root {
  --eve-turkuaz: #009ba4; --eve-turkuaz-acik: #2fc4cc; --eve-turkuaz-koyu: #007c85;
  --eve-petrol: #073e46; --eve-petrol-acik: #0f5a64; --eve-nane: #ddf1ed; --eve-kehribar: #f5a524; --eve-sonuk: #9eabb1;
  --eve-yay: cubic-bezier(.34, 1.56, .64, 1); --eve-yumusak: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- maskot ---------- */
.eve-maskot {
  --sol: 21px 105px; --sol-a: -165deg; --sag: 99px 105px; --sag-a: 165deg; --bas: 0deg; --bas-y: 0px; --anten: 0deg; --goz: 0px 0px;
  --eve-w: 72px;
  position: relative; width: var(--eve-w); height: calc(var(--eve-w) * 1.28); pointer-events: none; user-select: none; flex: none;
}
.eve-beden { position: absolute; inset: 0 0 auto; transform-origin: 50% 62%; animation: eve-suzul 3.4s ease-in-out infinite; will-change: transform; }
.eve-golge { position: absolute; inset: auto 18% 0; height: calc(var(--eve-w) * .12); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(7,62,70,.3), transparent 70%); animation: eve-golge 3.4s ease-in-out infinite; }
.on-dark .eve-golge, .tone-dark .eve-golge, .site-footer .eve-golge, .eve-band .eve-golge { background: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 70%); }
.eve-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 4px 6px rgba(7,62,70,.16)); }
.on-dark .eve-svg, .tone-dark .eve-svg, .site-footer .eve-svg { filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }

/* dolgular */
.eve-kafa, .eve-rozet, .eve-avuc-nokta { fill: var(--eve-turkuaz); stroke: var(--eve-turkuaz); }
.eve-kafa-alt, .eve-faset, .eve-boyun { fill: var(--eve-turkuaz-koyu); stroke: var(--eve-turkuaz-koyu); }
.eve-cam, .eve-govde-sekil, .eve-avuc { fill: var(--eve-petrol); stroke: var(--eve-petrol); }
.eve-goz ellipse, .eve-goz-uzgun, .eve-agiz-acik { fill: var(--eve-nane); }
.eve-anten-top, .eve-isilti { fill: var(--eve-kehribar); }
.eve-noktalar circle { fill: var(--eve-turkuaz-acik); }
.eve-govde-isik { fill: var(--eve-petrol-acik); opacity: .7; }
.eve-anten-isik { fill: #ffe2a3; }
.eve-kafa, .eve-kafa-alt, .eve-cam, .eve-rozet { stroke-width: 8; stroke-linejoin: round; }
.eve-cam { stroke-width: 6; }
.eve-rozet { stroke-width: 2; }
.eve-faset, .eve-boyun, .eve-govde-sekil, .eve-avuc, .eve-avuc-nokta { stroke: none; }
.eve-faset { opacity: .4; }
/* koyu zeminde petrol gövde kaybolmasın */
.on-dark .eve-govde-sekil, .tone-dark .eve-govde-sekil, .site-footer .eve-govde-sekil, .eve-band .eve-govde-sekil,
.on-dark .eve-avuc, .tone-dark .eve-avuc, .site-footer .eve-avuc, .eve-band .eve-avuc { fill: var(--eve-petrol-acik); }
.on-dark .eve-govde-isik, .tone-dark .eve-govde-isik, .site-footer .eve-govde-isik, .eve-band .eve-govde-isik { fill: #17727d; }

/* çizgiler */
.eve-parlama, .eve-yansima, .eve-goz-mutlu, .eve-agiz, .eve-agiz-uzgun, .eve-anten-sap, .eve-anten-halka, .eve-parmak, .eve-ses path {
  fill: none; stroke: var(--eve-nane); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.eve-anten-sap, .eve-parmak { stroke: var(--eve-petrol); }
.on-dark .eve-anten-sap, .tone-dark .eve-anten-sap, .site-footer .eve-anten-sap, .eve-band .eve-anten-sap,
.on-dark .eve-parmak, .tone-dark .eve-parmak, .site-footer .eve-parmak, .eve-band .eve-parmak { stroke: var(--eve-petrol-acik); }
.eve-parlama, .eve-ses path { stroke: var(--eve-turkuaz-acik); }
.eve-anten-halka { stroke: var(--eve-kehribar); opacity: 0; }
.eve-yansima { stroke: #fff; opacity: .07; }
.eve-parmak, .eve-yansima { stroke-width: 4.6; }
.eve-parlama, .eve-goz-mutlu, .eve-agiz, .eve-agiz-uzgun { stroke-width: 3; }
.eve-anten-halka { stroke-width: 1.5; }

/* hareketli parçalar */
.eve-bas, .eve-anten, .eve-el, .eve-el-ic { transform-box: view-box; transform-origin: 0 0; transition: translate .42s var(--eve-yay), rotate .42s var(--eve-yay); }
.eve-bas { transform-origin: 60px 84px; rotate: var(--bas); translate: 0 var(--bas-y); }
.eve-anten { transform-origin: 60px 21px; rotate: var(--anten); }
.eve-el-sol { translate: var(--sol); rotate: var(--sol-a); }
.eve-el-sag { translate: var(--sag); rotate: var(--sag-a); }
.eve-el-ic { transform-origin: 0 7px; }
.eve-goz, .eve-agiz, .eve-agiz-acik, .eve-anten-halka, .eve-isilti { transform-box: fill-box; transform-origin: center; }
.eve-agiz, .eve-agiz-acik { transform-origin: 50% 0; }
.eve-goz { translate: var(--goz); transition: translate .3s var(--eve-yumusak), scale .08s linear, opacity .2s; }
.eve-kirp .eve-goz { scale: 1 .08; }
.eve-goz-alt, .eve-agiz-uzgun, .eve-agiz-acik, .eve-sus { opacity: 0; }
.eve-goz-alt, .eve-agiz, .eve-agiz-uzgun, .eve-agiz-acik, .eve-sus, .eve-parmak, .eve-anten-top { transition: opacity .2s, scale .2s, fill .3s; }

/* duruşlar */
.eve-maskot[data-durum="selam"] { --bas: -4deg; --sol: 9px 46px; --sol-a: -14deg; }
[data-durum="selam"] .eve-agiz { opacity: 0; } [data-durum="selam"] .eve-agiz-acik { opacity: 1; }
[data-durum="selam"] .eve-el-sol > g { animation: eve-salla .5s ease-in-out infinite alternate; }

.eve-maskot[data-durum="dusun"] { --bas: 3deg; --goz: 2.6px -3.4px; --sol: 40px 86px; --sol-a: 28deg; }
[data-durum="dusun"] .eve-agiz { scale: .5 1; }
[data-durum="dusun"] .eve-noktalar { opacity: 1; }
[data-durum="dusun"] .eve-noktalar circle { animation: eve-durt .7s ease-in-out infinite alternate; }
[data-durum="dusun"] .eve-noktalar circle:nth-child(2) { animation-delay: .18s; }
[data-durum="dusun"] .eve-noktalar circle:nth-child(3) { animation-delay: .36s; }
[data-durum="dusun"] .eve-anten-halka { animation: eve-halka 1.6s ease-out infinite; }

.eve-maskot[data-durum="konus"] { --bas: -2deg; }
[data-durum="konus"] .eve-agiz { opacity: 0; }
[data-durum="konus"] .eve-agiz-acik { opacity: 1; animation: eve-konus .3s ease-in-out infinite alternate; }
[data-durum="konus"] .eve-ses { opacity: 1; }
[data-durum="konus"] .eve-ses path { animation: eve-yanip .5s ease-in-out infinite alternate; }

.eve-maskot[data-durum="dinle"] { --bas: -5deg; --goz: -2px 0px; --sag: 108px 66px; --sag-a: 40deg; }
[data-durum="dinle"] .eve-ses { opacity: 1; }
[data-durum="dinle"] .eve-ses path { animation: eve-yanip .9s ease-in-out infinite alternate; }
[data-durum="dinle"] .eve-ses-sag path:last-child { animation-delay: .3s; }

.eve-maskot[data-durum="kutla"] { --sol: 9px 46px; --sol-a: -14deg; --sag: 111px 46px; --sag-a: 14deg; }
[data-durum="kutla"] .eve-goz { opacity: 0; }
[data-durum="kutla"] .eve-goz-mutlu, [data-durum="kutla"] .eve-agiz-acik, [data-durum="kutla"] .eve-isiltilar { opacity: 1; }
[data-durum="kutla"] .eve-agiz { opacity: 0; }
[data-durum="kutla"] .eve-isilti { animation: eve-isilti 1.1s ease-in-out infinite; }
[data-durum="kutla"] .eve-isiltilar g:nth-child(2) .eve-isilti { animation-delay: .25s; }
[data-durum="kutla"] .eve-isiltilar g:nth-child(3) .eve-isilti { animation-delay: .5s; }
[data-durum="kutla"] .eve-isiltilar g:nth-child(4) .eve-isilti { animation-delay: .75s; }
[data-durum="kutla"] .eve-beden { animation: eve-zipla .72s var(--eve-yumusak) infinite; }

.eve-maskot[data-durum="isaret"] { --bas: 6deg; --goz: 3px 1px; --sag: 113px 64px; --sag-a: 78deg; }
[data-durum="isaret"] .eve-el-sag .eve-p1, [data-durum="isaret"] .eve-el-sag .eve-p3 { opacity: 0; }
[data-durum="isaret"] .eve-el-sag > g { animation: eve-durt .6s ease-in-out infinite alternate; --durt: 4px; }

.eve-maskot[data-durum="yaz"] { --bas: 4deg; --bas-y: 2px; --goz: 0px 3px; --sag: 92px 78px; --sag-a: 120deg; --sol: 30px 80px; --sol-a: -120deg; }
[data-durum="yaz"] .eve-el-sag > g { animation: eve-salla .22s ease-in-out infinite alternate; --salla: 6deg; }

.eve-maskot[data-durum="uzgun"] { --bas: 5deg; --bas-y: 3px; --anten: 26deg; --sol: 28px 110px; --sol-a: -175deg; --sag: 92px 110px; --sag-a: 175deg; }
[data-durum="uzgun"] .eve-goz { opacity: 0; }
[data-durum="uzgun"] .eve-goz-uzgun, [data-durum="uzgun"] .eve-agiz-uzgun { opacity: 1; }
[data-durum="uzgun"] .eve-agiz { opacity: 0; }
[data-durum="uzgun"] .eve-anten-top { fill: var(--eve-sonuk); }
[data-durum="uzgun"] .eve-anten-isik { opacity: .3; }

@keyframes eve-suzul { 50% { transform: translateY(-4px); } }
@keyframes eve-golge { 50% { transform: scaleX(.82); opacity: .65; } }
@keyframes eve-zipla { 42% { transform: translateY(-11px); } 70% { transform: translateY(1px); } }
@keyframes eve-salla { from { transform: rotate(calc(var(--salla, 16deg) * -1)); } to { transform: rotate(var(--salla, 16deg)); } }
@keyframes eve-durt { to { transform: translateY(calc(var(--durt, 2.6px) * -1)); } }
@keyframes eve-konus { from { transform: scaleY(.28); } }
@keyframes eve-yanip { from { opacity: .2; } }
@keyframes eve-halka { from { opacity: .75; } to { transform: scale(2.4); opacity: 0; } }
@keyframes eve-isilti { 0%, 100% { transform: scale(.3); opacity: .2; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* ---------- menü rozeti ---------- */
.mbadge {
  display: inline-block; margin-left: 7px; padding: 2px 7px; border-radius: 99px; vertical-align: 2px;
  background: #007780; color: #fff; font: 700 .56rem/1.5 var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-style: normal;
}
.mod-tile .mbadge { vertical-align: 1px; }
.drawer .mbadge { margin-left: 8px; }

/* ---------- EVE sayfası: hero sahnesi ---------- */
.eve-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.eve-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.eve-stage { position: relative; aspect-ratio: 1 / .92; max-width: 520px; margin-inline: auto; width: 100%; display: grid; place-items: center; }
.eve-stage-glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(25,195,201,.5), rgba(0,155,164,.14) 45%, transparent 70%); filter: blur(12px); animation: pulse 5s ease-in-out infinite; }
.eve-stage-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(95,217,220,.24); animation: spin 70s linear infinite; }
.eve-stage-ring.r2 { inset: 20%; border-style: solid; border-color: rgba(95,217,220,.1); animation-duration: 100s; animation-direction: reverse; }
.eve-stage-maskot { --eve-w: clamp(150px, 20vw, 230px); position: relative; z-index: 2; }
.eve-bubble {
  position: absolute; left: 50%; top: 9%; translate: -50% 0; z-index: 3; max-width: min(330px, 86%); padding: 12px 16px; border-radius: 18px 18px 18px 6px;
  background: #fff; color: var(--petrol); font: 600 .95rem/1.4 var(--font-head); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s, transform .45s var(--eve-yay);
}
.eve-bubble.show { opacity: 1; transform: none; }
.eve-bubble::after { content: ""; position: absolute; left: 22px; bottom: -8px; width: 16px; height: 16px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.eve-orbs { position: absolute; inset: 0; pointer-events: none; }
.eve-orb {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 9px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font: 600 .78rem var(--font-head); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6);
  animation: bob 8s ease-in-out infinite;
}
.eve-orb .icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(0,155,164,.35); color: var(--turkuaz-300); }
.eve-orb.o1 { left: -2%; top: 14%; animation-delay: -1s; }
.eve-orb.o2 { right: -4%; top: 30%; animation-delay: -3s; }
.eve-orb.o3 { left: 2%; bottom: 20%; animation-delay: -5s; }
.eve-orb.o4 { right: 0; bottom: 10%; animation-delay: -2s; }
.eve-hero .hero-note span { white-space: nowrap; }

/* ---------- senaryo oynatıcı (.evd) ---------- */
.evd { position: relative; display: grid; gap: 14px; }
.evd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.evd-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 8px; border-radius: 999px; white-space: nowrap; cursor: pointer;
  font: 600 .86rem var(--font-head); color: var(--soluk); background: #fff; border: 1px solid var(--cizgi);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); position: relative; overflow: hidden;
}
.evd-chip .icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--nane-50); color: var(--petrol); transition: background .3s, color .3s; }
.evd-chip:hover { color: var(--petrol); border-color: var(--turkuaz); transform: translateY(-1px); }
.evd-chip[aria-pressed="true"] { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.evd-chip[aria-pressed="true"] .icon { background: var(--turkuaz); color: #fff; }
.evd-chip i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--turkuaz-400); }
.evd-chip[aria-pressed="true"] i { animation: evdProg var(--evd-dur, 24s) linear forwards; }
@keyframes evdProg { to { width: 100%; } }
.tone-dark .evd-chip, .on-dark .evd-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.76); }
.tone-dark .evd-chip .icon, .on-dark .evd-chip .icon { background: rgba(0,155,164,.2); color: var(--turkuaz-300); }
.tone-dark .evd-chip:hover, .on-dark .evd-chip:hover { color: #fff; border-color: rgba(95,217,220,.5); }
.tone-dark .evd-chip[aria-pressed="true"], .on-dark .evd-chip[aria-pressed="true"] { background: rgba(0,155,164,.26); border-color: rgba(95,217,220,.6); color: #fff; }
.tone-dark .evd-chip[aria-pressed="true"] .icon, .on-dark .evd-chip[aria-pressed="true"] .icon { background: var(--turkuaz); color: #fff; }

.evd-win { position: relative; border-radius: 18px; overflow: hidden; background: #0b1626; border: 1px solid rgba(7,62,70,.2); box-shadow: var(--shadow-lg); font-size: .74rem; color: var(--murekkep); }
.tone-dark .evd-win, .on-dark .evd-win { border-color: rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 30px 90px -40px rgba(0,155,164,.6); }
.evd-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #101d30; border-bottom: 1px solid rgba(255,255,255,.07); }
.evd-bar i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #a9e3c8; }
.evd-bar i:first-child { background: #f3b4b6; }
.evd-bar i:nth-child(2) { background: #f5d59a; }
.evd-url { display: inline-flex; align-items: center; gap: 8px; min-width: 0; margin-left: 10px; padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.62); font-size: .72rem; }
.evd-url .icon { width: 12px; height: 12px; color: var(--turkuaz-300); }
.evd-url b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Gövde sabit yükseklikte: senaryo ilerledikçe içerik büyüyünce pencere uzayıp sayfayı itmesin (kaydırma sıçraması). Mesajlar kendi içinde kayar. */
.evd-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr); height: var(--evd-h, 500px); }
.evd-erp, .evd-panel { min-height: 0; overflow: hidden; }
.evd-panel { grid-template-columns: minmax(0, 1fr); } /* tek satırlık kart başlıkları mesaj alanını panelden genişletmesin */

/* ERP tarafı */
.evd-erp { display: grid; grid-template-columns: 44px minmax(0, 1fr); background: #f2f5f5; min-width: 0; }
.evd-rail { background: var(--petrol-950); display: grid; align-content: start; justify-items: center; gap: 12px; padding: 12px 0; }
.evd-rail i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.1); }
.evd-rail i:first-child { background: var(--turkuaz); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border-radius: 0; }
.evd-rail i.on { background: rgba(0,155,164,.55); box-shadow: 0 0 0 2px rgba(95,217,220,.4); }
.evd-page { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-width: 0; }
.evd-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: var(--petrol-900); overflow: hidden; }
.evd-tab { font: 600 .66rem var(--font-head); color: rgba(255,255,255,.6); padding: 7px 11px; border-radius: 8px 8px 0 0; background: rgba(255,255,255,.06); white-space: nowrap; }
.evd-tab.on { background: #fff; color: var(--petrol); animation: fadeUp .3s var(--ease); }
.evd-pagebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--cizgi); min-width: 0; }
.evd-pagebar .pt { min-width: 0; display: grid; }
.evd-pagebar .pt small { font-size: .62rem; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-pagebar .pt b { font: 700 .78rem var(--font-head); color: var(--petrol); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-cmd { display: flex; gap: 5px; flex: none; }
.evd-cmd span { padding: 5px 9px; border-radius: 7px; border: 1px solid var(--cizgi); font: 600 .64rem var(--font-head); color: var(--soluk); background: #fff; white-space: nowrap; transition: transform .15s, background .2s, color .2s; }
.evd-cmd span.pri { background: var(--turkuaz); border-color: var(--turkuaz); color: #fff; }
.evd-cmd span.pressed { transform: scale(.92); background: var(--petrol); border-color: var(--petrol); color: #fff; }
.evd-page { position: relative; overflow: hidden; }
.evd-content { position: relative; padding: 12px; min-height: 0; }
.evd-sb { display: grid; align-content: start; gap: 10px; overflow: hidden; min-height: 100%; }
.evd-sb > * { animation: fadeUp .4s var(--ease); }

.evd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.evd-kpis > div { padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--cizgi); min-width: 0; }
.evd-kpis small { display: block; font-size: .6rem; color: var(--soluk); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-kpis b { display: block; font: 800 .92rem/1.2 var(--font-head); color: var(--petrol); margin-top: 2px; letter-spacing: -.02em; white-space: nowrap; }
.evd-skel { display: grid; gap: 8px; }
.evd-skel i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #e6ecec, #f6f8f8, #e6ecec); background-size: 200% 100%; animation: evdShimmer 1.2s linear infinite; }
.evd-skel i:nth-child(2) { width: 70%; } .evd-skel i:nth-child(3) { width: 85%; height: 90px; } .evd-skel i:nth-child(4) { width: 55%; }
@keyframes evdShimmer { to { background-position: -200% 0; } }
.evd-bars { display: flex; align-items: end; gap: 5px; height: 92px; padding: 10px 10px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--cizgi); position: relative; }
.evd-bars .b { flex: 1; height: 0; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--turkuaz-400), var(--turkuaz)); position: relative; transition: height .9s var(--ease); }
.evd-bars .b span { position: absolute; left: 50%; bottom: -15px; translate: -50% 0; font-size: .52rem; color: var(--soluk); white-space: nowrap; }
.evd-rtable, .evd-lines { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--cizgi); border-radius: 10px; overflow: hidden; }
.evd-rtable th, .evd-lines th { text-align: left; font: 700 .58rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); padding: 6px 8px; border-bottom: 1.5px solid var(--petrol); background: #fff; white-space: nowrap; }
.evd-rtable td, .evd-lines td { padding: 6px 8px; border-bottom: 1px solid var(--cizgi); font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.evd-rtable td:first-child, .evd-lines td:first-child { font-weight: 600; color: var(--petrol); }
.evd-rtable td.n, .evd-lines td.n, .evd-rtable th.n, .evd-lines th.n { text-align: right; font-variant-numeric: tabular-nums; }
.evd-lines td:empty::after { content: "—"; color: var(--cizgi); }
.evd-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.evd-field { display: grid; gap: 3px; min-width: 0; }
.evd-field.w2 { grid-column: span 2; }
.evd-field label { font: 600 .56rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-field span { display: block; min-height: 30px; padding: 7px 9px; border: 1px solid var(--cizgi); border-radius: 8px; background: #fff; font-size: .68rem; color: var(--murekkep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .3s, background .3s; }
.evd-field span:empty::after { content: attr(data-ph); color: #a9b7ba; }
.fill { animation: evdFill .6s var(--ease); }
@keyframes evdFill { 0% { background: var(--nane); } 100% { background: #fff; } }
.evd-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.evd-totals > div { padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--cizgi); display: grid; }
.evd-totals small { font-size: .58rem; color: var(--soluk); font-weight: 600; }
.evd-totals b { font: 800 .84rem/1.2 var(--font-head); color: var(--petrol); min-height: 1.1em; white-space: nowrap; }
.evd-totals .g { background: var(--petrol); border-color: var(--petrol); }
.evd-totals .g small { color: rgba(255,255,255,.65); } .evd-totals .g b { color: #fff; }
.evd-chipst { display: inline-block; padding: 2px 8px; border-radius: 99px; font: 700 .58rem var(--font-head); background: #fff1d9; color: #a2670a; transition: background .3s, color .3s; }
.evd-chipst.ok { background: #dff4ea; color: #0e6b48; }
.evd-chipst.send { background: var(--nane); color: var(--petrol); }
.evd-pdfwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.evd-pdf { position: relative; padding: 12px 12px 14px; border-radius: 6px; background: #fff; box-shadow: 0 6px 20px -10px rgba(7,62,70,.4); border: 1px solid var(--cizgi); display: grid; gap: 6px; align-content: start; min-height: 150px; }
.evd-pdf::before { content: "PDF"; position: absolute; top: 8px; right: 8px; font: 800 .5rem var(--font-head); letter-spacing: .1em; color: #c0343a; border: 1px solid #c0343a; padding: 1px 4px; border-radius: 3px; }
.evd-pdf b { font: 800 .7rem var(--font-head); color: var(--petrol); }
.evd-pdf i { display: block; height: 6px; border-radius: 3px; background: #e3e9e9; }
.evd-pdf i.s { width: 60%; } .evd-pdf i.m { width: 80%; }
.evd-pdf .tot { margin-top: 4px; display: flex; justify-content: space-between; font: 700 .62rem var(--font-head); color: var(--petrol); border-top: 1px dashed var(--cizgi); padding-top: 6px; }
.evd-scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--turkuaz-400); box-shadow: 0 0 10px var(--turkuaz-400); animation: evdScan 1.6s ease-in-out infinite; }
@keyframes evdScan { 0% { top: 8%; } 100% { top: 92%; } }
.evd-match { display: grid; gap: 5px; align-content: start; }
.evd-match > div { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--cizgi); font-size: .64rem; }
.evd-match .ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--nane-50); color: var(--soluk); }
.evd-match .ic .icon { width: 11px; height: 11px; stroke-width: 3; }
.evd-match > div.ok .ic { background: var(--ok); color: #fff; }
.evd-match > div.ask .ic { background: var(--warn); color: #fff; }
.evd-match > div.ask { border-color: rgba(233,162,59,.6); }
.evd-match small { color: var(--soluk); font-size: .58rem; white-space: nowrap; }
.evd-match b { font-weight: 600; color: var(--petrol); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-home { display: grid; gap: 10px; }
.evd-placeholder { height: 110px; border-radius: 10px; background: repeating-linear-gradient(135deg, #fff 0 10px, #f6f8f8 10px 20px); border: 1px dashed var(--cizgi); }
.evd-toast { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: #0e6b48; color: #fff; font: 600 .66rem var(--font-head); box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); animation: fadeUp .4s var(--ease); }
.evd-toast .icon { width: 13px; height: 13px; }

/* vurgu, maskot ve balon */
.evd-vurgu { position: absolute; z-index: 3; border-radius: 10px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--turkuaz), 0 0 0 7px rgba(0,155,164,.16); transition: all .5s var(--ease); }
.evd-vurgu.show { opacity: 1; }
.evd-maskot { --eve-w: 54px; position: absolute; right: 12px; bottom: 10px; z-index: 5; transition: left .65s var(--eve-yumusak), top .65s var(--eve-yumusak), right .65s var(--eve-yumusak), bottom .65s var(--eve-yumusak); }
.evd-say { position: absolute; z-index: 6; max-width: 210px; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: var(--petrol); color: #fff; font: 500 .66rem/1.4 var(--font-body); box-shadow: 0 14px 28px -14px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--eve-yay), left .5s var(--eve-yumusak), top .5s var(--eve-yumusak); pointer-events: none; }
.evd-say.show { opacity: 1; transform: none; }
.evd-say .st { display: block; margin-top: 5px; font: 700 .56rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--turkuaz-300); }

/* EVE paneli */
.evd-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; border-left: 1px solid var(--cizgi); min-width: 0; }
.evd-ph { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid var(--cizgi); background: linear-gradient(180deg, #fff, var(--nane-50)); }
.evd-ph .eve-maskot { --eve-w: 28px; }
.evd-ph .eve-beden { animation: none; } .evd-ph .eve-golge { display: none; }
.evd-ph .nm { min-width: 0; display: grid; }
.evd-ph b { font: 800 .8rem var(--font-head); color: var(--petrol); letter-spacing: .02em; }
.evd-ph small { font-size: .6rem; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-ph small.live { color: var(--turkuaz); font-weight: 600; }
.evd-credit { margin-left: auto; flex: none; font: 700 .6rem var(--font-head); color: var(--petrol); padding: 4px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--cizgi); display: inline-flex; gap: 5px; align-items: center; transition: transform .2s, border-color .3s; }
.evd-credit .icon { width: 11px; height: 11px; color: var(--eve-kehribar); }
.evd-credit.tick { transform: scale(1.08); border-color: var(--turkuaz); }
.evd-msgs { padding: 12px; display: grid; gap: 8px; align-content: start; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; }
.evd-msgs::-webkit-scrollbar { display: none; }
.evd-msg { max-width: 94%; padding: 8px 11px; border-radius: 14px; font-size: .72rem; line-height: 1.45; animation: fadeUp .35s var(--ease); }
.evd-msg.user { justify-self: end; background: var(--petrol); color: #fff; border-bottom-right-radius: 4px; }
.evd-msg.ai { justify-self: start; background: var(--nane-50); color: var(--murekkep); border: 1px solid var(--cizgi); border-bottom-left-radius: 4px; }
.evd-msg .ex { display: flex; align-items: center; gap: 5px; font: 700 .56rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--turkuaz); margin-bottom: 3px; }
.evd-msg .ex .icon { width: 11px; height: 11px; }
.evd-msg .kr { display: block; margin-top: 5px; font: 600 .56rem var(--font-head); color: var(--soluk); }
.evd-att { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.14); font: 600 .62rem var(--font-head); margin-bottom: 6px; }
.evd-att .icon { width: 12px; height: 12px; }
.evd-status { display: flex; align-items: center; gap: 7px; font: 600 .64rem var(--font-head); color: var(--turkuaz); padding: 2px 4px; }
.evd-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--turkuaz); animation: typing 1s infinite; }
.evd-status i:nth-child(2) { animation-delay: .15s; } .evd-status i:nth-child(3) { animation-delay: .3s; }
.evd-card { max-width: 96%; border: 1px solid var(--cizgi); border-radius: 12px; background: #fff; padding: 10px; display: grid; gap: 8px; font-size: .68rem; box-shadow: var(--shadow-sm); animation: fadeUp .4s var(--ease); }
.evd-card .ch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.evd-card .ci { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--nane); color: var(--petrol); }
.evd-card .ci .icon { width: 15px; height: 15px; }
.evd-card .ch > div { min-width: 0; }
.evd-card .ch b { display: block; font: 700 .74rem var(--font-head); color: var(--petrol); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-card .ch small { display: block; color: var(--soluk); font-size: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evd-card .note { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; font-size: .62rem; font-weight: 600; }
.evd-card .note.warn { background: #fff3de; color: #8a5a07; }
.evd-card .note.ok { background: #e4f6ee; color: #0e6b48; }
.evd-card .note.irr { background: #fce8e8; color: #9b2c30; }
.evd-card .note .icon { width: 12px; height: 12px; flex: none; }
.evd-card .det { display: grid; gap: 3px; font-size: .62rem; color: var(--soluk); padding-left: 2px; }
.evd-card .det span::before { content: "·"; margin-right: 6px; color: var(--turkuaz); font-weight: 800; }
.evd-card .acts { display: flex; gap: 6px; justify-content: flex-end; }
.evd-card .acts span { padding: 6px 11px; border-radius: 8px; font: 600 .64rem var(--font-head); border: 1px solid var(--cizgi); color: var(--soluk); background: #fff; transition: transform .15s, background .2s; }
.evd-card .acts .ok { background: var(--turkuaz); color: #fff; border-color: var(--turkuaz); }
.evd-card .acts .pressed { transform: scale(.93); background: var(--petrol); border-color: var(--petrol); color: #fff; }
.evd-card .res { display: none; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #e4f6ee; color: #0e6b48; font-weight: 600; font-size: .62rem; }
.evd-card .res .icon { width: 12px; height: 12px; }
.evd-card.done .acts { display: none; }
.evd-card.done .res { display: flex; animation: fadeUp .3s var(--ease); }
.evd-card .opts { display: grid; gap: 5px; }
.evd-card .opts span { padding: 7px 9px; border-radius: 8px; border: 1px solid var(--cizgi); font-size: .64rem; color: var(--murekkep); transition: background .25s, border-color .25s; }
.evd-card .opts span.on { border-color: var(--turkuaz); background: var(--nane-50); font-weight: 600; color: var(--petrol); }
.evd-card .mini { display: flex; align-items: end; gap: 3px; height: 38px; }
.evd-card .mini i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--turkuaz-400), var(--turkuaz)); height: 0; transition: height .8s var(--ease); }
.evd-input { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 12px; border-radius: 12px; border: 1px solid var(--cizgi); font-size: .7rem; color: var(--murekkep); min-height: 40px; transition: border-color .3s, box-shadow .3s; }
.evd-input.on { border-color: var(--turkuaz); box-shadow: 0 0 0 4px rgba(0,155,164,.12); }
.evd-input .txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.evd-input .txt:empty::after { content: "EVE'ye yazın ya da basılı tutup konuşun…"; color: var(--soluk); }
.evd-input .caret { flex: none; width: 1.5px; height: 14px; background: var(--petrol); animation: evdCaret 1s steps(1) infinite; }
@keyframes evdCaret { 50% { opacity: 0; } }
.evd-input .mic, .evd-input .clip { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--soluk); }
.evd-input .mic .icon, .evd-input .clip .icon { width: 14px; height: 14px; }
.evd-input .send { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--turkuaz); color: #fff; transition: transform .15s, background .2s; }
.evd-input .send .icon { width: 14px; height: 14px; }
.evd-input .send.pressed { transform: scale(.9); background: var(--petrol); }

/* kompakt (ana sayfa) */
.evd.compact .evd-body { grid-template-columns: minmax(0, 1.15fr) minmax(230px, 1fr); --evd-h: 480px; }
.evd.compact .evd-rail { display: none; }
.evd.compact .evd-erp { grid-template-columns: 1fr; }
.evd.compact .evd-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evd.compact .evd-chips .evd-chip { height: 38px; font-size: .8rem; }
/* dar pencerede tablo ve grafik sığsın: KDV kolonu, 61-90 / 90+ kolonları ve her ikinci çubuk etiketi gizlenir */
.evd.compact .evd-lines th:nth-child(4), .evd.compact .evd-lines td:nth-child(4),
.evd.compact .evd-rtable th:nth-child(n+5), .evd.compact .evd-rtable td:nth-child(n+5) { display: none; }
.evd.compact .evd-bars .b:nth-child(even) span { display: none; }
.evd.compact .evd-field[data-fk="belge"], .evd.compact .evd-field[data-fk="odeme"] { display: none; }
.evd-lines, .evd-rtable { table-layout: fixed; }
.evd-lines th:first-child, .evd-rtable th:first-child { width: 36%; }

@media (max-width: 1100px) {
  .eve-hero .hero-grid { grid-template-columns: 1fr; }
  .eve-stage { max-width: 440px; }
}
@media (max-width: 820px) {
  .evd-body, .evd.compact .evd-body { grid-template-columns: 1fr; grid-template-rows: 300px 340px; height: auto; }
  .evd-panel { border-left: 0; border-top: 1px solid var(--cizgi); }
  .evd-rail { display: none; }
  .evd-erp { grid-template-columns: 1fr; }
  .evd-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evd-pdfwrap { grid-template-columns: 1fr; }
  .evd-pdf { display: none; }
  .eve-orb.o2, .eve-orb.o3 { display: none; }
}
@media (max-width: 600px) {
  .evd-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .evd-chips::-webkit-scrollbar { display: none; }
  .evd-kpis, .evd-totals { grid-template-columns: 1fr 1fr; }
  .eve-bubble { font-size: .84rem; max-width: 92%; }
  .eve-orb { display: none; }
}

/* ---------- ana sayfa EVE bloğu ---------- */
.eve-home .split { grid-template-columns: .9fr 1.25fr; align-items: center; }
.eve-home .eve-home-head { display: flex; align-items: center; gap: 14px; }
.eve-home .eve-home-head .eve-maskot { --eve-w: 64px; }
.eve-home .eve-home-head .eyebrow { margin: 0; }
.eve-home h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.eve-home .checks li { color: rgba(255,255,255,.84); }
.eve-home .hero-actions { margin-top: 10px; }
.eve-home .split-media::before { background: radial-gradient(circle at 60% 40%, rgba(0,155,164,.35), transparent 70%); filter: blur(30px); }
.eve-home .evd-chips .evd-chip { height: 38px; font-size: .8rem; }
@media (max-width: 1100px) { .eve-home .split { grid-template-columns: 1fr; } }

/* ---------- çözümler bandı ---------- */
.eve-band {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px); align-items: center;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.5vw, 40px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: rgba(255,255,255,.8);
  background: radial-gradient(700px 300px at 85% 0%, rgba(0,155,164,.5), transparent 60%), linear-gradient(120deg, var(--petrol-950), var(--petrol) 70%, var(--petrol-700));
  transition: transform .45s var(--ease), box-shadow .45s;
}
.eve-band:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.eve-band .hexgrid { opacity: .7; }
.eve-band .eve-maskot { --eve-w: clamp(70px, 8vw, 96px); }
.eve-band .eb-text { display: grid; gap: 8px; min-width: 0; }
.eve-band .eb-text .eyebrow { color: var(--turkuaz-400); }
.eve-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.eve-band p { color: rgba(255,255,255,.72); max-width: 64ch; }
.eve-band .eb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.eve-band .eb-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font: 600 .74rem var(--font-head); color: #fff; }
.eve-band .eb-chips .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(0,155,164,.5); color: #fff; }
.eve-band .btn { flex: none; }
@media (max-width: 820px) { .eve-band { grid-template-columns: auto minmax(0, 1fr); } .eve-band .btn { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 480px) { .eve-band { grid-template-columns: 1fr; } .eve-band .eve-maskot { display: none; } }

/* ---------- footer şeridi ---------- */
.f-eve {
  display: flex; align-items: center; gap: 18px; margin-bottom: 52px; padding: 16px 22px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(0,155,164,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.f-eve:hover { border-color: rgba(95,217,220,.5); transform: translateY(-2px); color: rgba(255,255,255,.85); }
.f-eve .eve-maskot { --eve-w: 44px; }
.f-eve .ft { display: grid; gap: 2px; min-width: 0; flex: 1; }
.f-eve b { color: #fff; font: 700 1rem var(--font-head); }
.f-eve b .mbadge { vertical-align: 3px; background: var(--petrol-700); }
.f-eve small { font-size: .88rem; }
.f-eve .go { display: inline-flex; align-items: center; gap: 6px; font: 600 .9rem var(--font-head); color: var(--turkuaz-300); white-space: nowrap; }
@media (max-width: 600px) { .f-eve { flex-wrap: wrap; } .f-eve .go { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .eve-beden, .eve-golge, .eve-svg * , .eve-orb, .eve-stage-ring, .eve-stage-glow { animation: none !important; }
  .evd-maskot, .evd-say, .evd-vurgu, .eve-bubble { transition-duration: .01ms !important; }
}
