:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --accent: #f97316;
  --bg: #ffffff;
  --soft: #f0f9ff;
  --text: #0c1a2e;
  --muted: #5b7080;
  --border: #bae6fd;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(14,165,233,.18);
  --shadow-lg: 0 25px 50px -20px rgba(14,165,233,.22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 800; font-size: 18px; color: var(--text); }
.brand-slogan { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
  padding: 70px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: #bae6fd; color: var(--primary-dark); font-size: 13px; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -.02em; }
.hero p { font-size: 17px; color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1faa52; color: #fff; transform: translateY(-2px); }
.btn-insta { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: #fff; }
.btn-insta:hover { opacity:.9; color:#fff; transform: translateY(-2px); }
.hero-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.hero-card h3 { font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.hero-card .phone { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.hero-card .small { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.hero-card .divider { height: 1px; background: var(--border); margin: 18px 0; }
.hero-info { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.hero-info b { color: var(--primary-dark); }
.stats { padding: 50px 0; background: var(--soft); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); text-align: center; transition: transform .2s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.stat-card .value { font-size: 32px; font-weight: 800; color: var(--primary); }
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.svc-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; transition: all .3s; box-shadow: 0 2px 8px rgba(14,165,233,.06); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.svc-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--primary-light); }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.svc-card:hover .svc-img { transform: scale(1.05); }
.svc-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.svc-img-fallback svg { width: 48px; height: 48px; fill: var(--primary); }
.svc-body { padding: 22px 24px; }
.svc-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.svc-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.svc-list { list-style: none; }
.svc-list li { font-size: 13px; color: var(--muted); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.svc-list li::before { content: '✓'; color: var(--primary); font-weight: 800; font-size: 11px; background: var(--primary-light); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.neden-section { background: var(--soft); }
.neden-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.neden-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; transition: all .25s; }
.neden-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.neden-icon-wrap { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--primary-light); flex-shrink: 0; }
.neden-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.neden-card h3 { font-size: 18px; font-weight: 700; }
.neden-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.process { background: var(--soft); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.process-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); position: relative; }
.process-num { position: absolute; top: -16px; left: 24px; background: var(--primary); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.process-card h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.process-card p { color: var(--muted); font-size: 14px; }
.calismalar-section { background: var(--bg); }
.calisma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 28px; }
.calisma-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all .25s; }
.calisma-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.calisma-imgs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; }
.calisma-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.calisma-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.calisma-card:hover .calisma-img-wrap img { transform: scale(1.04); }
.calisma-label { position: absolute; top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.calisma-label.once { background: rgba(239,68,68,.9); color: #fff; }
.calisma-label.sonra { background: rgba(14,165,233,.9); color: #fff; }
.calisma-divider { background: var(--primary-light); width: 32px; display: flex; align-items: center; justify-content: center; color: var(--primary); align-self: stretch; }
.calisma-info { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--border); }
.calisma-baslik { font-weight: 700; font-size: 15px; }
.calisma-yer { font-size: 13px; color: var(--muted); }
.galeri-section { background: var(--soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.bolgeler-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }
.bolgeler-section .section-head .eyebrow { color: rgba(255,255,255,.7); }
.bolgeler-section .section-head h2 { color: #fff; }
.bolgeler-section .section-head p { color: rgba(255,255,255,.8); }
.bolge-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bolge-badge { background: rgba(255,255,255,.15); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.25); transition: all .2s; }
.bolge-badge:hover { background: rgba(255,255,255,.28); }
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 6px; }
.cta-band p { opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: #f0f0f0; color: var(--primary-dark); }
.services-section { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-features { list-style: none; margin-top: 24px; }
.about-features li { padding: 10px 0; display: flex; align-items: center; gap: 10px; }
.about-features li::before { content: '✓'; color: var(--primary); font-weight: 800; background: var(--primary-light); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--soft); padding: 30px; border-radius: var(--radius); }
.contact-info h3 { font-size: 22px; margin-bottom: 18px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.contact-info li:last-child { border-bottom: none; }
.contact-info .label { font-size: 13px; color: var(--muted); }
.contact-info .value { font-weight: 600; }
.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: #fff; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form textarea { resize: vertical; min-height: 120px; }
.form button { justify-content: center; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d8efe5; color: #0a5d44; }
.alert-error { background: #fde2e2; color: #b91c1c; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: all .25s; }
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon svg { width: 30px; height: 30px; fill: var(--primary); }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.site-footer { background: #0c1a2e; color: #c5d5e0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 60px 0 30px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-title { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-text { color: #8aaab8; font-size: 14px; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { padding: 6px 0; font-size: 14px; }
.footer-links a { color: #c5d5e0; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 12px; }
.social-row a { background: rgba(255,255,255,.08); width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.social-row a:hover { background: var(--primary); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--accent); font-weight: 600; }
.float-wa, .float-call, .float-insta {
  position: fixed; right: 22px; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 99; transition: transform .2s;
}
.float-wa { bottom: 22px; background: #25D366; }
.float-call { bottom: 90px; background: var(--primary); }
.float-insta { bottom: 158px; background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.float-wa:hover, .float-call:hover, .float-insta:hover { transform: scale(1.08); }
.float-wa svg, .float-call svg, .float-insta svg { width: 28px; height: 28px; fill: #fff; }
.page-header { background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%); padding: 60px 0 40px; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 10px; }
.page-header p { color: var(--muted); }
.sr {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.sr.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --accent: #f97316;
  --bg: #ffffff;
  --soft: #f0f9ff;
  --text: #0c1a2e;
  --muted: #5b7080;
  --border: #bae6fd;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(14,165,233,.18);
  --shadow-lg: 0 25px 50px -20px rgba(14,165,233,.22);
  --sidebar-w: 260px;
}

.admin-body {
  background: #f0f9ff;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.admin-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12,26,46,.5);
  z-index: 199;
  border: none;
  cursor: pointer;
}
.sidebar-overlay.active { display: block; }

.admin-sidebar {
  background: linear-gradient(180deg, #0c1a2e 0%, #0e2040 100%);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 200;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}

.admin-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(14,165,233,.1);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.admin-brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  padding: 4px;
  flex-shrink: 0;
}

.admin-brand-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-brand-sub {
  color: rgba(255,255,255,.45);
  font-size: 11px;
  font-weight: 500;
  margin-top: 1px;
}

.sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 12px 16px;
  flex-shrink: 0;
  transition: color .2s;
}
.sidebar-close-btn:hover { color: #fff; }

.admin-nav {
  padding: 8px 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-section {
  padding: 4px 0;
}

.nav-section-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 8px;
}

.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.3);
  padding: 14px 20px 5px;
  text-transform: uppercase;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  font-size: 13.5px;
  transition: all .15s;
  text-decoration: none;
  border-left: 3px solid transparent;
  position: relative;
  margin: 1px 0;
}

.admin-nav a span { flex: 1; }

.admin-nav a:hover {
  background: rgba(14,165,233,.15);
  color: #fff;
  border-left-color: rgba(14,165,233,.5);
}

.admin-nav a.active {
  background: rgba(14,165,233,.22);
  color: #fff;
  border-left-color: var(--primary);
  font-weight: 600;
}

.nav-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .15s;
}
.admin-nav a:hover .nav-svg,
.admin-nav a.active .nav-svg { opacity: 1; }

.nav-badge {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.nav-logout { color: rgba(248,113,113,.8) !important; }
.nav-logout:hover { background: rgba(220,38,38,.15) !important; color: #f87171 !important; }

.admin-mobile-header {
  display: none;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(14,165,233,.06);
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  display: flex;
  border-radius: 8px;
  transition: background .2s;
}
.hamburger-btn:hover { background: var(--soft); }

.mobile-page-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  flex: 1;
}

.mobile-msg-btn {
  position: relative;
  display: flex;
  color: var(--text);
  padding: 4px;
}
.mobile-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-main {
  padding: 0;
  overflow-x: auto;
  background: #f0f9ff;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(14,165,233,.06);
  flex-wrap: wrap;
  gap: 12px;
}

.admin-topbar h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.topbar-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 1px 4px rgba(14,165,233,.07);
  border: 1px solid rgba(186,230,253,.4);
  margin: 0 36px 20px;
}

.admin-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.admin-login-card {
  background: #fff;
  padding: 48px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px -15px rgba(14,165,233,.2);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
}

.admin-login-card h1 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.admin-login-card p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
}

.alert {
  padding: 14px 20px;
  border-radius: 10px;
  margin: 0 36px 18px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.field input,
.field textarea,
.field select {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.field textarea { resize: vertical; min-height: 90px; }
.field small { color: var(--muted); font-size: 12px; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 0 36px 24px;
}

.dash-card {
  background: #fff;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 4px rgba(14,165,233,.06);
  transition: transform .2s, box-shadow .2s;
}

.dash-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dash-icon-svg { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.dash-info .label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.dash-info .value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.dash-blue .value { color: var(--primary); }
.dash-purple .value { color: #7c3aed; }
.dash-green .value { color: #059669; }
.dash-orange .value { color: var(--accent); }
.dash-red .value { color: #dc2626; }

.dash-row {
  display: flex;
  gap: 20px;
  margin: 0 36px 20px;
}
.dash-row .admin-card { margin: 0; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  background: var(--soft);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .2s;
  text-align: center;
}

.quick-link:hover {
  background: var(--primary-light);
  border-color: var(--border);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.ql-ceo { background: linear-gradient(135deg, #fef3c7, #fde68a); border-color: #fcd34d; }
.ql-ceo:hover { background: linear-gradient(135deg, #fde68a, #fcd34d); color: #92400e; }

.ql-icon svg { display: block; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.admin-table th {
  background: var(--soft);
  font-weight: 700;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-table tbody tr:hover { background: #f8fbff; }
.row-unread { background: #fffbeb !important; }

.badge-new {
  background: #fef3c7;
  color: #d97706;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fcd34d;
}

.logo-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--soft);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.logo-preview img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  background: #fff;
}

.gallery-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.gallery-admin-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--border);
}

.gallery-admin-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-admin-item:hover img { transform: scale(1.05); }

.gallery-admin-item .del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220,38,38,.95);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-admin-item:hover .del-btn { opacity: 1; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; transform: translateY(-1px); }

.empty-state { text-align: center; color: var(--muted); padding: 30px; font-size: 14px; }

.dash-task-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.dash-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--soft);
}

.task-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.task-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

.ceo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 0 36px 24px;
}

.kpi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: transform .2s;
}
.kpi-card:hover { transform: translateY(-3px); }

.kpi-icon[class*="kpi-icon-"] { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kpi-icon-green { background: rgba(5,150,105,.1); color: #059669; }
.kpi-icon-blue { background: rgba(14,165,233,.1); color: var(--primary); }
.kpi-icon-orange { background: rgba(234,88,12,.1); color: var(--accent); }
.kpi-icon-purple { background: rgba(124,58,237,.1); color: #7c3aed; }
.kpi-icon-teal { background: rgba(13,148,136,.1); color: #0d9488; }

.kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.kpi-value { font-size: 22px; font-weight: 800; line-height: 1; }

.kpi-green .kpi-value { color: #059669; }
.kpi-blue .kpi-value { color: var(--primary); }
.kpi-orange .kpi-value { color: var(--accent); }
.kpi-purple .kpi-value { color: #7c3aed; }
.kpi-teal .kpi-value { color: #0d9488; }
.kpi-green { border-top: 3px solid #059669; }
.kpi-blue { border-top: 3px solid var(--primary); }
.kpi-orange { border-top: 3px solid var(--accent); }
.kpi-purple { border-top: 3px solid #7c3aed; }
.kpi-teal { border-top: 3px solid #0d9488; }

.ceo-tabs {
  display: flex;
  gap: 6px;
  padding: 0 36px 20px;
  flex-wrap: wrap;
}

.ceo-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.ceo-tab:hover { border-color: var(--primary); color: var(--primary); }
.ceo-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ceo-tab-content { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.task-list { display: flex; flex-direction: column; gap: 10px; }

.task-item {
  background: var(--soft);
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid var(--border);
  transition: box-shadow .2s;
}

.task-item:hover { box-shadow: var(--shadow); }
.task-item.priority-acil { border-left-color: #dc2626; }
.task-item.priority-yüksek { border-left-color: var(--accent); }
.task-item.priority-orta { border-left-color: var(--primary); }
.task-item.priority-düşük { border-left-color: #059669; }
.task-item.status-done { opacity: .6; }

.task-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }

.priority-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; letter-spacing: .07em; }
.priority-badge.acil { background: #fee2e2; color: #dc2626; }
.priority-badge.yüksek { background: #ffedd5; color: #ea580c; }
.priority-badge.orta { background: var(--primary-light); color: var(--primary-dark); }
.priority-badge.düşük { background: #dcfce7; color: #059669; }

.task-title { font-weight: 600; font-size: 14px; flex: 1; }
.done-text { text-decoration: line-through; color: var(--muted); }
.task-due { font-size: 12px; color: var(--muted); }
.task-desc { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.task-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.status-select {
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  background: #fff;
}

.revenue-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 160px;
  background: var(--soft);
  border-radius: 14px;
  padding: 20px 24px 10px;
  border: 1px solid var(--border);
}

.rev-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.rev-bar-label { font-size: 10px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.rev-bar { width: 100%; max-width: 60px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 6px 6px 2px 2px; min-height: 10px; transition: height .5s ease; }
.rev-bar-month { font-size: 11px; color: var(--muted); text-align: center; font-weight: 600; }

.targets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.target-card { background: var(--soft); border-radius: 14px; padding: 18px 20px; border: 1px solid var(--border); }
.target-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 6px; }
.target-title { font-weight: 700; font-size: 15px; }
.target-deadline { font-size: 11px; color: var(--muted); }
.target-values { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.tv-current { font-size: 22px; font-weight: 800; color: var(--primary); }
.tv-sep { color: var(--muted); font-size: 16px; }
.tv-target { font-size: 16px; color: var(--muted); }
.progress-bar-wrap { background: #e0f2fe; border-radius: 999px; height: 10px; margin-bottom: 6px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 999px; transition: width .8s ease; }
.progress-bar.green { background: #059669; }
.progress-bar.blue { background: var(--primary); }
.progress-bar.orange { background: var(--accent); }
.progress-bar.red { background: #dc2626; }
.target-pct { font-size: 12px; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.target-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-input { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; }

.notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.note-card { border-radius: 14px; padding: 18px 20px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 10px; }
.note-yellow { background: #fef9c3; }
.note-blue { background: #dbeafe; }
.note-green { background: #dcfce7; }
.note-red { background: #fee2e2; }
.note-purple { background: #f3e8ff; }
.note-title { font-weight: 700; font-size: 14px; }
.note-content { font-size: 13px; line-height: 1.6; flex: 1; }
.note-footer { display: flex; justify-content: space-between; align-items: center; }
.note-date { font-size: 11px; opacity: .7; }

.msg-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 36px 16px;
}

.msg-search-form { width: 100%; }

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

.msg-search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.msg-search-input {
  width: 100%;
  padding: 11px 44px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

.msg-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.msg-search-clear {
  position: absolute;
  right: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.msg-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.msg-filter-tab {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}

.msg-filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.msg-filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.msg-sort-select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  margin-left: auto;
}

.msg-list-wrap { margin: 0 36px 24px; }

.msg-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.msg-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
  cursor: pointer;
}

.msg-row:last-child { border-bottom: none; }
.msg-row:hover { background: #f8fbff; }
.msg-row-unread { background: #fffbeb; }
.msg-row-active { background: var(--primary-light) !important; }

.msg-row-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.avatar-unread {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
}

.msg-row-body { flex: 1; min-width: 0; }

.msg-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.msg-row-name {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-star-badge { color: #f59e0b; font-size: 14px; flex-shrink: 0; }
.msg-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.msg-row-date { font-size: 11px; color: var(--muted); margin-left: auto; white-space: nowrap; flex-shrink: 0; }

.msg-row-phone {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.msg-row-preview {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.msg-row-note {
  font-size: 12px;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
  display: inline-block;
}

.msg-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
}
.msg-row:hover .msg-row-actions { opacity: 1; }

.msg-icon-btn {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  transition: all .15s;
  line-height: 1;
}
.msg-icon-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.msg-icon-btn.starred { color: #f59e0b; }
.msg-icon-del:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }

.msg-count-bar {
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.msg-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}

.msg-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,26,46,.5);
  z-index: 300;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  backdrop-filter: blur(2px);
}

.msg-detail-panel {
  background: #fff;
  width: 480px;
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.15);
}

.msg-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}

.msg-detail-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}

.msg-detail-meta { flex: 1; }
.msg-detail-name { font-weight: 800; font-size: 18px; margin-bottom: 2px; }
.msg-detail-date { font-size: 12px; color: var(--muted); }

.msg-detail-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--text);
  text-decoration: none;
  transition: background .2s;
  flex-shrink: 0;
}
.msg-detail-close:hover { background: var(--border); color: var(--text); }

.msg-detail-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: #fafcff;
}

.msg-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  border: 1.5px solid transparent;
}

.msg-chip-phone { background: var(--primary-light); color: var(--primary-dark); border-color: var(--border); }
.msg-chip-phone:hover { background: var(--primary); color: #fff; }
.msg-chip-email { background: #f3e8ff; color: #7c3aed; border-color: #e9d5ff; }
.msg-chip-email:hover { background: #7c3aed; color: #fff; }
.msg-chip-wa { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.msg-chip-wa:hover { background: #25D366; color: #fff; }

.msg-detail-body {
  padding: 24px;
  flex: 1;
}

.msg-detail-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--soft);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  white-space: pre-wrap;
}

.msg-detail-note-section {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.msg-note-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 8px;
  margin-top: 16px;
}

.msg-note-form { display: flex; flex-direction: column; gap: 8px; }

.msg-note-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 72px;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
}
.msg-note-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }

.msg-detail-actions {
  display: flex;
  gap: 8px;
  padding: 16px 24px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .dash-row { flex-direction: column; }
  .dash-row .admin-card { flex: none !important; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 200;
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0,0,0,.2);
  }

  .sidebar-close-btn { display: flex; }

  .admin-mobile-header { display: flex; }

  .admin-main { padding: 0; }

  .admin-topbar {
    padding: 16px 20px;
    margin-bottom: 16px;
  }

  .admin-card { margin: 0 12px 14px; padding: 18px; }
  .dash-grid, .ceo-kpi-grid { padding: 0 12px 18px; }
  .alert { margin: 0 12px 14px; }
  .ceo-tabs { padding: 0 12px 16px; }
  .field-grid { grid-template-columns: 1fr; }
  .targets-grid { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: 1fr; }

  .msg-toolbar { margin: 0 12px 14px; }
  .msg-list-wrap { margin: 0 12px 20px; }
  .dash-row { margin: 0 12px 14px; }

  .msg-detail-panel { width: 100%; }
  .msg-row-actions { opacity: 1; }

  .msg-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .quick-links { grid-template-columns: repeat(3, 1fr); }
}
