/* ==========================================================================
   Mira Help — Yardım merkezi stilleri
   ========================================================================== */
:root {
  --brand: #3d63ff;
  --brand-600: #2f4fe0;
  --brand-700: #2340c0;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --violet: #6a3dff;
  --mint: #19c6a0;
  --ink: #0e1630;
  --text: #283047;
  --muted: #64708a;
  --faint: #8d97ad;
  --line: #e4e8f0;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-sunk: #f0f3f9;
  --info: #2f6bff;   --info-bg: #eef4ff;
  --tip: #0f9f7f;    --tip-bg: #e9faf5;
  --warn: #b86e00;   --warn-bg: #fff6e5;
  --danger: #d6344a; --danger-bg: #fff0f2;
  --success: #12a26a;--success-bg: #eafaf2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 48, .06);
  --shadow: 0 1px 2px rgba(16, 24, 48, .04), 0 6px 20px -6px rgba(16, 24, 48, .10);
  --shadow-lg: 0 20px 50px -12px rgba(16, 24, 48, .25);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --hdr-h: 64px;
  --mira: #2b4aa3;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.i { flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mt-l { margin-top: 24px; } .mt-xl { margin-top: 40px; }
[hidden] { display: none !important; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; text-decoration: none; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(61, 99, 255, .3); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-soft { background: var(--brand-50); color: var(--brand-600); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); }
.icon-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 8px; }

/* ---------- Duyuru ---------- */
.announcement { background: var(--ink); color: #dfe6ff; font-size: 13.5px; }
.announcement .container { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.announcement-warning { background: #fff3d6; color: #6b4500; }

/* ---------- Üst bilgi ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-top { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-text { font-size: 19px; letter-spacing: -.02em; font-weight: 500; }
.logo-text b { font-weight: 800; }
.hdr-search { flex: 1; max-width: 560px; }
.hdr-spacer { flex: 1; }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.hdr-link:hover { color: var(--ink); background: var(--bg-soft); }
.hdr-nav { height: 48px; }
.hdr-nav-scroll { display: flex; gap: 4px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.hdr-nav-scroll::-webkit-scrollbar { display: none; }
.hdr-nav-scroll.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.hdr-nav-scroll.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.hdr-nav-scroll.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.hdr-nav a { position: relative; display: flex; align-items: center; padding: 0 11px; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a.active { color: var(--ink); font-weight: 600; }
.hdr-nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); }
.only-mobile { display: none; }

/* ---------- Arama ---------- */
.search { position: relative; display: flex; align-items: center; }
.search .search-icon { position: absolute; left: 14px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 44px 0 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(61, 99, 255, .12); }
.search-kbd { position: absolute; right: 12px; font: 600 12px var(--mono); color: var(--faint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; background: #fff; }
.search input:focus ~ .search-kbd { display: none; }
.search.lg input { height: 60px; font-size: 17px; border-radius: 16px; padding-left: 52px; padding-right: 110px; background: #fff; box-shadow: var(--shadow); }
.search.lg .search-icon { left: 18px; }
.search.lg .search-kbd { display: none; }
.search-btn { position: absolute; right: 8px; height: 44px; border-radius: 11px; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; max-height: 420px; overflow: auto; text-align: left; }
.suggest a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.suggest a .i { margin-top: 3px; color: var(--faint); }
.suggest a strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.suggest a small { display: block; color: var(--faint); font-size: 12.5px; }
.suggest a.active, .suggest a:hover { background: var(--brand-50); }
.suggest a.active .i { color: var(--brand); }
.suggest mark { background: transparent; color: var(--brand-600); font-weight: 700; }
.suggest .suggest-all { justify-content: center; color: var(--brand-600); font-weight: 600; font-size: 13.5px; border-top: 1px solid var(--line-2); border-radius: 0 0 10px 10px; margin-top: 4px; }
.suggest .suggest-empty { padding: 14px; color: var(--muted); font-size: 14px; }
.suggest .suggest-dym { padding: 9px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.suggest .suggest-dym a { display: inline; padding: 0; margin: 0; font-weight: 700; color: var(--brand-600); text-decoration: underline; background: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: visible; background:
  radial-gradient(800px 360px at 12% -10%, rgba(106, 61, 255, .16), transparent 60%),
  radial-gradient(700px 360px at 95% 0%, rgba(25, 198, 160, .16), transparent 60%),
  linear-gradient(180deg, #f3f5ff 0%, #fff 100%); border-bottom: 1px solid var(--line-2); }
.hero-inner { max-width: 820px; text-align: center; padding-top: 64px; padding-bottom: 56px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand-600); background: #fff; border: 1px solid var(--brand-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.hero-sub { font-size: 17px; color: var(--muted); margin: 12px auto 30px; max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 13.5px; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand-600); }
.chip.sm { padding: 2px 10px; font-size: 12.5px; background: var(--bg-soft); }

/* ---------- Bölümler ---------- */
.section { padding-top: 48px; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 24px; font-weight: 750; }
.section-head p { color: var(--muted); margin-top: 4px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: border-color .15s, box-shadow .2s, transform .2s; }
.cat-card:hover { border-color: #cfd7ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card-main { display: flex; gap: 14px; color: inherit; }
.cat-card-main:hover { color: inherit; }
.cat-card h3 { font-size: 16.5px; font-weight: 700; }
.cat-card p { color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.5; }
.cat-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; color: var(--brand-600); background: linear-gradient(135deg, var(--brand-50), #f1ecff); border: 1px solid var(--brand-100); }
.cat-ico.sm { width: 30px; height: 30px; border-radius: 8px; }
.cat-ico.lg { width: 56px; height: 56px; border-radius: 16px; }
.cat-card-list { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); flex: 1; }
.cat-card-list li { padding: 3px 0; font-size: 14px; }
.cat-card-list a { color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-card-list a::before { content: "›"; color: var(--faint); margin-right: 8px; }
.cat-card-list a:hover { color: var(--brand-600); }
.cat-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand-600); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.panel-head h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.panel-head .i { color: var(--brand); }
.rank-list, .upd-list { list-style: none; margin: 0; padding: 0; }
.rank-list li, .upd-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.rank-list li:first-child, .upd-list li:first-child { border-top: 0; }
.rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-sunk); color: var(--muted); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.rank-list li:nth-child(-n+3) .rank { background: var(--brand-50); color: var(--brand-600); }
.rank-list a, .upd-list a { flex: 1; min-width: 0; color: inherit; }
.rank-list strong, .upd-list strong { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.rank-list a:hover strong, .upd-list a:hover strong { color: var(--brand-600); }
.rank-list small, .upd-list small { display: block; color: var(--faint); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upd-list time { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.sep { color: var(--faint); }

.cta { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(120deg, #0f1a45, #24338a 55%, #4b2ec9); color: #d8defa; }
.cta h2 { color: #fff; font-size: 20px; }
.cta p { margin-top: 4px; font-size: 14.5px; }
.cta-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #9fe9d8; flex-shrink: 0; }
.cta-text { flex: 1; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-actions.center { justify-content: center; margin-top: 24px; }
.cta .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta .btn-primary:hover { background: #e9edff; color: var(--ink); }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Doküman düzeni ---------- */
.doc { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.doc-2 { grid-template-columns: 280px minmax(0, 1fr); }
.doc-3 { grid-template-columns: 280px minmax(0, 1fr) 220px; }
.doc-main { min-width: 0; }
.doc-3 .doc-main { max-width: 780px; }

.sidebar { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.side-root { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); padding: 6px 8px; border-radius: 10px; margin-bottom: 10px; }
.side-root:hover, .side-root.active { background: var(--bg-soft); color: var(--ink); }
.side-filter { position: relative; margin-bottom: 10px; }
.side-filter .i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.side-filter input { width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px 0 32px; font-size: 13.5px; background: #fff; outline: none; }
.side-filter input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 99, 255, .12); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { padding-left: 14px; margin-left: 9px; border-left: 1px solid var(--line); }
.tree-link { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); font-size: 14px; line-height: 1.4; }
.tree-link:hover { background: var(--bg-soft); color: var(--ink); }
.tree-link.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; box-shadow: inset 2px 0 0 var(--brand); }
.tree details > summary { list-style: none; display: flex; align-items: center; gap: 4px; padding: 6px 6px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.tree details > summary::-webkit-details-marker { display: none; }
.tree details > summary:hover { background: var(--bg-soft); }
.tree details > summary a { color: inherit; flex: 1; }
.tree details > summary.active { color: var(--brand-700); background: var(--brand-50); }
.tree-chev { color: var(--faint); transition: transform .15s; }
.tree details[open] > summary .tree-chev { transform: rotate(90deg); }
.tree-empty { color: var(--faint); font-size: 13px; padding: 8px 10px; }
.tree mark { background: #fff1a8; color: inherit; border-radius: 3px; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0 0 14px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs .i { color: var(--faint); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.page-head { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 16.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); margin-top: 10px; }
.list-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; margin: 26px 0 12px; }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sub-card { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: inherit; transition: all .15s; }
.sub-card:hover { border-color: #cfd7ff; box-shadow: var(--shadow); color: inherit; }
.sub-card strong { display: block; color: var(--ink); }
.sub-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.sub-card em { display: block; font-style: normal; font-size: 12.5px; color: var(--brand-600); font-weight: 600; margin-top: 8px; }
.art-list { display: grid; gap: 10px; }
.art-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; transition: all .15s; background: #fff; }
.art-card:hover { border-color: #cfd7ff; background: #fbfcff; color: inherit; }
.art-card-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); color: var(--muted); flex-shrink: 0; }
.art-card:hover .art-card-ico { background: var(--brand-50); color: var(--brand-600); }
.art-card-body { flex: 1; min-width: 0; }
.art-card-body strong { display: block; color: var(--ink); font-weight: 600; }
.art-card-body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.art-card-chev { color: var(--faint); }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }

/* ---------- Makale ---------- */
.art-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.art-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.025em; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.art-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.art-actions { margin-left: auto; gap: 2px !important; }
.toc-mobile { display: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }
.toc-mobile summary { display: flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.toc-mobile ul { list-style: none; padding: 8px 0 0; margin: 0; }
.toc-mobile li { padding: 4px 0; } .toc-mobile li.l3 { padding-left: 14px; }

.prose { font-size: 16px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 23px; font-weight: 750; margin-top: 2em; padding-top: .2em; }
.prose h3 { font-size: 18.5px; font-weight: 700; margin-top: 1.6em; }
.prose h4 { font-size: 16px; font-weight: 700; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.md-anchor { margin-left: 8px; color: var(--line); font-weight: 400; opacity: 0; transition: opacity .15s; }
.prose h2:hover .md-anchor, .prose h3:hover .md-anchor, .prose h4:hover .md-anchor { opacity: 1; color: var(--faint); }
.prose a { text-decoration: underline; text-decoration-color: rgba(61, 99, 255, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose li > ul, .prose li > ol { margin-top: .35em; }
.prose li::marker { color: var(--faint); }
.prose ol > li::marker { color: var(--brand-600); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { font: 13.5px var(--mono); background: var(--bg-sunk); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: #3a2fa0; }
.prose kbd { display: inline-block; font: 600 12.5px var(--mono); padding: 1px 7px; border: 1px solid #cfd6e4; border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink); line-height: 1.6; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 18px; border-left: 3px solid var(--line); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.md-code { background: #0f1630; color: #dbe3ff; border-radius: 12px; padding: 16px 18px; overflow: auto; font: 13.5px/1.6 var(--mono); }
.md-code code { background: none; border: 0; padding: 0; color: inherit; }
.md-figure { margin: 1.5em 0; }
.md-figure img { border-radius: 12px; border: 1px solid var(--line); }
.md-figure figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.md-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.md-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.md-table th { background: var(--bg-soft); color: var(--ink); font-weight: 650; text-align: left; font-size: 13.5px; }
.md-table th, .md-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.md-table tbody tr:last-child td { border-bottom: 0; }
.md-table tbody tr:hover { background: #fafbfe; }

.md-callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 15px; line-height: 1.65; }
.md-callout-body { flex: 1; min-width: 0; }
.md-callout-body > * + * { margin-top: .5em; }
.md-callout-body ul { padding-left: 1.2em; }
.md-callout-title { font-weight: 700; color: var(--ink); }
.md-callout-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.md-callout-info { background: var(--info-bg); border-color: #d6e3ff; color: var(--info); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.md-callout-tip { background: var(--tip-bg); border-color: #c5efe2; color: var(--tip); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.md-callout-warning { background: var(--warn-bg); border-color: #fbe2b3; color: var(--warn); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.md-callout-danger { background: var(--danger-bg); border-color: #ffd3da; color: var(--danger); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86z'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E"); }
.md-callout-success { background: var(--success-bg); border-color: #c4efd9; color: var(--success); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.md-callout .md-callout-body { color: var(--text); }
.md-callout .md-callout-body a { color: inherit; }

.md-details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .15s; }
.md-details + .md-details { margin-top: 10px; }
.md-details[open] { box-shadow: var(--shadow-sm); border-color: #d5dbe8; }
.md-details summary { list-style: none; position: relative; padding: 14px 44px 14px 16px; font-weight: 600; color: var(--ink); cursor: pointer; }
.md-details summary::-webkit-details-marker { display: none; }
.md-details summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.md-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.md-details-body { padding: 0 16px 14px; color: var(--text); }
.md-details-body > * + * { margin-top: .6em; }

.md-steps > ol { list-style: none; counter-reset: step; padding-left: 0; }
.md-steps > ol > li { counter-increment: step; position: relative; padding: 0 0 18px 48px; margin: 0; }
.md-steps > ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-weight: 700; font-size: 14px; border: 1px solid var(--brand-100); }
.md-steps > ol > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 32px; color: var(--faint); }

.feedback { margin-top: 36px; padding: 22px 24px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.feedback h2 { font-size: 17px; font-weight: 700; }
.fb-ask { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.fb-btns { display: flex; gap: 10px; }
.fb-btns .btn { min-width: 110px; }
.fb-why h2 { margin-bottom: 12px; }
.fb-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; transition: all .15s; }
.radio-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.radio-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.feedback textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; resize: vertical; outline: none; }
.feedback textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 99, 255, .12); }
.fb-actions { display: flex; gap: 8px; margin-top: 12px; }
.fb-thanks { display: flex; gap: 12px; align-items: flex-start; color: var(--success); }
.fb-thanks strong { color: var(--ink); } .fb-thanks p { color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pager a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; transition: all .15s; }
.pager a:hover { border-color: var(--brand); color: inherit; }
.pager small { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: 12.5px; }
.pager strong { display: block; color: var(--ink); margin-top: 2px; }
.pager-next { text-align: right; } .pager-next small { justify-content: flex-end; }
.related { margin-top: 40px; }
.related h2 { font-size: 18px; margin-bottom: 14px; }

.toc { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; font-size: 13.5px; }
.toc-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.45; }
.toc li.l3 a { padding-left: 26px; font-size: 13px; }
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--brand-600); border-left-color: var(--brand); font-weight: 600; }
.toc-top { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; border: 0; background: none; color: var(--faint); font-size: 13px; padding: 0; }
.toc-top:hover { color: var(--ink); }
.toc-ctx { margin-top: 28px; }
.toc-ctx code { display: inline-block; font: 12px var(--mono); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; margin: 0 4px 6px 0; color: var(--muted); }

/* ---------- Arama sayfası ---------- */
.search-page { padding-top: 28px; padding-bottom: 64px; }
.search-hero { max-width: 860px; }
.search-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.search-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; margin-top: 32px; }
.facets { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; }
.facet-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; margin-bottom: 8px; }
.facet { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 9px; color: var(--text); font-size: 14px; }
.facet em { font-style: normal; font-size: 12px; color: var(--faint); background: var(--bg-sunk); padding: 1px 8px; border-radius: 999px; }
.facet:hover { background: var(--bg-soft); color: var(--ink); }
.facet.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.facet.active em { background: #fff; color: var(--brand-600); }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.did-you-mean { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; margin-bottom: 12px; border: 1px solid #d6e3ff; background: #eef4ff; border-radius: 10px; font-size: 14.5px; color: var(--ink); }
.did-you-mean a { font-weight: 700; color: var(--brand-600); text-decoration: underline; }
.did-you-mean .i { flex: none; margin-top: 3px; color: var(--brand-600); }
.did-you-mean > span { min-width: 0; overflow-wrap: anywhere; }
.result-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.result { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.result-path { font-size: 12.5px; color: var(--faint); }
.result h2 { font-size: 18px; font-weight: 650; margin: 3px 0 6px; }
.result h2 a { color: var(--ink); }
.result h2 a:hover { color: var(--brand-600); }
.result mark, .result-snippet mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 2px; }
.result-snippet { color: var(--text); font-size: 14.5px; }
.result-meta { display: flex; align-items: center; gap: 5px; color: var(--faint); font-size: 12.5px; margin-top: 6px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pagination a { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; }
.pagination a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.no-results { padding: 20px 0; max-width: 720px; }
.no-results h2 { font-size: 22px; margin: 14px 0 6px; }
.no-results ul { color: var(--muted); padding-left: 1.2em; margin: 10px 0 22px; }
.empty-ico, .done-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--bg-sunk); color: var(--faint); }

/* ---------- Formlar / destek ---------- */
.narrow-page { max-width: 1100px; padding-top: 28px; padding-bottom: 64px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.form-card h1 { font-size: 26px; font-weight: 800; }
.form { margin-top: 22px; display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 99, 255, .12); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; }
.hint { color: var(--faint); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; justify-content: flex-end; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.alert-danger { background: var(--danger-bg); color: #9f1f33; }
.alert-info { background: var(--info-bg); color: #1d49b8; }
.alert-success { background: var(--success-bg); color: #0b7a4f; }
.deflect { border: 1px dashed #c9d4ff; background: #f7f9ff; border-radius: 12px; padding: 12px 14px; }
.deflect p { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--brand-700); }
.deflect ul { list-style: none; padding: 0; margin: 8px 0 0; }
.deflect li a { display: block; padding: 5px 0; font-size: 14px; }
.ticket-side { display: grid; gap: 16px; }
.side-card { padding: 20px; }
.side-card h3 { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-bottom: 10px; }
.side-card h3 .i { color: var(--brand); }
.side-card p { font-size: 14px; line-height: 1.7; }
.kv { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.kv li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line-2); }
.kv li:first-child { border-top: 0; }
.done-card { max-width: 620px; margin: 20px auto; text-align: center; padding: 44px 32px; }
.done-card .done-ico { margin: 0 auto 18px; background: var(--success-bg); color: var(--success); }
.done-card .done-ico.warn { background: var(--brand-50); color: var(--brand); }
.done-card h1 { font-size: 26px; margin-bottom: 8px; }
.done-card .search { margin-top: 24px; text-align: left; }
.ticket-no { font: 700 28px var(--mono); color: var(--ink); letter-spacing: .04em; margin: 6px 0 14px; }

/* ---------- Alt bilgi ---------- */
.ftr { margin-top: 64px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: 14px; }
.page-article .ftr, .page-home .ftr { margin-top: 0; }
.page-home main { padding-bottom: 64px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.ftr-brand p { color: var(--muted); margin-top: 12px; max-width: 300px; }
.ftr h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a, .ftr ul span { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.ftr ul a:hover { color: var(--brand-600); }
.ftr-bottom { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.ftr-bottom a { color: var(--faint); }

/* ---------- Mobil çekmece ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(14, 22, 48, .45); animation: fade .2s; }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .22s ease-out; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 16px; overflow: auto; flex: 1; }
.drawer-body .sidebar { position: static; max-height: none; display: block; }
.drawer-nav { display: grid; gap: 2px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-nav a { padding: 9px 10px; border-radius: 8px; color: var(--text); font-weight: 500; }
.drawer-nav a:hover { background: var(--bg-soft); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(-100%); } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); z-index: 90; animation: fade .2s; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .doc-3 { grid-template-columns: 260px minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 60px; }
  .container { padding: 0 16px; }
  .only-mobile { display: inline-grid; }
  .hide-mobile { display: none !important; }
  .hdr-top { gap: 8px; height: 60px; }
  .hdr-search { max-width: none; }
  .logo-text { display: none; }
  .page-home .logo-text { display: inline; }
  .doc-2, .doc-3 { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 18px; }
  .doc > .sidebar { display: none; }
  .two-col, .ticket-layout, .search-layout { grid-template-columns: minmax(0, 1fr); }
  .facets { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .facet-title { display: none; }
  .facet { flex-shrink: 0; border: 1px solid var(--line); gap: 8px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .hero h1 { font-size: 32px; }
  .art-head h1 { font-size: 27px; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .search.lg input { padding-right: 16px; height: 54px; font-size: 16px; }
  .search.lg .search-btn { display: none; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-bottom { flex-direction: column; gap: 6px; }
  .pager { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .fb-btns { width: 100%; } .fb-btns .btn { flex: 1; }
  .prose { font-size: 15.5px; }
  .art-actions { margin-left: 0; }
}

@media print {
  .hdr, .sidebar, .toc, .feedback, .pager, .related, .cta, .ftr, .announcement, .art-actions, .toc-mobile { display: none !important; }
  .doc { display: block; padding: 0; }
  .md-details { break-inside: avoid; } .md-details:not([open]) .md-details-body { display: block; }
  body { font-size: 12pt; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.drawer .logo-text { display: inline !important; }

/* ==========================================================================
   1.3.0 — Mira logosu, sol menü ağacı (tüm modüller), modül seçerek arama,
   konu gruplu ana sayfa, iki sütunlu alt bilgi
   ========================================================================== */
.logo { gap: 12px; }
.logo-img { display: block; height: 34px; width: auto; }
.logo .logo-text { font-size: 15px; font-weight: 600; color: var(--mira); padding-left: 12px; border-left: 1px solid var(--line); letter-spacing: 0; white-space: nowrap; }
.drawer-head .logo-img { height: 28px; }
.ftr-brand .logo-img { height: 30px; }

/* Arama kutusunda modül seçimi (büyük kutu) */
.search-scope { position: absolute; left: 50px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; height: 38px; z-index: 1; }
.search-scope select { -webkit-appearance: none; appearance: none; height: 38px; max-width: 190px; padding: 0 28px 0 12px; border: 0; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 14px; cursor: pointer; outline: none; text-overflow: ellipsis; }
.search-scope select:focus-visible { box-shadow: 0 0 0 3px rgba(61, 99, 255, .25); }
.search-scope .scope-chev { position: absolute; right: 9px; color: var(--brand-600); pointer-events: none; }
.search.lg.has-scope input { padding-left: 258px; }
.search-hero .search.lg { max-width: 860px; }
.scope-note { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 3px 10px; border-radius: 999px; }
.code-hit { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font: 600 11.5px var(--mono); font-style: normal; color: #0b7a5f; background: var(--tip-bg); border: 1px solid #bfeedd; padding: 1px 7px; border-radius: 6px; margin-left: 6px; }
.suggest .code-hit { display: inline-flex; margin: 2px 0 1px; }

/* Ana sayfa: konu grupları */
.grp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 26px; }
.grp-jump a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 13.5px; font-weight: 500; }
.grp-jump a:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.grp { margin-top: 34px; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.grp:first-of-type { margin-top: 0; }
.grp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.grp-head h3 { font-size: 18px; font-weight: 750; }
.grp-head p { color: var(--muted); font-size: 13.5px; }

/* Sol menü ağacı: tüm modüller */
.side-title { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; margin: 2px 0 10px; }
/* Genel menü: bölüm menüsünün altında açılır-kapanır ek bölüm */
.side-section + .side-all { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.side-all > summary { cursor: pointer; list-style: none; border-radius: 8px; padding: 6px 8px; margin: 0 0 8px; }
.side-all > summary::-webkit-details-marker { display: none; }
.side-all > summary:hover { background: var(--bg-soft); color: var(--ink); }
.side-all > summary .tree-chev { margin-left: auto; }
.side-all[open] > summary .tree-chev { transform: rotate(90deg); }
.tree-sec { margin-bottom: 14px; }
.tree-sec-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mira); padding: 6px 8px 4px; }
.tree-root > details > summary { font-weight: 600; }
.tree-root > details > summary a { overflow: hidden; text-overflow: ellipsis; }
.cat-ico.xs { width: 22px; height: 22px; border-radius: 6px; margin-right: 4px; }
.tree-count { font-style: normal; font-size: 11px; font-weight: 600; color: var(--faint); background: var(--bg-sunk); padding: 0 7px; border-radius: 999px; margin-left: 4px; }
.sidebar .facets { position: static; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.search-layout { grid-template-columns: 290px minmax(0, 1fr); }
.search-layout > .sidebar { align-self: start; }
.list-title { font-size: 17px; margin: 0 0 12px; }

/* Mobil çekmece: gruplu modül listesi */
.drawer-nav a { display: flex; align-items: center; gap: 8px; }
.drawer-sec { margin-bottom: 12px; }
.drawer-mods a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 14.5px; }
.drawer-mods a:hover, .drawer-mods a.active { background: var(--brand-50); color: var(--brand-700); }

/* Alt bilgi: modüller iki sütun, Mira Teknoloji bağlantıları */
.ftr-grid { grid-template-columns: 1.25fr 2fr 1fr 1.25fr; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ftr-cols ul { gap: 7px; }
.ftr-web { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 600; color: var(--mira); }
.ftr-bottom-links { display: inline-flex; gap: 18px; }

@media (max-width: 1180px) {
  .ftr-grid { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 900px) {
  .logo .logo-text { display: none; }
  .logo-img { height: 28px; }
  .search-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
  .search-layout > .sidebar { position: static; max-height: none; overflow: visible; padding: 0; min-width: 0; }
  .search-layout > .sidebar .sidetree, .search-layout > .sidebar .side-all { display: none; }
  .sidebar .facets { border-bottom: 0; margin-bottom: 4px; padding-bottom: 4px; }
  .grp-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .grp-jump a { flex-shrink: 0; }
  .search-scope select { max-width: 150px; }
  .search.lg.has-scope input { padding-left: 214px; }
}
@media (max-width: 560px) {
  .search.lg.has-scope { flex-direction: column; align-items: stretch; }
  .search.lg.has-scope .search-icon { top: 74px; }
  .search-scope { position: static; transform: none; margin-bottom: 8px; height: 42px; }
  .search-scope select { max-width: none; width: 100%; height: 42px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .search.lg.has-scope input { padding-left: 48px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-bottom-links { gap: 14px; }
}
@media print { .search-scope, .grp-jump { display: none !important; } }

/* ==========================================================================
   1.4.0 — "Tüm modüller" bölüm menüsünün solunda ayrı sütun, her arama kutusunda modül seçimi,
   oturum menüsü ve müşteri giriş sayfası
   ========================================================================== */
.page-wide .container { max-width: 1640px; }
.doc { gap: 28px; }
.doc-2 { grid-template-columns: 250px 270px minmax(0, 1fr); }
.doc-3 { grid-template-columns: 250px 270px minmax(0, 1fr) 210px; }
.doc-3 .doc-main { max-width: 820px; }
.side-mods { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; padding: 2px 14px 4px 0; border-right: 1px solid var(--line); scrollbar-width: thin; }
.side-mods .side-title { color: var(--mira); margin: 4px 0 10px 4px; }
.side-mods .tree-root > details > summary.current { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand); }
.side-mods .tree-root > details > summary.current a { color: var(--brand-700); }
.side-mods .tree-root > details > summary.current .tree-count { background: #fff; color: var(--brand-600); }
.search-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
.search-layout.has-side { grid-template-columns: 250px 270px minmax(0, 1fr); }
.search-layout > .side-mods { align-self: start; }
.search-layout > .sidebar .facets { margin-top: 2px; }

/* Üst bilgideki küçük arama kutusunda modül seçimi */
.hdr-search { max-width: 700px; }
.search.has-scope:not(.lg) .search-scope { left: 36px; height: 30px; }
.search.has-scope:not(.lg) .search-scope select { height: 30px; max-width: 168px; padding: 0 24px 0 10px; border-radius: 8px; font-size: 13px; }
.search.has-scope:not(.lg) .scope-chev { right: 7px; }
.search.has-scope:not(.lg) input { padding-left: 214px; }

/* Oturum menüsü */
.hdr-user-menu { position: relative; }
.hdr-user-menu > summary { list-style: none; cursor: pointer; }
.hdr-user-menu > summary::-webkit-details-marker { display: none; }
.hdr-user-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-user-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 70; }
.hdr-user-pop p { padding: 6px 8px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.hdr-user-pop p b { display: block; color: var(--ink); }
.hdr-user-pop p small { color: var(--faint); font-size: 12.5px; }
.hdr-user-pop a, .hdr-user-pop button, .drawer-nav form button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.hdr-user-pop a:hover, .hdr-user-pop button:hover, .drawer-nav form button:hover { background: var(--bg-soft); color: var(--ink); }
.drawer-nav form button { padding: 9px 10px; font-weight: 500; }

/* Müşteri giriş sayfası */
.cust-login-body { min-height: 100vh; display: grid; place-items: center; background:
  radial-gradient(800px 360px at 12% -10%, rgba(106, 61, 255, .16), transparent 60%),
  radial-gradient(700px 360px at 95% 0%, rgba(25, 198, 160, .16), transparent 60%), linear-gradient(180deg, #f3f5ff 0%, #fff 100%); }
.cust-login { width: min(440px, calc(100vw - 32px)); padding: 40px 0; }
.cust-login-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 32px; }
.cust-login-card .logo { margin-bottom: 22px; }
.cust-login-card h1 { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
.cust-login-card > .muted { margin: 6px 0 18px; color: var(--muted); }
.cust-login-card .alert { margin-bottom: 14px; }
.cust-login-card .form { display: grid; gap: 14px; }
.cust-login-card .btn-lg { width: 100%; justify-content: center; }
.cust-login-help { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: var(--muted); }
.cust-login-help .i { flex-shrink: 0; margin-top: 2px; color: var(--faint); }
.cust-login-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--faint); }
.cust-login-foot a { color: var(--muted); }

/* Mobil çekmece: bölüm menüsü ve altında "Tüm modüller" */
.drawer-body .side-mods { display: block; position: static; max-height: none; overflow: visible; border-right: 0; padding: 14px 0 0; margin-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 1300px) { .hide-wide { display: none !important; } }
@media (max-width: 1500px) {
  .doc-3 { grid-template-columns: 250px 270px minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; }
}
@media (max-width: 1150px) {
  .side-mods { display: none; }
  .hdr .js-drawer-open { display: inline-grid; }
  .doc-2, .doc-3, .search-layout.has-side { grid-template-columns: 270px minmax(0, 1fr); }
  .search-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .doc-2, .doc-3, .search-layout, .search-layout.has-side { grid-template-columns: minmax(0, 1fr); }
  .hdr-user-name { display: none; }
  .search.has-scope:not(.lg) .search-scope select { max-width: 120px; }
  .search.has-scope:not(.lg) input { padding-left: 166px; }
}
@media (max-width: 560px) {
  /* Mobil: üst arama kutusu logonun altında, tam genişlikte ikinci satır (modül seçici + yazı alanı sığsın) */
  :root { --hdr-h: 108px; }
  .hdr-top { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; row-gap: 8px; }
  .hdr-top .hdr-search { order: 3; flex: 1 0 100%; }
  .search.has-scope:not(.lg) .search-scope { position: absolute; transform: translateY(-50%); margin: 0; height: 30px; left: 34px; }
  .search.has-scope:not(.lg) .search-scope select { width: auto; max-width: 140px; height: 30px; background: var(--brand-50); border: 0; box-shadow: none; }
  .search.has-scope:not(.lg) input { padding-left: 184px; padding-right: 12px; }
  .search.has-scope:not(.lg) .search-kbd { display: none; }
  .cust-login-card { padding: 24px; }
}
@media print { .side-mods, .hdr-user-menu { display: none !important; } }
/* ==========================================================================
   1.5.0 — Eğitim videoları ve sürüm notları
   ========================================================================== */
.md-page { padding-top: 24px; padding-bottom: 64px; }  /* yatay boşluk .container'dan gelir */
.md-narrow { max-width: 960px; }
.md-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 14px 0 16px; }
.md-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 26px; }
.md-field { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; height: 44px; }
.md-field input, .md-field select { border: 0; outline: 0; font: inherit; background: transparent; min-width: 220px; height: 100%; }
.md-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 99, 255, .12); }
.md-group { margin-top: 26px; }
.list-title small { color: var(--muted); font-weight: 600; font-size: 14px; margin-left: 6px; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vid-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; transition: border-color .15s, box-shadow .15s; }
.vid-card:hover { border-color: #cfd7ff; box-shadow: var(--shadow-sm); color: inherit; }
.vid-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0f1a45, #2b4aa3); color: #fff; }
.vid-thumb svg { opacity: .9; }
.vid-body { display: grid; gap: 4px; padding: 12px 14px; }
.vid-body strong { color: var(--ink); font-size: 15px; }
.vid-body small { color: var(--muted); }
.vid-player { background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 16px; }
.vid-player video { width: 100%; height: 100%; display: block; }
.note-list { display: grid; gap: 10px; }
.note-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: inherit; }
.note-card:hover { border-color: #cfd7ff; color: inherit; }
.note-date { color: var(--mira); font-weight: 700; font-size: 14px; }
.note-body { display: grid; gap: 4px; }
.note-body strong { color: var(--ink); }
.note-body small { color: var(--muted); font-weight: 600; }
.note-body span { color: var(--muted); font-size: 14.5px; }
.note-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.note-content th, .note-content td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 22px; }
@media (max-width: 640px) { .note-card { grid-template-columns: 1fr; gap: 6px; } .md-field input, .md-field select { min-width: 0; width: 100%; } .md-field { flex: 1 1 100%; } }
