/* ==========================================================================
   Dijital Baran — Kılavuz Merkezi (kilavuz.css)
   Apple Editorial Light & 3B Kontür Mimarisi (index.html & iletisim.html uyumlu)
   ========================================================================== */

.guides-page {
  background: #F5F5F7;
  color: var(--text-primary);
}

.guides-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

@media (max-width: 600px) {
  .guides-container {
    padding: 0 14px;
  }
}

/* Hero Bölümü: Saf Beyaz (#FFFFFF) */
.guides-hero {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #D5DFEC;
  padding: 36px 0 32px;
}

@media (max-width: 600px) {
  .guides-hero {
    padding: 24px 0 22px;
  }
}

.guides-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}

.guides-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 650px;
}

.guides-display-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw + 0.65rem, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.024em;
  color: var(--text-primary);
}

.guides-hero-lead {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.guides-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.guides-hero-actions [hidden] {
  display: none !important;
}

/* Ana Çalışma Alanı (#F5F5F7) */
.guides-workspace {
  width: 100%;
  background: #F5F5F7;
  padding: 32px 0 48px;
  flex: 1;
}

@media (max-width: 600px) {
  .guides-workspace {
    padding: 20px 0 32px;
  }
}

.guides-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .guides-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Mobil Arama & Uygulama Seçici */
.mobile-controls {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #D5DFEC;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 960px) {
  .mobile-controls {
    display: flex;
  }
  .sidebar {
    display: none;
  }
}

.mobile-select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #BCC9DA;
  background: #F8FAFC;
  color: #0B192C;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Masaüstü Sol Panel */
.sidebar {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid #D5DFEC;
  box-shadow: var(--shadow-card);
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 15px;
  height: 15px;
  color: #475B74;
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 36px;
  border-radius: 9999px;
  border: 1px solid #BCC9DA;
  background: #F8FAFC;
  color: #0B192C;
  font-size: 0.84rem;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.search-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #0055B3;
  box-shadow: 0 0 0 3px rgba(0, 85, 179, 0.12);
}

.search-clear {
  position: absolute;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  border: 0;
  background: #E2E8F0;
  color: #0F2342;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-clear.visible {
  display: inline-flex;
}

.sidebar-section-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475B74;
  padding: 0 8px 8px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 8px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 11px;
  text-decoration: none;
  color: #2C3E55;
  font-size: 0.83rem;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-link:hover {
  background: #F1F5F9;
  color: #0B192C;
}

.nav-link.active {
  background: linear-gradient(180deg, #0A70DC 0%, #0055B3 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px -2px rgba(0, 85, 179, 0.28);
}

.nav-link-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-link-left span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475B74;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.nav-link.active .nav-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Kategori Nokta Renkleri */
.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0055B3;
  flex-shrink: 0;
}

[data-category="erp-is"] .cat-dot { background: #146735; }
[data-category="iletisim"] .cat-dot { background: #0055B3; }
[data-category="operasyon"] .cat-dot { background: #0E7490; }
[data-category="kurumsal"] .cat-dot { background: #F68B1E; }

.nav-link.active .cat-dot {
  background: #FFFFFF;
}

/* Sağ İçerik Kabuğu */
.content-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Tam Metin Arama Sonuçları */
.search-results-panel {
  padding: 20px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #8EB4E3;
  box-shadow: var(--shadow-card);
}

.search-results-panel[hidden] {
  display: none;
}

.search-results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D5DFEC;
}

.search-results-header h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B192C;
}

.search-hit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-hit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
  text-decoration: none;
  color: inherit;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.search-hit:hover {
  background: #FFFFFF;
  border-color: #0055B3;
}

.search-hit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.search-hit-app {
  font-weight: 700;
  color: #0055B3;
}

.search-hit-sec {
  font-weight: 600;
  color: #475B74;
}

.search-hit-snippet {
  font-size: 0.84rem;
  color: #2C3E55;
  line-height: 1.5;
}

.search-hit-snippet mark {
  background: #FEF3C7;
  color: #0B192C;
  padding: 0 3px;
  border-radius: 4px;
  font-weight: 600;
}

.empty-search-note {
  color: #475B74;
  font-size: 0.88rem;
}

/* Genel İndeks Görünümü (?app= yokken) */
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doc-card.is-detail {
  padding: 28px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #D5DFEC;
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 600px) {
  .doc-card.is-detail {
    padding: 18px 16px;
  }
}

.index-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .index-stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.index-stat-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #D5DFEC;
  box-shadow: var(--shadow-sm);
}

.index-stat-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475B74;
}

.index-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0B192C;
  font-variant-numeric: tabular-nums;
}

.category-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B192C;
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Lekesiz 1.5px 3B Kontürlü Kılavuz Kartı (surface="white") */
.index-card {
  --gx: 50%;
  --gy: 50%;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FCFDFF 100%) padding-box,
    linear-gradient(180deg, #C3D0E0 0%, #AEBFD4 100%) border-box;
  box-shadow:
    inset 0 1px 0 0 #FFFFFF,
    0 0 0 3px rgba(15, 35, 66, 0.03),
    0 10px 26px -12px rgba(11, 25, 44, 0.09);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, background 220ms ease;
}

.index-card:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(320px circle at var(--gx) var(--gy), #FFFFFF 0%, #F7FAFF 62%, #FFFFFF 100%) padding-box,
    radial-gradient(300px circle at var(--gx) var(--gy), #0055B3 0%, #1D7BF6 40%, #F68B1E 76%, #B8C7DA 100%) border-box;
  box-shadow:
    inset 0 1px 0 0 #FFFFFF,
    0 16px 32px -14px rgba(11, 25, 44, 0.14);
}

.index-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F1F5F9;
  border-bottom: 1px solid #D5DFEC;
  overflow: hidden;
}

.index-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 300ms ease;
}

.index-card:hover .index-card-thumb img {
  transform: scale(1.02);
}

.index-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1;
}

.index-card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #0F2342;
  line-height: 1.25;
}

.index-card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #2C3E55;
  flex: 1;
}

.index-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #D5DFEC;
  color: #475B74;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mini-pill-cat {
  background: #EAF2FD;
  border-color: #8EB4E3;
  color: #0055B3;
}

/* Detay Kılavuz Sayfası (?app=<id>) */
.print-header {
  display: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #475B74;
}

.breadcrumb a {
  color: #0055B3;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.doc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #D5DFEC;
  color: #2C3E55;
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.badge-cat {
  background: #EAF2FD;
  border-color: #8EB4E3;
  color: #0055B3;
}

.doc-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.6rem, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: #0B192C;
  line-height: 1.18;
}

.doc-summary {
  font-size: 0.94rem;
  line-height: 1.62;
  color: #2C3E55;
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
}

.meta-item strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #475B74;
}

.meta-item a,
.meta-item span {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0F2342;
  overflow-wrap: break-word;
}

.meta-item a {
  color: #0055B3;
  text-decoration: none;
}

.meta-item a:hover {
  text-decoration: underline;
}

/* Bölüm İçi İçindekiler */
.doc-toc {
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
}

.doc-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475B74;
  margin-bottom: 10px;
}

.doc-toc-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-toc-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #BCC9DA;
  color: #0F2342;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.doc-toc-link:hover {
  border-color: #0055B3;
  color: #0055B3;
}

/* İndirilebilir Dokümanlar */
.downloads-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
}

.downloads-box h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0F2342;
  margin-bottom: 10px;
}

.downloads-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 36px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #8EB4E3;
  color: #0055B3;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.download-pill:hover {
  background: #EAF2FD;
  border-color: #0055B3;
}

.download-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #0055B3;
  color: #FFFFFF;
}

.download-size {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #475B74;
}

/* İş Akışı Diyagramı & Hızlı Referans Tablosu */
.manual-diagram {
  padding: 16px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
}

.manual-diagram figcaption {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F2342;
  margin-bottom: 12px;
}

.manual-diagram-canvas {
  width: 100%;
  overflow-x: auto;
}

.manual-diagram-canvas svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.manual-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #D5DFEC;
  background: #FFFFFF;
}

.manual-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.manual-table caption {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0F2342;
  background: #F8FAFC;
  border-bottom: 1px solid #D5DFEC;
}

.manual-table th {
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475B74;
  background: #F8FAFC;
  border-bottom: 1px solid #D5DFEC;
}

.manual-table td {
  padding: 10px 14px;
  color: #2C3E55;
  border-bottom: 1px solid #E2E8F0;
}

.manual-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Bölüm Adımları & Ekran Görüntüsü */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid #E2E8F0;
  scroll-margin-top: 94px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0B192C;
}

.kind-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #EAF2FD;
  border: 1px solid #8EB4E3;
  color: #0055B3;
  font-size: 0.72rem;
  font-weight: 700;
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 10px 14px 10px 44px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #2C3E55;
  font-size: 0.88rem;
  line-height: 1.58;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 12px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #0055B3;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.manual-section-note {
  padding: 11px 14px;
  border-radius: 11px;
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  color: #7C2D12;
  font-size: 0.84rem;
  line-height: 1.55;
}

.shot-figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  border: 1.5px solid #C3D0E0;
  background: #F8FAFC;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shot-trigger:hover {
  border-color: #0055B3;
  box-shadow: 0 10px 24px -10px rgba(0, 85, 179, 0.25);
}

.shot-trigger img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
}

.shot-zoom-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(11, 25, 44, 0.84);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.shot-figure figcaption {
  font-size: 0.8rem;
  color: #475B74;
  text-align: center;
}

/* SSS Akordeon & İpuçları */
.manual-faq {
  padding-top: 22px;
  border-top: 1px solid #E2E8F0;
}

.manual-faq-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #D5DFEC;
  background: #F8FAFC;
  overflow: hidden;
}

.faq-item summary {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F2342;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.faq-answer {
  padding: 0 16px 14px;
  font-size: 0.86rem;
  line-height: 1.58;
  color: #2C3E55;
}

.tips-box {
  padding: 18px 20px;
  border-radius: 14px;
  background: #EAF2FD;
  border: 1px solid #8EB4E3;
}

.tips-box h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 10px;
}

.tips-box ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #2C3E55;
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Önceki / Sonraki Kılavuz */
.prev-next-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid #E2E8F0;
}

@media (min-width: 640px) {
  .prev-next-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.prev-next-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #D5DFEC;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.prev-next-link:hover {
  background: #FFFFFF;
  border-color: #0055B3;
}

.prev-next-link.next {
  text-align: right;
}

.prev-next-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475B74;
}

.prev-next-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0055B3;
}

/* Lightbox Diyalog (320x568 uyumlu max-height) */
dialog.guides-lightbox {
  margin: auto;
  width: min(1100px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border-radius: 18px;
  border: 1px solid #C3D0E0;
  background: #FFFFFF;
  box-shadow: 0 24px 60px rgba(11, 25, 44, 0.28);
  overflow: hidden;
}

dialog.guides-lightbox::backdrop {
  background: rgba(11, 25, 44, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 1.5rem);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid #D5DFEC;
  flex-shrink: 0;
}

.lightbox-caption {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0B192C;
}

.lightbox-body {
  padding: 16px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  min-height: 0;
  flex: 1;
}

.lightbox-body img {
  max-width: 100%;
  max-height: calc(100dvh - 8rem);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.14);
}

/* Footer */
.guides-footer {
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid #D5DFEC;
  padding: 20px 0;
}

.guides-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: #2C3E55;
}

.guides-footer-home {
  font-weight: 600;
  color: #0055B3;
  text-decoration: none;
}

.guides-footer-home:hover {
  text-decoration: underline;
}

/* Yazdırma (PDF) Stili */
@media print {
  .top-header,
  .guides-hero,
  .sidebar,
  .mobile-controls,
  .guides-footer,
  .no-print {
    display: none !important;
  }
  .guides-workspace {
    background: #FFFFFF;
    padding: 0;
  }
  .guides-layout {
    display: block;
  }
  .doc-card.is-detail {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .print-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #0B192C;
  }
  .print-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .print-header-brand img {
    height: 36px;
    width: auto;
  }
  .print-header-company {
    font-weight: 700;
    font-size: 14px;
  }
  .print-header-doc {
    font-size: 12px;
    color: #475B74;
  }
  .print-header-meta {
    font-size: 11px;
    text-align: right;
  }
}
