/* Akato tanitim sitesi — uygulama arayuzu mock (styles.css ile uyumlu) */
:root {
  --man-red: #1565C0;
  --man-red-hover: #0D47A1;
  --font-family: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --sidebar-width: 220px;
  --bg-body: #0f0f1a;
  --bg-sidebar: #161625;
  --bg-header: #1a1a2e;
  --bg-card: #1e1e32;
  --bg-card-hover: #252540;
  --bg-input: #252540;
  --border-color: #2a2a45;
  --text-heading: #f0f0f5;
  --text-primary: #d4d4e0;
  --text-secondary: #9898b0;
  --text-muted: #6a6a85;
}

/* Site genel */
.site-body {
  font-family: var(--font-family);
  background: #080810;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
.site-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; overflow-x: hidden; }
.site-wrap--wide { max-width: none; width: 100%; padding: 0 16px; box-sizing: border-box; }
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,15,26,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-nav a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: .9rem; }
.site-nav a:hover { color: var(--text-heading); }
.site-nav-links { display: flex; gap: 24px; align-items: center; }
.site-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-md);
  background: var(--man-red); color: #fff; font-weight: 700;
  text-decoration: none; border: none; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
}
.site-btn:hover { background: var(--man-red-hover); color: #fff; }

.site-hero { padding: 56px 0 40px; text-align: center; }
.site-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800;
  color: var(--text-heading); letter-spacing: -.03em; margin-bottom: 16px;
}
.site-hero p { color: var(--text-secondary); max-width: 720px; margin: 0 auto 32px; font-size: 1.05rem; }

.site-section { padding: 72px 0; overflow-x: hidden; position: relative; }
.site-section.alt { background: #0c0c16; }
.site-sec-title {
  font-size: 1.65rem; font-weight: 800; color: var(--text-heading);
  margin-bottom: 12px; letter-spacing: -.02em;
}
.site-sec-desc { color: var(--text-muted); margin-bottom: 36px; max-width: 680px; }

/* Uygulama onizleme cercevesi */
.app-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  background: var(--bg-body);
  margin: 0 auto;
}
.app-frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #12121f;
  border-bottom: 1px solid var(--border-color);
  font-size: .75rem; color: var(--text-muted);
}
.app-frame-dot { width: 10px; height: 10px; border-radius: 50%; }
.app-frame-dot.r { background: #e74c3c; }
.app-frame-dot.y { background: #f1c40f; }
.app-frame-dot.g { background: #2ecc71; }

/* App layout clone */
.ak-wrapper { display: flex; min-height: 520px; font-size: 13px; }
.ak-sidebar {
  width: var(--sidebar-width); flex-shrink: 0;
  background: var(--bg-sidebar); border-right: 1px solid var(--border-color);
  display: flex; flex-direction: column;
}
.ak-sidebar-brand {
  padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--border-color);
  font-weight: 900; font-size: .95rem; color: var(--text-heading);
  letter-spacing: .08em;
}
.ak-sidebar-brand span { color: var(--man-red); }
.ak-menu { padding: 10px 8px; flex: 1; }
.ak-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  color: var(--text-secondary); font-weight: 600; font-size: .82rem;
  margin-bottom: 4px;
}
.ak-menu-item.active { background: rgba(21,101,192,.18); color: #fff; }
.ak-menu-item.active i { color: var(--man-red); }
.ak-menu-item i { width: 18px; text-align: center; }
.ak-sidebar-foot {
  padding: 12px; border-top: 1px solid var(--border-color);
  font-size: .72rem;
}
.ak-role-row { display: flex; gap: 10px; align-items: center; }
.ak-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--man-red); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
}
.ak-badge-admin {
  background: #e74c3c; color: #fff; font-size: .58rem;
  padding: 1px 5px; border-radius: 4px; font-weight: 800;
}
.ak-badge-test {
  background: var(--man-red); color: #fff; font-size: .58rem;
  padding: 1px 5px; border-radius: 4px; font-weight: 800;
}

.ak-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ak-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
}
.ak-breadcrumb { font-size: .72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.ak-breadcrumb i { color: var(--man-red); }
.ak-header-icons { display: flex; gap: 8px; color: var(--text-muted); }

.ak-content { padding: 16px 18px; flex: 1; overflow: auto; }
.ak-top-bar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.ak-page-title { font-size: 1.25rem; font-weight: 800; color: var(--text-heading); margin-bottom: 8px; }

/* Renk legend — uygulamadaki gibi */
.ak-legend {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  padding: 8px 12px; background: rgba(255,255,255,.03);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
}
.ak-legend-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 700; color: var(--text-secondary);
}
.ak-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ak-dot-w { background: rgba(255,255,255,.85); animation: ak-blink-w 1s infinite; }
.ak-dot-b { background: #2196f3; animation: ak-blink-b 1s infinite; }
.ak-dot-g { background: #00c853; }
.ak-dot-r { background: #e53935; animation: ak-blink-r 1s infinite; }
@keyframes ak-blink-w { 0%,100%{opacity:.5} 50%{opacity:1;box-shadow:0 0 8px rgba(255,255,255,.4)} }
@keyframes ak-blink-b { 0%,100%{opacity:.55} 50%{opacity:1;box-shadow:0 0 8px rgba(33,150,243,.5)} }
@keyframes ak-blink-r { 0%,100%{opacity:.55} 50%{opacity:1;box-shadow:0 0 8px rgba(229,57,53,.5)} }

.ak-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-btn-yenile {
  background: var(--bg-card); border: 1px solid var(--border-color);
  color: var(--text-primary); padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 700; font-size: .82rem;
}
.ak-btn-yaz {
  background: var(--man-red); color: #fff; border: none;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-weight: 800; font-size: .85rem;
  box-shadow: 0 4px 16px rgba(21,101,192,.3);
}

/* Sekmeler */
.ak-tabs-label {
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.ak-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ak-tab {
  padding: 6px 12px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-color);
  font-size: .72rem; font-weight: 700; color: var(--text-secondary);
}
.ak-tab.on { background: var(--man-red); color: #fff; border-color: var(--man-red); }
.ak-tab .cnt {
  background: rgba(255,255,255,.15); padding: 1px 6px;
  border-radius: 999px; margin-left: 4px; font-size: .65rem;
}

.ak-filters { display: flex; gap: 8px; margin-bottom: 12px; }
.ak-filters input {
  flex: 1; padding: 8px 12px; border-radius: var(--radius-md);
  border: 1px solid var(--border-color); background: var(--bg-input);
  color: var(--text-primary); font-size: .78rem;
}

/* Tablo */
.ak-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.ak-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.ak-table thead { background: var(--bg-sidebar); }
.ak-table th {
  padding: 10px 12px; text-align: left; font-size: .65rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--text-muted); white-space: nowrap;
}
.ak-table td { padding: 10px 12px; border-top: 1px solid var(--border-color); vertical-align: middle; }
.ak-table tbody tr { transition: background .15s; }
.ak-table tbody tr:hover { background: var(--bg-card-hover); }
.ak-row-onay { border-left: 4px solid rgba(255,255,255,.75); animation: ak-row-w 1s infinite; }
.ak-row-mavi { border-left: 4px solid #2196f3; background: rgba(33,150,243,.1); animation: ak-row-b 1s infinite; }
.ak-row-muh { border-left: 4px solid #3498db; background: rgba(52,152,219,.08); }
@keyframes ak-row-b { 0%,100%{background:rgba(33,150,243,.06)} 50%{background:rgba(33,150,243,.18)} }
.ak-row-kirmizi { border-left: 4px solid #e53935; animation: ak-row-r 1s infinite; }
.ak-row-yesil { border-left: 4px solid #00c853; background: rgba(0,200,83,.12); }
@keyframes ak-row-w { 0%,100%{background:rgba(255,255,255,.03)} 50%{background:rgba(255,255,255,.12)} }
@keyframes ak-row-r { 0%,100%{background:rgba(229,57,53,.06)} 50%{background:rgba(229,57,53,.2)} }

.ak-semptom-no {
  font-family: 'Courier New', monospace; font-weight: 900; font-size: .78rem;
  background: #1a1a2e; padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12); color: #fff;
}
.ak-durum {
  display: inline-flex; padding: 3px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700;
}
.ak-durum-bek { background: rgba(255,193,7,.15); color: #ffc107; }
.ak-durum-ok { background: rgba(46,204,113,.15); color: #2ecc71; }
.ak-durum-red { background: rgba(231,76,60,.15); color: #e74c3c; }
.ak-durum-muh { background: rgba(52,152,219,.15); color: #3498db; }

.ak-islem { display: flex; gap: 4px; justify-content: center; }
.ak-islem-btn {
  width: 28px; height: 28px; border: none; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; cursor: default; color: #fff;
}
.ak-islem-btn.onay { background: #2ecc71; }
.ak-islem-btn.red { background: #e74c3c; }
.ak-islem-btn.muh { background: #3498db; }

/* Modal mock */
.ak-modal-overlay {
  background: rgba(0,0,0,.55); padding: 24px;
  display: flex; align-items: center; justify-content: center;
}
.ak-modal {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); max-width: 420px; width: 100%;
  padding: 22px; box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.ak-modal h4 { color: var(--text-heading); font-size: 1rem; margin-bottom: 4px; }
.ak-modal .sub { color: var(--text-muted); font-size: .78rem; margin-bottom: 16px; }
.ak-form-label { font-size: .72rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; display: block; }
.ak-form-input {
  width: 100%; padding: 10px 12px; margin-bottom: 12px;
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  background: var(--bg-input); color: var(--text-primary); font-size: .82rem;
}
.ak-kategori { display: flex; gap: 10px; margin-bottom: 12px; }
.ak-kat-kart {
  flex: 1; padding: 14px; text-align: center; border-radius: 14px;
  border: 2px solid var(--border-color); background: rgba(255,255,255,.03);
  font-size: .78rem; font-weight: 700; color: var(--text-secondary);
}
.ak-kat-kart.sel { border-color: var(--man-red); color: var(--text-heading); }
.ak-modal-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.ak-modal-btns button {
  padding: 10px 18px; border-radius: var(--radius-md); font-weight: 700; font-size: .82rem; border: none;
}
.ak-modal-btns .cancel { background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); }
.ak-modal-btns .save { background: var(--man-red); color: #fff; }

/* Detay bar — Onayla Reddet */
.ak-detay-bar {
  display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px;
  margin-top: 14px; border-top: 1px solid var(--border-color);
}
.ak-detay-btn {
  padding: 10px 18px; border-radius: var(--radius-md); border: none;
  font-weight: 700; font-size: .82rem; color: #fff;
}
.ak-detay-btn.onay { background: #2ecc71; }
.ak-detay-btn.red { background: #e74c3c; }
.ak-detay-btn.muh { background: #3498db; }

/* Is akisi adimlari */
.flow-steps { display: flex; flex-direction: column; gap: 48px; }
.flow-step { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.flow-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--man-red);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.flow-step h3 { color: var(--text-heading); font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.flow-step p { color: var(--text-secondary); font-size: .92rem; }

/* Login mock */
.ak-login-wrap {
  padding: 32px; display: flex; flex-direction: column; align-items: center;
  min-height: 400px; justify-content: center;
}
.ak-login-card {
  width: 100%; max-width: 360px; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 28px;
}
.ak-login-card h3 { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; font-weight: 500; }
.ak-auth-btn {
  width: 100%; padding: 14px; border: none; border-radius: var(--radius-md);
  background: var(--man-red); color: #fff; font-weight: 700; font-size: .95rem; margin-top: 8px;
}

/* Indir */
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dl-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.dl-card--primary {
  border-color: rgba(21, 101, 192, 0.35);
  background: linear-gradient(160deg, rgba(21, 101, 192, 0.12) 0%, var(--bg-card) 55%);
}
.dl-card h3 { color: var(--text-heading); margin: 12px 0 8px; }
.dl-card p { color: var(--text-muted); font-size: .85rem; margin-bottom: 16px; }
.site-dl-intro {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  max-width: 720px;
  margin: -8px 0 20px;
}
.dl-steps {
  list-style: none;
  text-align: left;
  margin: 0 0 18px;
  padding: 0;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.dl-steps li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.dl-steps li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #86efac;
  font-weight: 700;
}
.dl-note {
  margin-top: 12px;
  font-size: .75rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.two-mocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 900px) {
  .flow-step, .two-mocks, .role-compare, .split-annotate { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .site-wrap { padding: 0 12px; }
  .site-nav-inner {
    height: auto;
    min-height: 56px;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 8px;
  }
  .site-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: .82rem;
  }
  .site-hero {
    padding: 32px 0 24px;
    text-align: left;
  }
  .site-hero h1 { font-size: 1.45rem; }
  .site-hero p {
    margin-left: 0;
    margin-right: 0;
    font-size: .92rem;
    line-height: 1.55;
  }
  .site-section { padding: 40px 0; }
  .ak-wrapper { flex-direction: column; }
  .ak-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .ak-menu { display: flex; flex-wrap: wrap; }
}

/* MAN marka animasyonu (man-brand.js birebir) */
.akato-man-brand-stack { display: inline-flex; flex-direction: column; align-items: center; overflow: visible; }
.akato-man-brand--login { transform: scale(clamp(0.55, 11vw, 1)); transform-origin: center top; }
.akato-man-word-block { position: relative; width: 380px; max-width: 86vw; height: 188px; }
.akato-man-arc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.akato-man-arc-draw { stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: akato-man-arc-cycle 2.8s ease-in-out infinite; }
@keyframes akato-man-arc-cycle {
  0% { stroke-dashoffset: 1; opacity: .5; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  50% { stroke-dashoffset: 0; opacity: 1; filter: drop-shadow(0 0 16px #fff); }
  66% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 1; opacity: .5; filter: none; }
}
.akato-man-img-wrap { position: absolute; left: 50%; top: 54%; transform: translate(-50%,-50%); z-index: 2; width: 72%; }
.akato-man-loader-img { width: 100%; height: auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }
.akato-man-lion-block { width: 128px; opacity: 0; animation: akato-man-lion-cycle 2.8s ease-in-out infinite; }
@keyframes akato-man-lion-cycle {
  0%, 40% { opacity: 0; transform: translateY(10px) scale(.94); }
  48%, 72% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(8px) scale(.96); }
}
.login-live-wrap { padding: 20px 16px 28px; background: var(--bg-body); display: flex; flex-direction: column; align-items: center; }
.login-form-card-live { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px 28px; position: relative; box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,0,0,.35)); }
.auth-lang-flags { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.auth-lang-flags img { width: 26px; border-radius: 3px; border: 1px solid var(--border-color); }
.akato-conn-status { padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .82rem; }
.akato-conn-status--degraded { background: rgba(241,196,15,.12); border: 1px solid rgba(241,196,15,.35); color: #f1c40f; }
.akato-conn-status--online { background: rgba(46,204,113,.12); border: 1px solid rgba(46,204,113,.35); color: #2ecc71; }

.annotate-stage { position: relative; max-width: 100%; }
.annotate-stage > img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
.pin { position: absolute; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: var(--man-red); color: #fff; font-weight: 900; font-size: .8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(21,101,192,.45); animation: pin-pulse 2s infinite; z-index: 5; }
.pin.active { background: #2ecc71; transform: translate(-50%,-50%) scale(1.12); }
@keyframes pin-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(21,101,192,.45); } 50% { box-shadow: 0 0 0 12px rgba(21,101,192,0); } }
.callout-panel { margin-top: 12px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.callout-panel-head { padding: 14px 18px; background: rgba(21,101,192,.12); border-bottom: 1px solid var(--border-color); display: flex; gap: 12px; align-items: center; }
.callout-panel-head .num { width: 30px; height: 30px; border-radius: 50%; background: var(--man-red); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.callout-panel-head h4 { margin: 0; color: var(--text-heading); font-size: .95rem; }
.callout-panel-body { padding: 16px 18px; color: var(--text-secondary); font-size: .88rem; line-height: 1.65; }
.callout-panel-body p { margin: 0 0 10px; }
.callout-panel-body p:last-child { margin-bottom: 0; }
.flow-chain { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.flow-chain li {
  padding: 10px 12px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.04); border-left: 3px solid var(--man-red);
  font-size: .82rem; line-height: 1.5;
}
.flow-chain li strong { color: var(--text-heading); }
.flow-chain li .tag {
  display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; background: rgba(21,101,192,.2); color: #90caf9;
}
.flow-chain li .tag.red { background: rgba(231,76,60,.15); color: #e74c3c; }
.flow-chain li .tag.green { background: rgba(46,204,113,.15); color: #2ecc71; }
.flow-chain li .tag.amber { background: rgba(255,193,7,.15); color: #ffc107; }
.callout-empty { padding: 28px; text-align: center; color: var(--text-muted); font-size: .9rem; }
.split-annotate { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.section-nav a { padding: 7px 13px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); text-decoration: none; }
.role-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-col-title { text-align: center; padding: 10px; border-radius: var(--radius-md); font-weight: 800; margin-bottom: 10px; font-size: .85rem; }
.role-col-title.admin { background: rgba(231,76,60,.12); color: #e74c3c; }
.role-col-title.test { background: rgba(21,101,192,.12); color: #64b5f6; }
.perm-table { width: 100%; border-collapse: collapse; font-size: .8rem; margin-top: 16px; }
.perm-table th, .perm-table td { padding: 9px 11px; border: 1px solid var(--border-color); }
.perm-table th { background: var(--bg-sidebar); color: var(--text-muted); font-size: .68rem; text-transform: uppercase; }
.perm-yes { color: #2ecc71; font-weight: 800; }
.perm-no { color: #e74c3c; font-weight: 800; }
.perm-part { color: #f1c40f; font-weight: 700; }
.auth-input-live { width: 100%; padding: 12px 14px 12px 42px; margin-bottom: 12px; border-radius: var(--radius-md); border: 2px solid var(--border-color); background: var(--bg-card); color: var(--text-primary); font-size: .95rem; }
.auth-input-wrap { position: relative; }
.auth-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.auth-btn-live { width: 100%; padding: 13px; border: none; border-radius: var(--radius-md); background: var(--man-red); color: #fff; font-weight: 700; font-size: .95rem; }
.auth-btn-outline-live { width: 100%; padding: 13px; border: 2px solid var(--man-red); border-radius: var(--radius-md); background: transparent; color: var(--man-red); font-weight: 700; margin-top: 10px; }

/* ===== Tur: tıklanınca öne çıkar (spotlight) ===== */
.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}
.tour-layout--wide {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
}
.tour-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
}
.tour-section-grid .tour-preview-col { grid-column: 1; grid-row: 1; }
.tour-section-grid .tour-sidebar { grid-column: 2; grid-row: 1 / span 2; }
.tour-section-grid .durum-strip { grid-column: 1; grid-row: 2; }
.tour-preview-col {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
}
.tour-stage {
  position: relative;
  border-radius: var(--radius-lg);
  transition: box-shadow .3s;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.tour-stage.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 5;
  pointer-events: none;
}
.tour-spot {
  transition: opacity .35s, box-shadow .35s;
  border-radius: 8px;
  cursor: pointer;
  max-width: 100%;
}
.tour-stage.is-active .tour-spot { opacity: 0.35; filter: saturate(0.55); }
.tour-stage.is-active .tour-spot.spot-ancestor,
.tour-stage.is-active .tour-spot.spot-light {
  opacity: 1 !important;
  filter: none !important;
}
.tour-stage.is-active .tour-spot.spot-light {
  position: relative;
  z-index: 15;
  outline: 3px solid #2ecc71;
  outline-offset: 1px;
  box-shadow: inset 0 0 0 1px rgba(46,204,113,.45);
}
.tour-spot.spot-light::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 20;
  pointer-events: none;
}

/* Giriş mock — dar ve ortalı, taşmasın */
#stage-giris .login-live-wrap { padding: 20px 24px 28px; overflow: hidden; max-width: 520px; margin: 0 auto; }
#stage-giris .login-form-card-live { max-width: 100%; padding: 22px 20px; }
#stage-giris .auth-input-live { font-size: .9rem; padding: 11px 12px 11px 38px; }
#stage-giris .akato-man-brand--login { transform: scale(0.82); transform-origin: center top; }

/* Semptom mock — geniş alanı doldur */
#stage-semptom .ak-wrapper { min-height: 520px; font-size: 12px; width: 100%; }
#stage-semptom .ak-sidebar { width: 200px; flex-shrink: 0; }
#stage-semptom .ak-main { flex: 1; min-width: 0; }
#stage-semptom .ak-content { padding: 14px 18px; }
#stage-semptom .ak-page-title { font-size: 1.15rem; }
#stage-semptom .ak-legend { flex-wrap: wrap; gap: 6px 12px; }
#stage-semptom .ak-legend-item { font-size: .68rem; }
#stage-semptom .ak-tab { font-size: .68rem; padding: 5px 10px; }
#stage-semptom .ak-table-wrap { width: 100%; }
#stage-semptom .ak-table { width: 100%; min-width: 0; font-size: .72rem; }
#stage-semptom .ak-table th,
#stage-semptom .ak-table td { padding: 8px 10px; }
#stage-semptom .ak-row-onay.tour-spot,
#stage-semptom .ak-row-mavi.tour-spot,
#stage-semptom .ak-row-kirmizi.tour-spot,
#stage-semptom .ak-row-yesil.tour-spot,
#stage-semptom .ak-row-muh.tour-spot { cursor: pointer; }
#stage-semptom .ak-badge-muh {
  display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 700;
  background: rgba(52,152,219,.2); color: #64b5f6; border: 1px solid rgba(52,152,219,.35);
}
#stage-semptom .ak-badge-mangele {
  display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: .62rem; font-weight: 700;
  background: rgba(255,152,0,.15); color: #ffb74d; border: 1px solid rgba(255,152,0,.35);
}

/* Durum şeridi — boş alanı değerlendir */
.durum-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.durum-card {
  padding: 12px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border-color); background: var(--bg-card);
  cursor: pointer; text-align: left; transition: all .2s;
  border-left-width: 4px;
}
.durum-card:hover { border-color: var(--man-red); transform: translateY(-1px); }
.durum-card.active { box-shadow: inset 0 0 0 1px var(--man-red); background: rgba(21,101,192,.08); }
.durum-card .dc-label { font-size: .68rem; font-weight: 800; color: var(--text-heading); margin-bottom: 4px; }
.durum-card .dc-sub { font-size: .62rem; color: var(--text-muted); line-height: 1.4; }
.durum-card.dc-w { border-left-color: rgba(255,255,255,.85); }
.durum-card.dc-b { border-left-color: #2196f3; }
.durum-card.dc-r { border-left-color: #e53935; }
.durum-card.dc-muh { border-left-color: #3498db; }
.durum-card.dc-g { border-left-color: #00c853; }

@media (max-width: 1100px) {
  .durum-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .durum-strip { grid-template-columns: 1fr 1fr; }
  .tour-section-grid { grid-template-columns: 1fr; }
  .tour-section-grid .tour-sidebar { grid-column: 1; grid-row: auto; }
  .tour-section-grid .durum-strip { grid-column: 1; }
}

.tour-sidebar {
  position: sticky;
  top: 80px;
  min-width: 0;
  max-width: 100%;
}
.tour-hint {
  font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.45;
}
.tour-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tour-list button {
  width: 100%; text-align: left; padding: 9px 12px;
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  background: var(--bg-card); color: var(--text-secondary);
  font-size: .78rem; font-weight: 600; cursor: pointer;
  display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start;
  line-height: 1.35;
}
.tour-list button:hover { border-color: var(--man-red); color: var(--text-heading); }
.tour-list button.active {
  background: rgba(21,101,192,.2); border-color: var(--man-red);
  color: #fff; box-shadow: inset 3px 0 0 var(--man-red);
}
.tour-list button .n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-input); font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.tour-list button.active .n { background: var(--man-red); color: #fff; }

.zoom-card {
  padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-color);
  font-size: .85rem; color: var(--text-heading); line-height: 1.45;
}
.zoom-card .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-md);
  background: var(--man-red); color: #fff; font-weight: 700; font-size: .78rem;
}
.zoom-card .chip.outline {
  background: var(--bg-card); color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.zoom-card .chip .cnt {
  background: rgba(255,255,255,.2); padding: 1px 6px; border-radius: 999px; font-size: .65rem;
}

.zoom-preview {
  margin-top: 12px; padding: 14px; border-radius: var(--radius-md);
  border: 2px solid #2ecc71; background: var(--bg-body);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  animation: zoom-in .35s ease;
}
.zoom-preview:empty { display: none; }
.zoom-preview-label {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: #2ecc71; margin-bottom: 8px;
}
@keyframes zoom-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 960px) {
  .tour-layout { grid-template-columns: 1fr; }
  .tour-sidebar { position: static; }
}

/* Tam yolculuk zaman çizelgesi */
.flow-timeline { display: flex; flex-direction: column; gap: 8px; }
.flow-timeline button {
  width: 100%; text-align: left; padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border-color);
  background: var(--bg-card); color: var(--text-secondary);
  cursor: pointer; display: flex; gap: 12px; align-items: flex-start;
  transition: all .2s; font-size: .82rem; line-height: 1.45;
}
.flow-timeline button:hover { border-color: var(--man-red); }
.flow-timeline button.active {
  border-color: #2ecc71; background: rgba(46,204,113,.08);
  box-shadow: inset 3px 0 0 #2ecc71;
}
.flow-timeline .step-n {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-input); color: var(--text-heading);
  font-weight: 900; font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
}
.flow-timeline button.active .step-n { background: #2ecc71; color: #fff; }
.flow-timeline .step-body strong { display: block; color: var(--text-heading); margin-bottom: 2px; }
.flow-timeline .step-body span { font-size: .78rem; color: var(--text-muted); }

@media (min-width: 900px) {
  #akis-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
#stage-giris .akato-man-brand-stack { max-width: 100%; overflow: hidden; }
