/* EximArea herkese açık sayfalar (Static SSR) — tek, elle yazılmış stil dosyası (karar 89, 147).
   Sillelim'in tasarım sistemiyle aynı aileden; renkler EximArea'nın: lacivert + deniz yeşili.
   Yönler mantıksal özelliklerle (sağdan sola dillere hazır). Uygulama ekranları (/app) MudBlazor temasını kullanır. */

:root {
    --navy: #17375e;
    --navy-deep: #0f2742;
    --sea: #12857a;
    --sea-text: #0b6a5f;
    --sea-soft: #dcefeb;
    --ink: #1b2430;
    --muted: #586472;
    --bg: #f7f9f9;
    --alt: #ecf2f1;
    --line: #d8e2e0;
    --white: #fff;
    --error: #a8321e;
    --radius: 10px;
    --wrap: 1120px;
    --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --arabic: 'Segoe UI', 'Noto Sans Arabic', 'Geeza Pro', Tahoma, sans-serif;
    --arabic-head: 'Noto Naskh Arabic', 'Traditional Arabic', 'Geeza Pro', 'Segoe UI', serif;
}

/* Bu dosya uygulama ekranlarına da yüklenir: öğe kuralları yalnızca .pub çerçevesinde geçerlidir.
   :where() özgüllüğü artırmaz; sınıf kuralları (.btn vb.) öğe kurallarını yine ezer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body:has(> .pub) { margin: 0; background: var(--bg); }
.pub { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
:where(.pub) img, :where(.pub) svg { display: block; max-width: 100%; }
:where(.pub) a { color: var(--navy); text-underline-offset: 3px; }
:where(.pub) a:hover { color: var(--sea-text); }
:where(.pub) :is(h1, h2, h3), .pub .h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 600; margin: 0 0 .6em; }
:where(.pub) h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.01em; }
:where(.pub) h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
:where(.pub) h3, .pub .h3 { font-size: 1.2rem; }
:where(.pub) p { margin: 0 0 1em; }
:where(.pub) :focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted, .meta { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; color: #fff; }
.site-main { flex: 1; }

/* Üst bilgi */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 249, 249, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 30px; height: 30px; color: var(--navy); }
.brand-mark-accent { stroke: var(--sea); }
.brand-mark-dot { fill: var(--sea); }
.wordmark { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); letter-spacing: .01em; line-height: 1; font-weight: 600; }
.wordmark span { color: var(--sea-text); }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.nav-link { text-decoration: none; color: var(--ink); font-weight: 500; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch a { padding: 4px 11px; font-size: .85rem; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }

/* Telefon menüsü: bilgisayarda gizli; dar ekranda ☰ ile açılan liste (details, JavaScript yok). */
.mobile-menu { display: none; }
.mobile-menu > summary { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer; list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu .icon { width: 22px; height: 22px; }
.mobile-menu .icon-close, .mobile-menu[open] .icon-menu { display: none; }
.mobile-menu[open] .icon-close { display: block; }
.mobile-menu-panel { position: absolute; inset-inline: 0; top: 100%; display: flex; flex-direction: column; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 39, 66, .08); }
.mobile-menu-panel > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.mobile-menu-panel .btn { justify-content: center; margin-top: 12px; }

/* Düğmeler. .button: hesap formlarının eski adı, aynı görünüm. */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions-center { justify-content: center; }
.actions-stack { flex-direction: column; margin-top: 16px; }
.actions-stack .btn { justify-content: center; }
.btn, .button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius); font: 600 1rem/1.3 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn .icon { width: 19px; height: 19px; }
[dir='rtl'] .icon-arrow { transform: scaleX(-1); }
.btn-primary, .button { background: var(--navy); color: #fff; }
.btn-primary:hover, .button:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sea-soft); color: var(--navy); }
.site-header .btn { padding: 8px 16px; font-size: .95rem; }

/* Açılış */
.hero { position: relative; overflow: hidden; padding: 88px 0 80px; background: linear-gradient(180deg, var(--alt), var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--sea-text); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.hero-art { width: 100%; max-width: 400px; justify-self: end; }
.art-ring { fill: none; stroke: var(--line); stroke-width: 2; }
.art-ring-soft { stroke: var(--sea-soft); stroke-width: 22; }
.art-route { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.art-route-accent { stroke: var(--sea); }
.art-node { fill: var(--navy); }
.art-node-accent { fill: var(--sea); }
.art-glyph { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art-meet { fill: #fff; stroke: var(--sea); stroke-width: 5; }

.page-hero { padding: 36px 0 44px; background: var(--alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 860px; margin-bottom: .3em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: #b6c4c1; }
.crumbs a { color: var(--muted); }

/* Bölümler */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0 72px; }
.section-alt { background: var(--alt); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.side { display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.panel p:last-child { margin-bottom: 0; }
.block + .block { margin-top: 44px; }
.block h2 { font-size: 1.5rem; }
.note { margin-top: 28px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--sea); border-radius: var(--radius); font-size: .97rem; color: var(--muted); }

.cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sea-soft); color: var(--sea-text); margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sea-text); font-size: .95rem; }
.card-more .icon { width: 17px; height: 17px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }

/* Kapanış çağrısı: deniz yeşilinin koyu tonu, beyaz yazıyla yeterli kontrast (6:1). */
.cta-band { background: var(--sea-text); color: #e6f4f1; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; }

.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-weight: 500; font-size: .92rem; color: var(--navy); }
.chips li.verified { background: var(--sea-soft); border-color: transparent; color: var(--sea-text); font-weight: 600; }
.chips .icon { width: 17px; height: 17px; }

/* Firma sayfası (karar 55, 139, 143) */
.profile-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin-bottom: .2em; }
.profile-head .meta { margin: 0; }
.profile-logo { display: grid; place-items: center; width: 112px; height: 112px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; flex: none; }
.profile-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.profile-initial { font: 600 2.8rem/1 var(--serif); color: var(--sea-text); background: var(--sea-soft); border-color: transparent; }
.website a { font-weight: 600; word-break: break-word; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.locked { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; background: var(--alt); border-radius: var(--radius); color: var(--muted); font-size: .95rem; }
.locked .icon { flex: none; color: var(--sea-text); margin-top: 2px; }

/* Ürün vitrini ve ürün sayfası (karar 144) */
.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s; }
.product-card:hover { border-color: var(--sea); transform: translateY(-2px); }
.product-card img, .product-card-empty { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: linear-gradient(135deg, var(--alt), var(--sea-soft)); }
/* Fotoğraf çerçevesi (20.11.2026): kırpılmadan sığar, boşluk düz beyaz; çevresinde ince açık çizgi ve yuvarlak köşe. */
.photo-frame { position: relative; display: block; overflow: hidden; background: #fff; }
.product-card .photo-frame img { object-fit: contain; background: transparent; }
/* Fotoğrafsız ürün: ortada soluk bir kutu simgesi. */
.product-card-empty { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312857a' stroke-opacity='.45' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-5 9 5v8l-9 5-9-5V8Z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / 56px no-repeat, linear-gradient(135deg, var(--alt), var(--sea-soft)); }
.product-card > div { padding: 14px 16px 16px; }
.product-card h3 { font-family: var(--sans); font-size: 1rem; margin: 0 0 4px; }
.product-card h3 a { text-decoration: none; color: var(--navy); }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card small { color: var(--muted); }
.chips-plain { margin-top: 8px; }
/* Ürün sayfası yerleşimi (20.11.2026): görsel alanı en çok 480 px, sağda ticari bilgiler; altta tam genişlikte sekmeler. */
.product-top { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; gap: 28px; } }
.gallery { max-width: 480px; }
.gallery [hidden] { display: none !important; }
.product-tabs { margin-top: 48px; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list [role="tab"] { font: inherit; font-weight: 600; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted, #5b6676); cursor: pointer; white-space: nowrap; }
.tab-list [role="tab"][aria-selected="true"] { color: var(--navy); border-bottom-color: var(--sea); }
.tab-panel { padding-top: 20px; max-width: 72ch; }
/* Ürün görselleri (karar 168; yeniden tasarım 20.11.2026): büyük çerçeve, altında tek satır küçük resimler. Sayfada
   yakınlaştırma yok; tıklayınca "Resim ve Video Oynatıcı" açılır (js/product-media.js). Fotoğraf kırpılmaz, boşluk düz beyaz. */
.gallery-stage { position: relative; }
.gallery-main { display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.gallery-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gallery-main:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.gallery-video-badge { position: absolute; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px;
    border: 0; border-radius: 999px; background: rgba(13, 22, 32, .78); color: #fff; font: 600 .85rem/1.2 var(--sans); cursor: pointer; box-shadow: 0 1px 4px rgba(13, 22, 32, .2); }
[dir="rtl"] .gallery-video-badge { font-family: var(--arabic); padding: 6px 9px 6px 12px; }
.gallery-video-badge svg { width: 16px; height: 16px; fill: currentColor; }
.gallery-video-badge:hover { background: rgba(13, 22, 32, .9); }
.gallery-video-badge:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.gallery-video-length { font-weight: 400; opacity: .85; }
.gallery-video-length::before { content: "· "; }
/* Küçük resimler tek satır: masaüstünde 7, telefonda 5 görünür; fazlasına oklarla (telefonda kaydırarak) gidilir. */
.thumb-strip { position: relative; margin-top: 10px; --thumbs: 7; }
@media (max-width: 520px) { .thumb-strip { --thumbs: 5; } }
.gallery-thumbs { list-style: none; padding: 2px; margin: 0; display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs li { flex: 0 0 calc((100% - (var(--thumbs) - 1) * 8px) / var(--thumbs)); min-width: 0; scroll-snap-align: start; }
.thumb-nav { position: absolute; top: 50%; z-index: 1; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(13, 22, 32, .18); }
.thumb-nav:hover { background: var(--alt); }
.thumb-nav:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.thumb-prev { inset-inline-start: -10px; }
.thumb-next { inset-inline-end: -10px; }
[dir="rtl"] .thumb-nav { transform: scaleX(-1); }
.gallery-thumb { position: relative; display: block; border-radius: 8px; border: 1px solid var(--line); background: #fff; overflow: hidden; cursor: pointer; }
.gallery-thumb:hover { border-color: var(--sea); }
.gallery-thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--sea); border-color: var(--sea); }
.gallery-thumb:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
/* Firma görselleri (karar 168): 4 sütun, telefonda 2; tam ekranda oklar ve kaydırma. */
.firm-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.firm-gallery a { display: block; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.firm-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.firm-gallery a:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
@media (max-width: 640px) { .firm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.gallery-overlay .lightbox-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.gallery-overlay .lightbox-nav:hover { background: rgba(255, 255, 255, .26); }
.gallery-overlay .lightbox-prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.gallery-overlay .lightbox-next { right: max(12px, env(safe-area-inset-right, 0px)); }
.gallery-overlay .lightbox-count { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
    color: #fff; font-size: .9rem; padding: 2px 10px; border-radius: 999px; background: rgba(13, 22, 32, .6); }
@media (max-width: 640px) { .gallery-overlay .lightbox-nav { display: none; } }
/* Resim ve Video Oynatıcı (karar 168; 20.11.2026): tam ekran beyaz pencere. Üst solda sekmeler, sağda kapat; solda iki
   sütun küçük resim, ortada resim ve oklar, altta + / −. Telefonda küçük resimler alta tek satır iner. */
html.pv-open, html.pv-open body { overflow: hidden; }
/* touch-action: tarayıcı oynatıcı açıkken sayfayı büyütmesin/kaydırmasın; kaydırılabilir listeler kendi yönünde serbest. */
.pv { position: fixed; inset: 0; z-index: 1000; display: flex; touch-action: none; overscroll-behavior: contain; flex-direction: column; background: #fff; color: var(--ink); font-family: var(--sans);
    padding: 0 max(20px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
[dir="rtl"] .pv { font-family: var(--arabic); }
.pv button { font: inherit; }
.pv-head { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-top: max(8px, env(safe-area-inset-top, 0px)); }
.pv-tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pv-tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px 12px; border: 0; border-bottom: 3px solid transparent; background: none;
    color: var(--muted); font-weight: 600; white-space: nowrap; cursor: pointer; }
.pv-tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pv-tab:hover { color: var(--navy); }
.pv-tab[aria-selected="true"] { color: var(--sea-text); border-bottom-color: var(--sea); }
.pv-tab:focus-visible, .pv-close:focus-visible, .pv-thumb:focus-visible, .pv-nav:focus-visible, .pv-zoom:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.pv-close { flex: none; align-self: center; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--navy); cursor: pointer; }
.pv-close:hover { background: var(--alt); }
.pv-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pv-panel { flex: 1; min-height: 0; }
.pv-panel[hidden] { display: none; }
.pv-images { display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "thumbs stage" "thumbs tools"; gap: 12px 28px; padding-top: 20px; }
.pv-thumbs { grid-area: thumbs; list-style: none; margin: 0; padding: 2px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; overflow-y: auto; scrollbar-width: thin; touch-action: pan-y; }
.pv-thumb { display: block; width: 100%; padding: 0; border: 1px solid transparent; border-radius: 8px; background: #fff; overflow: hidden; cursor: pointer; }
.pv-thumb:hover { border-color: var(--line); }
.pv-thumb[aria-current="true"] { border-color: var(--sea); box-shadow: 0 0 0 1px var(--sea); }
.pv-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.pv-stage { grid-area: stage; position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }
.pv-img.pv-animate { transition: transform .22s ease; }
.pv-stage.can-zoom { cursor: zoom-in; }
.pv-stage.can-zoom.is-zoomed { cursor: grab; }
.pv-stage.is-dragging { cursor: grabbing; }
.pv-nav { position: absolute; top: 50%; z-index: 1; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 0; border-radius: 50%;
    background: rgba(13, 22, 32, .08); color: var(--navy); cursor: pointer; }
.pv-nav:hover { background: rgba(13, 22, 32, .16); }
.pv-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-prev { inset-inline-start: 8px; }
.pv-next { inset-inline-end: 8px; }
[dir="rtl"] .pv-nav svg { transform: scaleX(-1); }
/* Altta solda sıra sayısı, sağda büyüteç düğmeleri; ileri/geri için yalnızca resmin iki yanındaki oklar var. */
.pv-tools { grid-area: tools; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; }
.pv-zoombox { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(13, 22, 32, .08); }
.pv-zoombox[hidden] { display: none; }
.pv-zoom { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--navy); cursor: pointer; }
.pv-zoom:hover:not(:disabled) { background: var(--alt); }
.pv-zoom:disabled { color: #b5c0c6; cursor: default; }
.pv-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pv-count { font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pv-video { display: flex; flex-direction: column; padding-top: 20px; }
/* Video listesi: resim sekmesiyle simetrik; her video bir kart, tıklanınca aynı yerde oynar. */
.pv-vlist { touch-action: pan-y; list-style: none; margin: 0; padding: 2px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 340px)); gap: 20px; align-content: start; overflow-y: auto; }
.pv-vlist[hidden], .pv-video-box[hidden] { display: none; }
.pv-vcard { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: start; overflow: hidden; cursor: pointer; }
.pv-vcard:hover { border-color: var(--sea); }
.pv-vcard:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.pv-vcover { position: relative; display: block; aspect-ratio: 16 / 9; background: #0d1620; }
.pv-vcover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pv-vplay { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; border-radius: 50%; background: rgba(13, 22, 32, .72); color: #fff; transition: background .15s; }
.pv-vplay svg { width: 26px; height: 26px; margin-inline-start: 3px; fill: currentColor; }
[dir="rtl"] .pv-vplay svg { margin-inline-start: 0; margin-inline-end: 3px; }
.pv-vcard:hover .pv-vplay { background: var(--sea); }
.pv-vlen { position: absolute; bottom: 8px; inset-inline-end: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(13, 22, 32, .78); color: #fff; font-size: .8rem; font-variant-numeric: tabular-nums; }
.pv-vtitle { display: -webkit-box; padding: 10px 12px 12px; font-weight: 600; font-size: .95rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-video-box { touch-action: manipulation; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #0d1620; border-radius: 12px; overflow: hidden; }
.pv-video-box video { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) {
    .pv { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
    .pv-tab { padding: 12px 10px 10px; }
    .pv-images { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "stage" "tools" "thumbs"; padding-top: 12px; gap: 10px; }
    .pv-thumbs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x; }
    .pv-thumbs::-webkit-scrollbar { display: none; }
    .pv-thumbs li { flex: 0 0 56px; }
    .pv-nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(255, 255, 255, .88); box-shadow: 0 1px 6px rgba(13, 22, 32, .18); }
    .pv-prev { inset-inline-start: 4px; }
    .pv-next { inset-inline-end: 4px; }
    .pv-tools { justify-content: center; min-height: 32px; }
    .pv-video { padding-top: 12px; }
    .pv-video-box { border-radius: 8px; }
}
/* Dokunmatik ekranda büyüteç düğmesi yok: büyütme iki parmakla ya da çift dokunuşla. */
@media (hover: none) and (pointer: coarse) {
    .pv-zoombox { display: none; }
    .pv-tools { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pv-img.pv-animate { transition: none; } .gallery-thumbs { scroll-behavior: auto; } }
.gallery-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 22, 40, .92); }
.gallery-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pinch-zoom; }
.gallery-overlay button { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Uygulama: fotoğraf küçük resimleri ve yükleme seçimi (karar 168). */
.ea-photo-thumb { width: 120px; height: 120px; object-fit: contain; border-radius: 6px; background: #f3f5f7; border: 1px solid #e3e7ec; }
.ea-photo-thumb-sm { width: 56px; height: 56px; border-radius: 4px; }
.ea-photo-small { color: #b26a00; }
/* Fotoğraf kartları (20.11.2026): eşit genişlik, not satırı her kartta yer tutar; düğmeler ve resimler aynı hizada durur. */
.ea-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, 220px); gap: 16px; }
.ea-photo-card { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ea-photo-card .ea-photo-thumb { width: 160px; height: 160px; }
.ea-photo-note { min-height: 20px; line-height: 20px; }
.ea-photo-actions { display: flex; gap: 8px; justify-content: center; }
.ea-photo-actions .ml-2 { margin-left: 0 !important; }
@media (max-width: 520px) { .ea-photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .ea-photo-card .ea-photo-thumb { width: 130px; height: 130px; } }
.ea-photo-head .ea-photo-choice, .ea-photo-head .ea-photo-notice { flex-basis: 100%; }
.ea-photo-choice { margin-top: 8px; padding: 12px 14px; border: 1px solid #c9d6e3; border-radius: 8px; background: #f5f9fc; }
/* Firma ekranı: ürün videosu (karar 168 notları). */
.ea-video { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ea-video-hint { opacity: .7; }
.ea-video-bar { height: 8px; max-width: 360px; border-radius: 4px; background: #e3e7ec; overflow: hidden; }
.ea-video-bar span { display: block; height: 100%; background: #17375e; transition: width .2s ease; }
.ea-video-poster { width: 240px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 6px; background: #0d1620; border: 1px solid #e3e7ec; }
.ea-video-error { color: #b3261e; }
/* Video hazırlanırken: yeşil, vurgulu bilgi kutusu (20.11.2026). */
.ea-video-wait { color: #1d6b40; background: #e9f6ee; border: 1px solid #b9e0c8; border-left: 4px solid #2e8b57; border-radius: 8px; padding: 10px 14px; font-weight: 500; }
.ea-photo-notice { margin-top: 4px; opacity: .8; }
.firm-link { position: relative; display: grid; gap: 4px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.firm-link:hover { border-color: var(--sea); color: var(--ink); }
.firm-link small { color: var(--muted); }
.firm-link strong { font: 600 1.15rem/1.3 var(--serif); color: var(--navy); }
.firm-link .card-more { margin-top: 6px; }

/* Bulunamadı (404) ve yayından kaldırıldı (410) */
.missing { text-align: center; padding-block: 88px; }
.missing .lead { margin-inline: auto; }
.missing-code { font: 600 clamp(4rem, 12vw, 7rem)/1 var(--serif); color: var(--sea-soft); -webkit-text-stroke: 2px var(--sea); margin-bottom: 12px; }

/* Metin sayfaları (koşullar, KVKK) */
.prose { max-width: 760px; }
.page-pad { padding-block: 56px 72px; }

/* Hesap formları (giriş, kayıt, şifre, iki adımlı doğrulama) */
.form-card { max-width: 460px; margin: 56px auto 72px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.form-card h1 { font-size: 2rem; }
.form-card h2 { margin: 28px 0 6px; font-size: 1.2rem; }
.form-card label { display: block; margin: 16px 0 4px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.form-card input:not([type="radio"]):not([type="checkbox"]), .form-card select, .form-card textarea { display: block; width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #c8d4d2; border-radius: 8px; padding: 10px 12px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 55, 94, .15); }
.form-card .button { width: 100%; justify-content: center; margin-top: 22px; }
.form-card ol { padding-inline-start: 20px; }
.form-note { color: var(--muted); font-size: .93rem; }
.form-card > .form-note:last-child { margin-bottom: 0; }
.form-error, .validation-message { color: var(--error); font-size: .92rem; }
.form-error { padding: 12px 14px; background: #fbeae6; border-radius: 8px; }
.form-card .choice { display: block; padding: 12px 14px; margin: 8px 0; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; color: var(--ink); cursor: pointer; }
.form-card .choice:has(input:checked) { border-color: var(--sea); background: var(--sea-soft); }
.form-card .choice input { display: inline; width: auto; margin-block: 0; margin-inline: 0 8px; accent-color: var(--navy); }
.form-card .choice small { display: block; color: var(--muted); margin-inline-start: 24px; font-weight: 400; }
.form-card .consent { position: relative; display: block; padding-inline-start: 28px; font-weight: 400; color: var(--ink); }
.form-card .consent input { position: absolute; inset-inline-start: 0; top: 5px; width: auto; margin: 0; accent-color: var(--navy); }
/* Hesap formu alanları (karar 161): kısa etiket, zorunlu alanda kırmızı yıldız, açıklama ⓘ arkasında. Açıklama alanın
   altında, alan genişliğinde açılır (telefonda taşmaz): dokununca/tıklayınca (aria-expanded), bilgisayarda üzerine gelince;
   betik yoksa düğmeye odaklanınca. */
.form-card .field { position: relative; margin-top: 14px; }
.form-card .field-head { display: flex; align-items: center; gap: 2px; min-height: 28px; margin-bottom: 4px; }
.form-card .field-head label { margin: 0; }
.form-card .field input:not([type="radio"]):not([type="checkbox"]), .form-card .field select { margin-top: 0; }
.form-card .field > small.form-note { display: block; margin-top: 4px; font-size: .85rem; }
.form-card .field .validation-message { margin: 4px 0 0; }
.form-card .field-invalid input, .form-card .field-invalid select { border-color: var(--error); }
.req { color: var(--error); font-weight: 700; margin-inline-start: 2px; }
.info-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.info-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.info-toggle svg .dot { fill: currentColor; }
.info-toggle:hover, .info-toggle[aria-expanded="true"] { color: var(--navy); background: var(--alt); }
.info-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.info-text { display: none; position: absolute; z-index: 20; top: 32px; inset-inline: 0; padding: 10px 12px; background: var(--navy); color: #fff; font: 400 .88rem/1.55 var(--sans); border-radius: 8px; box-shadow: 0 6px 20px rgba(15, 39, 66, .22); }
.info-toggle[aria-expanded="true"] + .info-text { display: block; }
html:not(.js) .info:focus-within .info-text { display: block; }
@media (hover: hover) { .info:hover .info-text { display: block; } }
.pub:lang(ar) .info-text { font-family: var(--arabic); font-size: .95rem; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.suggest button { padding: 6px 12px; border: 1px solid var(--sea); border-radius: 999px; background: #fff; color: var(--sea-text); font: 500 .9rem/1.3 var(--sans); cursor: pointer; }
.suggest button:hover { background: var(--sea-soft); }
.form-card .match { min-width: 0; margin: 22px 0 6px; padding: 14px 16px 16px; border: 1.5px solid var(--sea); border-radius: 12px; background: #f6fbfa; }
.form-card .match legend { padding: 0 6px; font-weight: 700; color: var(--navy); }
.form-card .match .choice { background: #fff; }
.form-info { color: var(--navy); background: var(--sea-soft); }
.form-card .consent { margin-top: 20px; }
.qr-code svg { display: block; width: 200px; height: 200px; margin: 12px auto; }
.recovery-codes { padding: 12px; background: var(--alt); border-radius: 8px; font-size: 1rem; line-height: 1.6; text-align: center; }

/* Alt bilgi */
.site-footer { background: var(--navy-deep); color: #c3cfdc; padding: 52px 0 24px; font-size: .95rem; }
.site-footer a { color: #e6edf4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid p { max-width: 380px; }
.brand-footer { margin-bottom: 14px; }
.brand-footer .wordmark, .brand-footer .brand-mark { color: #fff; }
.brand-footer .wordmark span { color: #7fd1c5; }
.brand-footer:hover { text-decoration: none !important; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

/* Vitrin (karar 148): arama, kategoriler, ürün ve firma listeleri */
.search-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 760px; }
.search-bar input[type="search"], .search-bar select { flex: 1 1 220px; min-width: 0; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #c8d4d2; border-radius: var(--radius); padding: 11px 14px; }
.search-bar select { flex: 0 1 200px; }
.search-bar input:focus, .search-bar select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 55, 94, .15); }
.search-bar-filters { max-width: none; }
.search-hero { margin-top: 28px; }
.search-hero input[type="search"] { flex-basis: 100%; padding-block: 14px; font-size: 1.05rem; }
.quick-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 18px 0 0; font-weight: 600; }
.quick-links a { color: var(--sea-text); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: 8px; }

.category-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.category-tiles a { display: grid; gap: 2px; height: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; transition: border-color .15s; }
.category-tiles a:hover { border-color: var(--sea); color: var(--navy); }
.category-tiles small { color: var(--muted); font-weight: 400; }
.category-tiles a.is-empty { color: var(--muted); }

.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; max-height: calc(100vh - 110px); overflow: auto; }
.category-list, .category-list ul { list-style: none; padding: 0; margin: 0; }
.category-list ul { margin: 4px 0 6px; padding-inline-start: 12px; border-inline-start: 2px solid var(--sea-soft); }
.category-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.category-list a:hover { background: var(--alt); color: var(--ink); }
.category-list a[aria-current] { background: var(--sea-soft); color: var(--sea-text); font-weight: 600; }
.category-list a.is-empty { color: var(--muted); }
.category-list .count { color: var(--muted); font-size: .85rem; font-weight: 400; }
.result-count { color: var(--muted); margin-bottom: 18px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tabs a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; }
.tabs a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }

.lang-mark { display: inline-block; margin-inline-start: 6px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; font: 600 .72rem/1.5 var(--sans); letter-spacing: .03em; color: var(--muted); vertical-align: middle; }
.product-card-firm { display: block; margin-top: 2px; color: var(--sea-text) !important; font-weight: 500; }

.firm-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.firm-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: border-color .15s, transform .15s; }
.firm-card:hover { border-color: var(--sea); transform: translateY(-2px); }
.firm-card-head { display: flex; gap: 14px; align-items: center; }
.firm-card-logo { display: grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.firm-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.firm-card-logo.profile-initial { font-size: 1.6rem; }
.firm-card h3 { font-family: var(--sans); font-size: 1.05rem; margin: 0 0 2px; }
.firm-card h3 a { text-decoration: none; color: var(--navy); }
.firm-card h3 a::after { content: ''; position: absolute; inset: 0; }
.firm-card small { color: var(--muted); }
.firm-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.chips-small { margin: auto 0 0; }
.chips-small li { padding: 3px 11px; font-size: .84rem; }
.chips li.direction { background: var(--navy); border-color: var(--navy); color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; color: var(--muted); }
.pager a { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; font-weight: 600; }
.empty { display: grid; justify-items: center; gap: 12px; padding: 48px 20px; border: 1px dashed #c8d4d2; border-radius: 14px; color: var(--muted); text-align: center; background: #fff; }
.empty .icon { width: 36px; height: 36px; color: var(--sea); }
.empty p { max-width: 520px; margin: 0; }

/* Duyarlı düzen */
@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .split, .hero-grid, .listing { grid-template-columns: 1fr; }
    .filters { position: static; max-height: none; order: 2; }
    .hero-art { max-width: 300px; justify-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .pub { font-size: 16px; }
    .header-inner { gap: 12px; min-height: 60px; }
    .wordmark { font-size: 1.3rem; }
    .site-nav { gap: 12px; }
    .nav-link { font-size: .95rem; }
    .site-header .btn { padding: 7px 12px; font-size: .9rem; }
    .site-nav > a { display: none; }
    .mobile-menu { display: block; }
    .search-bar .btn { flex: 1 1 auto; justify-content: center; }
    .hero { padding: 52px 0 56px; }
    .hero-art { display: none; }
    .section { padding: 56px 0; }
    .steps { grid-template-columns: 1fr; }
    .cta-band { padding: 48px 0; }
    .profile-logo { width: 84px; height: 84px; border-radius: 14px; }
    .facts { grid-template-columns: 1fr; gap: 2px; }
    .facts dd { margin-bottom: 10px; }
    .form-card { margin: 24px 16px 48px; padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-card, .btn, .button { transition: none; }
}

/* Arapça (karar 151): sayfa dir="rtl" ile sağdan sola çizilir; yerleşim zaten mantıksal özelliklerle yazılı.
   Arap harfleri bitişik yazıldığı için harf aralığı ve büyük harf dönüşümü kapatılır; sillelim.com ile aynı yazı aileleri. */
.pub:lang(ar) { font-family: var(--arabic); font-size: 18px; line-height: 1.85; }
:where(.pub:lang(ar)) :is(h1, h2, h3), .pub:lang(ar) .h3 { font-family: var(--arabic-head); line-height: 1.45; letter-spacing: 0; }
.pub:lang(ar) :is(.eyebrow, .site-footer h2) { letter-spacing: 0; text-transform: none; }
.pub:lang(ar) :is(.product-card h3, .firm-card h3) { font-family: var(--arabic); }
.pub:lang(ar) .wordmark { font-family: var(--serif); }

/* Uygulama ekranlarında Arapça metin alanı (EaTextField RightToLeft, karar 151): yalnızca yazılan metnin yönü. */
.ea-rtl :is(input, textarea) { direction: rtl; text-align: right; }

/* Uygulama menü ağacı (karar 164): her ana düğüm kendi rengini taşır; alt öğeler üst düğümün rengini alır. */
.ea-nav .ea-nav-root { border-left: 4px solid var(--ea-nav-color, transparent); margin: 2px 0; }
.ea-nav .ea-nav-node .mud-nav-link .mud-icon-root { color: var(--ea-nav-color, inherit); }
.ea-nav .ea-nav-root > .mud-nav-group > .mud-nav-link .mud-nav-link-text,
.ea-nav .ea-nav-root > .mud-nav-item > .mud-nav-link .mud-nav-link-text { font-weight: 600; }
.ea-nav .mud-nav-link.active:not(.mud-nav-link-disabled) { color: var(--ea-nav-color, inherit); background-color: color-mix(in srgb, var(--ea-nav-color, #1976d2) 10%, transparent); }
/* Girinti: her alt düzey bir birim (16px) içeri girer; MudBlazor'un hazır girintisi ara katmanlar yüzünden tutmadığı için ezilir. */
.ea-nav .ea-nav-node > .mud-nav-group > .mud-nav-link,
.ea-nav .ea-nav-node > .mud-nav-item > .mud-nav-link { padding-left: calc(12px + var(--ea-depth, 0) * 16px) !important; padding-inline-start: calc(12px + var(--ea-depth, 0) * 16px) !important; padding-inline-end: 16px !important; }
/* Ok: kapalıyken sağa, açıkken aşağı bakar; rengi ana kalemin rengidir. */
.ea-nav .mud-nav-link .mud-nav-link-expand-icon { color: var(--ea-nav-color, inherit); fill: var(--ea-nav-color, currentColor) !important; transition: transform 150ms ease; }
.ea-nav .mud-nav-link .mud-nav-link-expand-icon.mud-transform { transform: rotate(90deg); }
/* Paketi olmayan bölüm (karar 164): adın yanında küçük kilit; renk bölümün rengi, biraz soluk. */
.ea-nav .mud-nav-link .mud-nav-link-text .ea-nav-lock { font-size: 1rem; margin-inline-start: 6px; vertical-align: -2px; opacity: .65; color: var(--ea-nav-color, inherit); }

/* Üst çubukta konum yolu (karar 165): EximArea › SiPort › İthalat › … Telefonda yalnızca son iki basamak görünür. */
.ea-crumbs { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; margin-left: 8px; overflow: hidden; white-space: nowrap; font-size: 1rem; }
.ea-crumb-brand { color: inherit; text-decoration: none; font-weight: 600; font-size: 1.25rem; flex: none; }
.ea-crumb { display: inline-flex; align-items: center; min-width: 0; }
.ea-crumb-sep { margin: 0 8px; opacity: .6; flex: none; }
.ea-crumb:not(:last-child) { flex: 0 1 auto; min-width: 4.5em; }
.ea-crumb:last-child { flex: 0 0 auto; max-width: 65%; }
.ea-crumb-link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: inherit; text-decoration: none; opacity: .85; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.ea-crumb-link:hover, .ea-crumb-link:focus-visible { opacity: 1; text-decoration: underline; }
.ea-crumb-current { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .ea-crumb:not(:nth-last-child(-n+2)) { display: none; }
  .ea-crumbs { font-size: .875rem; margin-left: 4px; }
  .ea-crumb-brand { font-size: 1rem; }
  .ea-crumb-sep { margin: 0 4px; }
  .ea-crumb:not(:last-child) { flex: 0 0 auto; min-width: 0; max-width: 42%; }
  .ea-crumb:last-child { flex: 1 1 auto; max-width: none; }
  .ea-appbar-user { display: none; }
}

/* Bölüm rengi (karar 165): üst çubuğun altında ana kalemin renginde ince çizgi, içerik zemini onun çok açık tonu. */
.ea-appbar { box-shadow: inset 0 -3px 0 var(--ea-section, transparent), 0 1px 3px rgba(0,0,0,.12) !important; }
.ea-main { --ea-section-bg: color-mix(in srgb, var(--ea-section, var(--mud-palette-background)) 5%, var(--mud-palette-background)); background: var(--ea-section-bg); min-height: 100vh; transition: background-color 200ms ease; }

/* Paketle açılan bölümün bilgi ekranı (karar 164): bölümün rengiyle ince bir sol çizgi ve kilit. */
.ea-module-info { border-left: 4px solid var(--ea-module-color, var(--mud-palette-primary)); max-width: 720px; }
.ea-module-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ea-module-lock { color: var(--ea-module-color, inherit); }
.ea-module-points { margin: 0; padding-inline-start: 20px; line-height: 1.8; }

/* Kullanıcı başına yetki ekranı (karar 158): rolünden farklı bırakılan satırın yanında küçük not. */
.ea-permission-row { display: flex; align-items: center; flex-wrap: wrap; column-gap: 6px; }
.ea-permission-note { font-size: .75rem; color: var(--mud-palette-warning-darken, #b26a00); background: color-mix(in srgb, var(--mud-palette-warning, #ff9800) 12%, transparent); border-radius: 10px; padding: 1px 8px; }

/* Özet ekranı (karar 166): kartlar ızgarada, telefonda alt alta; "Bana düşen işler" her genişlikte en üstte ve tam satır.
   Her kart ait olduğu ana menünün rengini ince sol kenarda taşır (bilgi ekranındaki .ea-module-info gibi).
   Aynı satırdaki kartlar eşit boydadır; kart en fazla 340 px uzar, taşan içerik başlık sabit kalarak gövdede kayar.
   Telefonda (tek sütun) boy sınırı yoktur; sayfa içinde ikinci bir kaydırma olmasın diye. */
.ea-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.ea-dash-wide { grid-column: 1 / -1; }
.ea-dash-card { border-left: 4px solid var(--ea-module-color, var(--mud-palette-primary)); min-width: 0; max-height: 340px; display: flex; flex-direction: column; }
.ea-dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex: none; }
.ea-dash-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; }
@media (max-width: 720px) {
    .ea-dash-card { max-height: none; }
    .ea-dash-body { overflow-y: visible; }
}
.ea-dash-title { font-weight: 600; }
.ea-dash-more { font-size: .875rem; color: var(--ea-module-color, var(--mud-palette-primary)); text-decoration: none; white-space: nowrap; }
.ea-dash-more:hover { text-decoration: underline; }
.ea-dash-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: 32px; }
.ea-dash-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 6px 0; color: inherit; text-decoration: none; }
a.ea-dash-row:hover .ea-dash-label { text-decoration: underline; }
.ea-dash-label { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.ea-dash-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ea-row-color, var(--ea-module-color)); flex: none; }
.ea-dash-count { font-weight: 600; text-align: right; white-space: nowrap; }
.ea-dash-note, .ea-dash-hint, .ea-dash-amounts { grid-column: 1 / -1; font-size: .8125rem; overflow-wrap: anywhere; }
.ea-dash-note { color: var(--mud-palette-warning-darken, #b26a00); }
.ea-dash-hint, .ea-dash-amounts { opacity: .8; }
.ea-dash-sub { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; opacity: .6; margin-top: 12px; }
.ea-dash-empty { opacity: .8; }
.ea-dash-empty a { color: var(--ea-module-color, var(--mud-palette-primary)); }
.ea-dash-step { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: inherit; text-decoration: none; }
.ea-dash-step:hover span { text-decoration: underline; }
.ea-dash-step-done span { opacity: .6; text-decoration: line-through; }
.ea-dash-access { padding: 4px 0; }
/* Yönetim: kategori ağacı (karar 172). Geniş ekranda ağaç solda, düzenleme sağda; telefonda alt alta. */
.ea-cat { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: 16px; align-items: start; }
.ea-cat-tree { max-height: calc(100vh - 180px); overflow-y: auto; }
.ea-cat-edit { position: sticky; top: 76px; scroll-margin-top: 72px; }
.ea-cat-search { flex: 1 1 200px; min-width: 0; }
.ea-cat-target { flex: 1 1 260px; min-width: 0; }
.ea-cat-list { list-style: none; margin: 0; padding: 0; }
.ea-cat-row { display: flex; align-items: center; gap: 2px; border-radius: 6px; }
.ea-cat-row:hover { background: #f2f5f9; }
.ea-cat-row.is-selected { background: #e6eef7; }
.ea-cat-row.is-muted .ea-cat-name > span:first-child { opacity: .55; }
/* Kırılım okları (20.11.2026): büyük, koyu ok; açılınca aşağı döner, üzerine gelince yuvarlak zemin. */
.ea-cat-toggle { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; padding: 0; cursor: pointer; color: #17375e; }
.ea-cat-toggle:hover { background: #dde6f0; }
.ea-cat-toggle:focus-visible { outline: 2px solid #17375e; outline-offset: 1px; }
.ea-cat-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.ea-cat-toggle.is-open svg { transform: rotate(90deg); }
span.ea-cat-toggle { cursor: default; }
span.ea-cat-toggle:hover { background: none; }
@media (prefers-reduced-motion: reduce) { .ea-cat-toggle svg { transition: none; } }
.ea-cat-name { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: flex-start; gap: 6px; min-height: 32px; border: 0; background: none; padding: 4px 6px;
    text-align: start; font: inherit; color: inherit; cursor: pointer; }
.ea-cat-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ea-cat-tag { flex: none; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 9px; background: #eef1f4; color: #4a5a6c; }
.ea-cat-count { flex: none; margin-inline-start: auto; font-size: 12px; color: #4a5a6c; font-variant-numeric: tabular-nums; }
.ea-cat-danger { border-top: 1px solid #e3e7ec; padding-top: 16px; }
/* Yaprak bölme (karar 176). */
.ea-cat-codeline { color: #17375e; font-weight: 500; }
.ea-cat-split { border-top: 1px solid #e3e7ec; padding-top: 16px; }
.ea-cat-split-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.ea-cat-split-no { width: 24px; height: 24px; border-radius: 50%; background: #eef3f8; color: #17375e; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 14px; }
.ea-cat-split-fields { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ea-cat-split-field { flex: 1 1 200px; min-width: 0; }
.ea-cat-split-products { list-style: none; margin: 0; padding: 0; }
.ea-cat-split-products > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 8px 0; border-bottom: 1px solid #eef1f4; }
.ea-cat-split-product { flex: 1 1 220px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ea-cat-split-target { flex: 1 1 240px; min-width: 0; }
@media (max-width: 960px) { .ea-cat { grid-template-columns: 1fr; } .ea-cat-tree { max-height: 55vh; } .ea-cat-edit { position: static; } }
/* Kategoriye özellik listesi (karar 172, Aşama 2). */
.ea-prop-list { list-style: none; margin: 0 0 8px; padding: 0; }
.ea-prop-list > li { padding: 10px 0; border-bottom: 1px solid #eef1f4; }
.ea-prop-list > li.is-muted .ea-prop-main { opacity: .55; }
.ea-prop-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ea-prop-meta { font-size: 12px; color: #4a5a6c; margin-top: 2px; }
/* Firma formunda özellik alanları (karar 172, Aşama 2b). */
.ea-prop-number { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; align-items: start; }
.ea-prop-choices { display: flex; flex-wrap: wrap; column-gap: 12px; }
/* Ürün sayfası: teknik özellikler (karar 172). */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: start; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted, #5b6676); }

/* Kategori seçici (karar 172, 173): arama + yan yana sütunlar + seçim sepeti; telefonda tek sütun */
.ea-cp-chosen { display: grid; gap: 8px; }
.ea-cp-line { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; min-width: 0; }
.ea-cp-line.ea-cp-empty { color: var(--mud-palette-text-secondary); }
.ea-cp-tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mud-palette-text-secondary); white-space: nowrap; }
.ea-cp-primary .ea-cp-tag, .ea-cp-star { color: #b7791f; }
.ea-cp-path { min-width: 0; overflow-wrap: anywhere; }
.ea-cp-scrim { position: fixed; inset: 0; z-index: 1500; background: rgba(18, 30, 44, .45); display: grid; place-items: center; padding: 12px; }
.ea-cp-dialog { width: min(1180px, 100%); height: min(760px, 100%); background: var(--mud-palette-surface); color: var(--mud-palette-text-primary); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; overflow: hidden; }
.ea-cp-head { padding: 16px 20px 12px; display: grid; gap: 12px; border-bottom: 1px solid var(--mud-palette-lines-default); }
.ea-cp-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ea-cp-h { font-size: 1.15rem; font-weight: 600; }
.ea-cp-sub { font-size: .85rem; color: var(--mud-palette-text-secondary); }
.ea-cp-x { border: 0; background: transparent; font-size: 24px; line-height: 1; padding: 2px 8px; color: var(--mud-palette-text-secondary); cursor: pointer; }
.ea-cp-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; padding: 0 12px; }
.ea-cp-search:focus-within { border-color: var(--mud-palette-primary); }
.ea-cp-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 11px 0; color: inherit; outline: none; }
.ea-cp-quick { padding: 10px 20px; display: grid; gap: 8px; border-bottom: 1px solid var(--mud-palette-lines-default); background: var(--mud-palette-background-gray); }
.ea-cp-quick-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ea-cp-lbl { font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mud-palette-text-secondary); min-width: 130px; }
.ea-cp-warn { color: #b7791f; text-transform: none; letter-spacing: 0; font-size: .8rem; }
.ea-cp-pill { border: 1px solid var(--mud-palette-lines-default); background: var(--mud-palette-surface); color: inherit; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .85rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; max-width: 100%; }
.ea-cp-pill small { color: var(--mud-palette-text-secondary); }
.ea-cp-pill.ea-cp-on { border-color: var(--mud-palette-primary); background: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent); }
.ea-cp-tick { font-weight: 700; color: var(--mud-palette-primary); }
.ea-cp-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.ea-cp-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ea-cp-cols { display: flex; min-width: 0; min-height: 0; flex: 1; overflow-x: auto; }
.ea-cp-col { flex: 0 0 280px; border-right: 1px solid var(--mud-palette-lines-default); overflow-y: auto; padding: 6px 0; }
.ea-cp-col-h { margin: 4px 14px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mud-palette-text-secondary); }
.ea-cp-item, .ea-cp-res { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: transparent; color: inherit; font: inherit; padding: 8px 14px; min-height: 38px; cursor: pointer; }
.ea-cp-res { align-items: flex-start; padding: 10px 20px; }
.ea-cp-item:hover, .ea-cp-res:hover { background: var(--mud-palette-action-default-hover); }
.ea-cp-item.ea-cp-open { background: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent); }
.ea-cp-nm { flex: 1; min-width: 0; }
.ea-cp-ct { font-size: .75rem; color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; }
.ea-cp-chev { color: var(--mud-palette-text-secondary); }
/* "Aradığınız kategoriyi bulamıyorsanız bize yazın" (karar 176). */
.ea-cp-ask { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding: 8px 12px; border-radius: 8px; font-size: .875rem;
  background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent); color: var(--mud-palette-text-primary); }
.ea-cp-ask .mud-icon-root { color: var(--mud-palette-primary); }
.ea-cp-ask-link { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 600; color: var(--mud-palette-primary); text-decoration: underline; cursor: pointer; }
.ea-cp-request { padding: 16px 20px; display: grid; gap: 10px; max-width: 640px; }
.ea-cp-request-h { font-size: 1rem; font-weight: 600; }
.ea-cp-request-sub, .ea-cp-request-near { font-size: .85rem; color: var(--mud-palette-text-secondary); }
.ea-cp-request-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ea-cp-request-done { font-size: .9rem; line-height: 1.5; }
.ea-cp-request-err { font-size: .85rem; }
.ea-cp-box { width: 18px; height: 18px; border: 1.5px solid var(--mud-palette-text-secondary); border-radius: 4px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ea-cp-sel .ea-cp-box { background: var(--mud-palette-primary); border-color: var(--mud-palette-primary); color: var(--mud-palette-primary-text); }
.ea-cp-sel .ea-cp-nm { font-weight: 600; }
.ea-cp-results { overflow-y: auto; flex: 1; padding: 6px 0; }
.ea-cp-res-t { display: grid; min-width: 0; }
.ea-cp-meta { font-size: .75rem; color: var(--mud-palette-text-secondary); }
.ea-cp-none { padding: 24px 20px; color: var(--mud-palette-text-secondary); }
.ea-cp-detail { border-left: 1px solid var(--mud-palette-lines-default); padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--mud-palette-background-gray); }
.ea-cp-crumbs { font-size: .75rem; color: var(--mud-palette-text-secondary); overflow-wrap: anywhere; }
.ea-cp-dh { font-size: 1.05rem; font-weight: 600; }
.ea-cp-en { font-size: .85rem; color: var(--mud-palette-text-secondary); }
.ea-cp-note { border: 1px solid var(--mud-palette-lines-default); background: var(--mud-palette-surface); border-radius: 8px; padding: 10px 12px; font-size: .85rem; }
.ea-cp-note b { display: block; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: #b7791f; margin-bottom: 4px; }
.ea-cp-acts { display: flex; gap: 4px; flex-wrap: wrap; margin-left: -8px; }
.ea-cp-hint { color: var(--mud-palette-text-secondary); font-size: .85rem; }
.ea-cp-tray { border-top: 1px solid var(--mud-palette-lines-default); padding: 10px 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ea-cp-tray .ea-cp-lbl { min-width: 0; white-space: nowrap; }
.ea-cp-tray-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.ea-cp-tchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; padding: 4px 4px 4px 10px; max-width: 100%; font-size: .85rem; }
.ea-cp-tchip.ea-cp-primary { border-color: #b7791f; }
.ea-cp-tchip button { border: 0; background: transparent; color: var(--mud-palette-text-secondary); padding: 2px 6px; border-radius: 4px; font: inherit; font-size: .75rem; cursor: pointer; }
.ea-cp-tchip button:hover { background: var(--mud-palette-action-default-hover); color: var(--mud-palette-text-primary); }
.ea-cp-end { display: flex; gap: 4px; margin-left: auto; }
.ea-cp-back { display: none; }
.ea-cp-inline-note { display: none; }
@media (max-width: 760px) {
  .ea-cp-scrim { padding: 0; }
  .ea-cp-dialog { width: 100%; height: 100%; border-radius: 0; }
  .ea-cp-body { grid-template-columns: 1fr; }
  .ea-cp-detail { display: none; }
  .ea-cp-col { display: none; flex-basis: 100%; border-right: 0; }
  .ea-cp-col.ea-cp-current { display: block; }
  .ea-cp-back { display: block; border: 0; background: transparent; text-align: left; padding: 10px 14px 0; color: var(--mud-palette-primary); font: inherit; font-weight: 600; cursor: pointer; }
  .ea-cp-inline-note { display: block; font-size: .75rem; color: var(--mud-palette-text-secondary); font-style: normal; margin-top: 2px; }
  .ea-cp-lbl { min-width: 0; width: 100%; }
  .ea-cp-end { width: 100%; justify-content: flex-end; }
}

/* Ürün formunda kodun onayı (karar 177) */
.ea-code-box { margin-left: 12px; padding: 10px 12px; border-left: 3px solid var(--mud-palette-lines-default); font-size: .9rem; display: grid; gap: 8px; }
.ea-code-box.ea-code-ask { border-left-color: #b7791f; background: rgba(183, 121, 31, .07); border-radius: 0 8px 8px 0; }
.ea-code-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ea-code-own { max-width: 360px; }
.ea-link-btn { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--mud-palette-primary); cursor: pointer; font: inherit; text-decoration: underline; }
@media (max-width: 600px) { .ea-code-box { margin-left: 0; } }

/* Sillelim erişimi: ekibin yaptığı değişiklik satırı belirgin (karar 140) */
.ea-staff-change { font-weight: 600; color: #b7791f; }

/* Sillelim erişimi: yetki vermeden önceki onay kutusu (karar 140). */
.ea-confirm { border: 1px solid #b7791f; background: #fffaf0; border-radius: 6px; padding: 12px 16px; }

/* Destek talepleri (karar 178): durum etiketi, yazışma balonları, iş listesindeki "Yeni mesaj". */
.ea-support-status { display: inline-block; font-size: .78rem; font-weight: 600; border-radius: 10px; padding: 2px 10px; white-space: nowrap;
                     background: color-mix(in srgb, var(--ea-st, #546e7a) 13%, transparent); color: var(--ea-st, #546e7a); }
.ea-support-new { --ea-st: #1565c0; }
.ea-support-in-progress { --ea-st: #6a1b9a; }
.ea-support-awaiting-customer { --ea-st: #b26a00; }
.ea-support-resolved { --ea-st: #2e7d32; }
.ea-support-closed { --ea-st: #607d8b; }
.ea-support-badge { display: inline-block; margin-left: 8px; font-size: .72rem; font-weight: 700; color: #fff;
                     background: #c62828; border-radius: 10px; padding: 1px 8px; vertical-align: middle; }
.ea-support-title { font-weight: 500; overflow-wrap: anywhere; }
.ea-support-unread { font-weight: 700; }
.ea-support-number { font-size: .78rem; opacity: .7; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ea-support-urgent { color: #c62828; font-weight: 700; }
.ea-support-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .9rem; }
.ea-support-grant { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 6px;
                    background: color-mix(in srgb, #b7791f 9%, transparent); font-size: .875rem; }
.ea-support-thread { display: flex; flex-direction: column; gap: 12px; }
.ea-support-bubble { max-width: min(680px, 92%); align-self: flex-start; border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
                     border-radius: 4px 12px 12px 12px; padding: 10px 14px; background: var(--mud-palette-surface); }
.ea-support-bubble.ea-support-staff { border-color: color-mix(in srgb, #6a1b9a 30%, transparent); }
.ea-support-bubble.ea-support-mine { align-self: flex-end; border-radius: 12px 4px 12px 12px;
                     background: color-mix(in srgb, var(--mud-palette-primary) 7%, var(--mud-palette-surface)); }
.ea-support-meta { font-size: .75rem; opacity: .7; margin-bottom: 4px; }
.ea-support-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.ea-support-files { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: .85rem; }
.ea-support-files a { display: inline-flex; align-items: center; gap: 2px; overflow-wrap: anywhere; }
.ea-support-files span { opacity: .6; margin-left: 4px; }
.ea-support-event { align-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; align-items: center;
                    font-size: .78rem; opacity: .85; text-align: center; }
.ea-support-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ea-support-picker .ml-2 { margin-left: 0 !important; }
.ea-support-cell { min-width: 0; text-align: left; }

/* Uygulama açılış ekranı (/app): WebAssembly başlarken görünür, ilk ekran gelince kaybolur (27.11.2026). */
.ea-boot {
    position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; background: #F6F8FA; color: #1F4E79; font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    transition: opacity .25s ease;
}
.ea-boot-out { opacity: 0; pointer-events: none; }
/* Uygulama ekranı geldiyse açılış ekranı betikten bağımsız olarak gizlenir (canlıda kaybolmadığı görüldü, 27.11.2026). */
body:has(.mud-layout) .ea-boot { display: none; }
.ea-boot-name { font-size: 22px; font-weight: 700; letter-spacing: .2px; }
.ea-boot-bar { width: 160px; height: 3px; border-radius: 3px; background: #dbe3ec; overflow: hidden; position: relative; }
.ea-boot-bar span {
    position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 3px; background: #5cc3b5;
    animation: ea-boot-slide 1.1s ease-in-out infinite;
}
.ea-boot-text { font-size: 13px; color: #5b6b7c; }
@keyframes ea-boot-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .ea-boot-bar span { animation: none; width: 100%; } }
