/* superhoca — base styles */
:root {
  --brand:     #3B5BDB;
  --zinc-50:   #fafafa;
  --zinc-100:  #f4f4f5;
  --zinc-200:  #e4e4e7;
  --zinc-300:  #d4d4d8;
  --zinc-400:  #a1a1aa;
  --zinc-500:  #71717a;
  --zinc-600:  #52525b;
  --zinc-700:  #3f3f46;
  --zinc-800:  #27272a;
  --zinc-900:  #18181b;
  --sb:        240px;
  --topbar-h:  56px;
  --radius:    8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--zinc-800);
  background: var(--zinc-50);
  -webkit-font-smoothing: antialiased;
}

/* ── App shell ───────────────────────────────────── */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.app-sidebar {
  width: var(--sb);
  min-width: var(--sb);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--zinc-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width .2s, min-width .2s;
}

.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--zinc-100);
}
.sb-brand-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sb-brand-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Logo yüklüyse: renkli kutu + isim yerine düz marka logosu */
.sb-brand-haslogo { justify-content: center; }
.sb-brand-logo { max-height: 34px; max-width: 100%; object-fit: contain; display: block; }

.sb-nav { display: flex; flex-direction: column; padding: 8px 0; }
.sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  margin: 0 6px;
  color: var(--zinc-600);
  text-decoration: none;
  font-size: 13.5px;
  transition: background .12s, color .12s;
}
.sb-item:hover { background: var(--zinc-100); color: var(--zinc-900); }
.sb-item.active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); font-weight: 500; }
.sb-item i { font-size: 18px; flex-shrink: 0; }
.sb-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-spacer { flex: 1; }
.sb-divider { height: 1px; background: var(--zinc-100); margin: 4px 12px; }

.sb-user {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--zinc-100);
  font-size: 13px; color: var(--zinc-600);
}
.sb-user-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-logout {
  background: none; border: none; cursor: pointer;
  color: var(--zinc-400); padding: 4px; border-radius: 4px;
  display: flex; align-items: center;
}
.sb-logout:hover { color: var(--zinc-700); }

.sb-collapse {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 10px; color: var(--zinc-400);
  border-top: 1px solid var(--zinc-100);
}
.sb-collapse:hover { color: var(--zinc-700); }

.app-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.app-topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--zinc-200);
  background: #fff;
  display: flex; align-items: center;
  padding: 0 20px; gap: 12px;
  flex-shrink: 0;
}
.topbar-title { font-size: 15px; font-weight: 500; }
.topbar-menu-btn { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--zinc-600); }

.app-content { flex: 1; overflow-y: auto; padding: 24px; }

/* ── Auth pages (Login / Signup) ──────────────────── */
.auth-page { min-height: 100vh; display: flex; font-family: 'DM Sans', system-ui, sans-serif; }

.auth-left {
  width: 42%; min-height: 100vh;
  background: linear-gradient(155deg, #0A1845 0%, #1a3db5 55%, #234ED1 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 48px; position: relative; overflow: hidden;
}
.auth-left-deco-1, .auth-left-deco-2 { position: absolute; border-radius: 50%; pointer-events: none; }
.auth-left-deco-1 { width: 380px; height: 380px; background: rgba(255,255,255,.04); top: -120px; right: -100px; }
.auth-left-deco-2 { width: 220px; height: 220px; background: rgba(254,77,69,.12); bottom: 40px; left: -60px; }
.auth-left-inner { position: relative; z-index: 1; width: 100%; }

.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.auth-logo-icon { font-size: 36px; color: #FE4D45; }
.auth-logo-text {
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.5px;
}
.auth-tagline {
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  font-size: 38px; font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 36px;
}
.auth-features { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.auth-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.82); }
.auth-check {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 13px; flex-shrink: 0;
}

.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: #f5f7ff; }
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-form-title { font-family: 'Raleway', 'IBM Plex Sans', sans-serif; font-size: 30px; font-weight: 800; color: #0A1845; margin-bottom: 6px; }
.auth-form-sub { font-size: 15px; color: #6b7280; margin-bottom: 28px; }

.auth-alert { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label { font-size: 13.5px; font-weight: 600; color: #374151; }
.auth-hint { font-weight: 400; color: #9ca3af; font-size: 12px; }
.auth-field input {
  padding: 11px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: #1a3db5; box-shadow: 0 0 0 3px rgba(26,61,181,.1); }

.auth-pass-wrap { position: relative; }
.auth-pass-wrap input { width: 100%; padding-right: 44px; }
.auth-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 18px;
  display: flex; align-items: center; padding: 0;
}
.auth-eye:hover { color: #374151; }

.auth-submit {
  padding: 12px 24px; border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 700;
  background: #1a3db5; color: #fff; transition: background .15s, transform .1s;
}
.auth-submit:hover:not(:disabled) { background: #1533a0; }
.auth-submit:active:not(:disabled) { transform: scale(.99); }
.auth-submit:disabled { opacity: .5; cursor: not-allowed; }
.auth-submit--red { background: #FE4D45; }
.auth-submit--red:hover:not(:disabled) { background: #e5413a; }

.auth-alt { margin-top: 22px; text-align: center; font-size: 14px; color: #6b7280; }
.auth-alt a { color: #1a3db5; font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }
.auth-terms { margin-top: 12px; text-align: center; font-size: 12px; color: #9ca3af; }
.auth-terms a { color: #6b7280; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #d1d5db; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.auth-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; color: #374151; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.auth-google-btn:hover { border-color: #d1d5db; box-shadow: 0 1px 6px rgba(0,0,0,.08); }

/* ── Dashboard ───────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-icon { font-size: 24px; color: var(--brand); }
.stat-value { font-size: 28px; font-weight: 500; }
.stat-label { font-size: 12px; color: var(--zinc-500); text-transform: uppercase; letter-spacing: .04em; }

/* ── Entegrasyonlar hub'ı ──────────────────────────── */
.intg-wrap { max-width: 760px; }
.intg-intro { color: var(--zinc-500); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.intg-loading { color: var(--zinc-500); padding: 40px; text-align: center; }
.intg-list { display: flex; flex-direction: column; gap: 12px; }
.intg-card { background: #fff; border: 1px solid var(--zinc-200); border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s, box-shadow .15s; }
.intg-card.on { border-color: color-mix(in srgb, var(--brand) 45%, var(--zinc-200)); box-shadow: 0 1px 0 color-mix(in srgb, var(--brand) 20%, transparent); }
.intg-head { display: flex; align-items: center; gap: 14px; }
.intg-ic { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.intg-ic i { font-size: 24px; }
.intg-meta { flex: 1; min-width: 0; }
.intg-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.intg-cat { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--zinc-500); background: var(--zinc-100, #f4f4f5); padding: 2px 7px; border-radius: 20px; }
.intg-desc { color: var(--zinc-500); font-size: 13px; margin-top: 2px; }
.intg-body { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zinc-200); display: flex; flex-direction: column; gap: 12px; }
.intg-field { display: flex; flex-direction: column; gap: 5px; }
.intg-field label { font-size: 12.5px; font-weight: 500; color: var(--zinc-600, #52525b); }
.intg-input { border: 1px solid var(--zinc-200); border-radius: 9px; padding: 9px 11px; font-family: inherit; font-size: 14px; outline: none; transition: border-color .15s; }
.intg-input:focus { border-color: var(--brand); }
.intg-field small { color: var(--zinc-400, #a1a1aa); font-size: 11.5px; }
/* Toggle */
.intg-switch { position: relative; width: 42px; height: 24px; flex: none; }
.intg-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.intg-slider { position: absolute; inset: 0; background: var(--zinc-300, #d4d4d8); border-radius: 24px; cursor: pointer; transition: background .18s; }
.intg-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .18s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.intg-switch input:checked + .intg-slider { background: var(--brand); }
.intg-switch input:checked + .intg-slider::before { transform: translateX(18px); }
.intg-actions { margin-top: 20px; }
.intg-save { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 11px 28px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.intg-save:disabled { opacity: .55; cursor: not-allowed; }
.intg-toastbox { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #18181b; color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 14px; z-index: 80; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.intg-toast-enter-active, .intg-toast-leave-active { transition: opacity .2s, transform .2s; }
.intg-toast-enter-from, .intg-toast-leave-to { opacity: 0; transform: translateX(-50%) translateY(8px); }

/* ── Courses grid ────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.course-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.course-info { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.course-info h3 { font-size: 14px; font-weight: 500; }
.btn-primary {
  display: inline-block;
  background: var(--brand); color: #fff;
  padding: 7px 14px; border-radius: 6px;
  text-decoration: none; font-size: 13px;
  text-align: center;
}
.btn-primary:hover { opacity: .88; }

/* ── States ──────────────────────────────────────── */
.loading-state, .empty-state, .error-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 48px; color: var(--zinc-400);
  text-align: center;
}

/* ── Overlay (mobile) ────────────────────────────── */
.sb-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 40;
}
@media (max-width: 767px) {
  .app-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .mobile-open .app-sidebar { transform: none; }
  .auth-left { display: none; }
  .auth-right { padding: 24px 20px; }
}

/* ── Onboarding ─────────────────────────────────────── */
.onb-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #234ED1 0%, #1B3FA8 40%, #0E2670 80%, #0A1845 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
  font-family: 'Poppins', 'IBM Plex Sans', sans-serif;
}
.onb-d { position: absolute; border: 2px solid rgba(255,255,255,.08); transform: rotate(45deg); pointer-events: none; }
.onb-d1 { width: 80px; height: 80px; top: 10%; left: 8%; }
.onb-d2 { width: 120px; height: 120px; top: 60%; right: 6%; }
.onb-d3 { width: 50px; height: 50px; bottom: 12%; left: 15%; border-color: rgba(254,77,69,.2); }

.onb-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(24px); border-radius: 24px;
  padding: 48px 44px; width: 100%; max-width: 520px; position: relative; z-index: 1;
}
.onb-step-badge {
  display: inline-block; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); border-radius: 20px;
  padding: 3px 14px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 24px;
}
.onb-card-title { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.onb-card-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 28px; }

.onb-intro { text-align: center; }
.onb-slide { display: flex; flex-direction: column; align-items: center; }
.onb-slide-icon { font-size: 72px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.onb-slide-title { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.onb-slide-sub { font-size: 15px; color: rgba(255,255,255,.65); max-width: 360px; line-height: 1.6; }

.onb-dots { display: flex; justify-content: center; gap: 8px; margin: 28px 0 24px; }
.onb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, transform .2s; }
.onb-dot.active { background: #fff; transform: scale(1.3); }
.onb-intro-btns { display: flex; justify-content: center; gap: 12px; }

.onb-btn-primary {
  padding: 12px 28px; background: #FE4D45; color: #fff; border: none; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; transition: background .15s, transform .1s;
}
.onb-btn-primary:hover:not(:disabled) { background: #e5413a; }
.onb-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.onb-btn-big { padding: 14px 36px; font-size: 16px; }
.onb-btn-ghost {
  padding: 12px 20px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2); border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 14px; transition: background .15s;
}
.onb-btn-ghost:hover { background: rgba(255,255,255,.16); }

.onb-field { display: flex; flex-direction: column; gap: 8px; }
.onb-field label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.8); }
.onb-field input {
  padding: 12px 16px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 12px; font-size: 15px; font-family: inherit; color: #fff; outline: none; transition: border-color .15s;
}
.onb-field input::placeholder { color: rgba(255,255,255,.35); }
.onb-field input:focus { border-color: rgba(255,255,255,.5); }
.onb-slug-preview { font-size: 12.5px; color: rgba(255,255,255,.45); padding: 2px; }
.onb-mt { margin-top: 24px; }

.onb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.onb-chip {
  padding: 8px 16px; border-radius: 20px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-family: inherit; font-size: 13.5px; cursor: pointer; transition: all .15s;
}
.onb-chip:hover { background: rgba(255,255,255,.18); }
.onb-chip.active { background: #FE4D45; border-color: #FE4D45; color: #fff; font-weight: 600; }
.onb-chip.disabled { opacity: .4; cursor: not-allowed; }
.onb-chip .ph-check { font-size: 12px; margin-right: 4px; vertical-align: -1px; }

/* Vibe seçimi */
.onb-vibe { margin-bottom: 26px; }
.onb-vibe > label { display: block; font-size: 13.5px; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.onb-vibe .onb-opt { color: rgba(255,255,255,.45); font-weight: 400; }
.onb-vibe-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.onb-vibe-chip {
  padding: 7px 14px; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78); font-family: inherit; font-size: 13px; cursor: pointer; transition: all .15s;
}
.onb-vibe-chip:hover { background: rgba(255,255,255,.16); }
.onb-vibe-chip.active { background: rgba(255,255,255,.95); border-color: #fff; color: #1a1a2e; font-weight: 600; }
.onb-vibe-input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14);
  color: #fff; font-family: inherit; font-size: 14px; outline: none; transition: border-color .15s;
}
.onb-vibe-input::placeholder { color: rgba(255,255,255,.4); }
.onb-vibe-input:focus { border-color: rgba(255,255,255,.5); }

.onb-sales-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.onb-sales-card {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 20px 14px; text-align: center; cursor: pointer;
  font-family: inherit; color: #fff; transition: all .15s;
}
.onb-sales-card:hover:not([disabled]) { background: rgba(255,255,255,.14); }
.onb-sales-card.active { background: rgba(254,77,69,.18); border-color: #FE4D45; }
.onb-sales-card--disabled { opacity: .45; cursor: not-allowed; }
.onb-sales-icon { font-size: 28px; margin-bottom: 10px; }
.onb-sales-label { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.onb-sales-desc { font-size: 12px; color: rgba(255,255,255,.55); }
.onb-badge { display: inline-block; padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.15); font-size: 10px; margin-left: 4px; }

.onb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.onb-error { margin-top: 12px; font-size: 13px; color: #FE4D45; text-align: center; }

/* AI üretim ekranı */
.onb-gen { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.onb-gen-orb { position: relative; width: 110px; height: 110px; margin: 0 auto 28px; display: grid; place-items: center; }
.onb-gen-orb > i { font-size: 42px; color: #fff; z-index: 2; animation: onb-orb-pulse 1.6s ease-in-out infinite; }
.onb-gen-ring { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid transparent; border-top-color: rgba(255,255,255,.85); border-right-color: rgba(255,255,255,.35); animation: onb-spin 1.1s linear infinite; }
.onb-gen-ring--2 { inset: 14px; border-top-color: rgba(254,77,69,.9); border-right-color: rgba(254,77,69,.3); animation: onb-spin 1.6s linear infinite reverse; }
@keyframes onb-spin { to { transform: rotate(360deg); } }
@keyframes onb-orb-pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.14); opacity: 1; } }
.onb-gen-msg { color: rgba(255,255,255,.82); font-size: 15px; min-height: 22px; margin: 6px 0 24px; }
.onb-gen-steps { display: flex; gap: 8px; justify-content: center; }
.onb-gen-step { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); transition: background .4s; }
.onb-gen-step.on { background: #fff; }
.onb-gen-step.done { background: rgba(255,255,255,.6); }

.onb-done { text-align: center; padding: 64px 44px; }
.onb-done-icon { font-size: 72px; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.onb-done-icon--success { color: #22C55E; }

.onb-fade-enter-active, .onb-fade-leave-active { transition: opacity .3s; }
.onb-fade-enter-from, .onb-fade-leave-to { opacity: 0; }
@keyframes onb-spin { to { transform: rotate(360deg); } }
.onb-spin { display: inline-block; animation: onb-spin 1s linear infinite; }

@media (max-width: 600px) {
  .onb-card { padding: 32px 24px; }
  .onb-sales-grid { grid-template-columns: 1fr; }
  .onb-slide-title { font-size: 24px; }
}

/* ── Course Create ──────────────────────────────────── */
.cc-page {
  min-height: 100vh; background: #1a3db5;
  font-family: 'Raleway', 'IBM Plex Sans', sans-serif;
  display: flex; flex-direction: column;
}
.cc-nav {
  height: 60px; background: #0A1845; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cc-nav-left { display: flex; align-items: center; gap: 14px; }
.cc-nav-back {
  background: none; border: none; color: rgba(255,255,255,.65); cursor: pointer;
  font-size: 20px; display: flex; align-items: center; padding: 6px; border-radius: 6px;
}
.cc-nav-back:hover { color: #fff; background: rgba(255,255,255,.1); }
.cc-nav-title { font-size: 15px; font-weight: 700; color: #fff; }
.cc-draft-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border-radius: 20px; padding: 3px 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.65);
}
.cc-draft-dot { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.cc-nav-actions { display: flex; align-items: center; gap: 10px; }
.cc-btn-save {
  padding: 7px 18px; background: transparent; border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85); border-radius: 8px; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; transition: all .15s;
}
.cc-btn-save:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.cc-btn-save:disabled { opacity: .5; cursor: not-allowed; }
.cc-btn-publish {
  padding: 7px 18px; background: #FE4D45; border: none; color: #fff; border-radius: 8px; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; transition: background .15s;
}
.cc-btn-publish:hover { background: #e5413a; }
.cc-btn-publish:disabled { opacity: .5; cursor: not-allowed; }

.cc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding: 24px; flex: 1; max-width: 1200px; margin: 0 auto; width: 100%; }
.cc-modules { display: flex; flex-direction: column; gap: 16px; }

.cc-module-card {
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; transition: border-color .15s;
}
.cc-module-card.dragging { opacity: .5; border-style: dashed; }
.cc-module-card.drag-over { border-color: rgba(255,255,255,.5); }
.cc-module-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.cc-drag-handle { cursor: grab; color: rgba(255,255,255,.3); font-size: 18px; padding: 4px; display: flex; align-items: center; }
.cc-drag-handle:hover { color: rgba(255,255,255,.6); }
.cc-module-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cc-module-icon--video { background: rgba(254,77,69,.18); color: #FE4D45; }
.cc-module-icon--doc   { background: rgba(123,167,255,.18); color: #7ba7ff; }
.cc-module-icon--quiz  { background: rgba(245,158,11,.18); color: #f59e0b; }
.cc-module-icon--live  { background: rgba(34,197,94,.18); color: #22C55E; }
.cc-module-title { flex: 1; font-size: 14px; font-weight: 600; color: #fff; }
.cc-module-del { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.25); font-size: 18px; padding: 4px; display: flex; align-items: center; border-radius: 6px; transition: color .15s, background .15s; }
.cc-module-del:hover { color: #FE4D45; background: rgba(254,77,69,.12); }
.cc-module-chevron { font-size: 18px; color: rgba(255,255,255,.35); transition: transform .2s; }
.cc-module-chevron.open { transform: rotate(180deg); }
.cc-module-body { padding: 0 18px 18px; }

.cc-source-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.cc-source-tab {
  padding: 5px 14px; border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.6); transition: all .15s;
}
.cc-source-tab.active { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.cc-source-tab:hover:not(.active) { background: rgba(255,255,255,.1); }

.cc-url-row { display: flex; gap: 8px; }
.cc-url-input {
  flex: 1; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none;
}
.cc-url-input::placeholder { color: rgba(255,255,255,.3); }
.cc-url-input:focus { border-color: rgba(255,255,255,.4); }
.cc-url-add { padding: 10px 18px; background: #234ED1; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; transition: background .15s; }
.cc-url-add:hover { background: #1B3FA8; }

.cc-upload-zone { border: 2px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 40px 24px; text-align: center; cursor: pointer; transition: border-color .15s; }
.cc-upload-zone:hover { border-color: rgba(255,255,255,.4); }
.cc-upload-icon { font-size: 40px; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.cc-upload-text { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.6); }
.cc-upload-hint { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }

.cc-material-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cc-material-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; transition: all .15s;
}
.cc-material-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.cc-material-btn i { font-size: 24px; }

.cc-quiz-empty { text-align: center; padding: 20px 0; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; font-size: 13.5px; }
.cc-quiz-btns { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }
.cc-btn-red { padding: 9px 20px; background: #FE4D45; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; }
.cc-btn-white { padding: 9px 20px; background: transparent; color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.25); border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; }

.cc-live-types { display: flex; gap: 8px; margin-bottom: 16px; }
.cc-live-type { padding: 7px 16px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); color: rgba(255,255,255,.65); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; transition: all .15s; }
.cc-live-type.active { background: rgba(34,197,94,.18); border-color: #22C55E; color: #22C55E; }
.cc-live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-live-field { display: flex; flex-direction: column; gap: 6px; }
.cc-live-field label { font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; }
.cc-live-field input { padding: 9px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; }
.cc-live-field input:focus { border-color: rgba(255,255,255,.4); }
.cc-live-field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .5; }

.cc-add-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 2px dashed rgba(255,255,255,.15);
  color: rgba(255,255,255,.55); cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: all .15s;
}
.cc-add-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.cc-add-btn i { font-size: 20px; }

.cc-picker { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 24px; backdrop-filter: blur(20px); }
.cc-picker h3 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.cc-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-picker-item {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); cursor: pointer; font-family: inherit; color: #fff; text-align: left; transition: all .15s;
}
.cc-picker-item:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.cc-picker-item-name { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cc-picker-item-sub { font-size: 11.5px; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; }

.cc-sidebar { position: sticky; top: 84px; height: fit-content; display: flex; flex-direction: column; gap: 16px; }
.cc-sidebar-card { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.cc-sidebar-title { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cc-sb-input {
  width: 100%; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; margin-bottom: 10px; display: block;
}
.cc-sb-input::placeholder { color: rgba(255,255,255,.3); }
.cc-sb-input:focus { border-color: rgba(255,255,255,.4); }
textarea.cc-sb-input { resize: vertical; min-height: 72px; }

.cc-price-radios { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.cc-price-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.cc-price-radio input[type="radio"] { accent-color: #FE4D45; width: 16px; height: 16px; cursor: pointer; }
.cc-price-radio span { font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.8); }
.cc-price-amount-row { display: flex; align-items: center; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; }
.cc-price-currency { padding: 10px 12px; font-size: 14px; color: rgba(255,255,255,.5); font-family: 'DM Sans', sans-serif; border-right: 1px solid rgba(255,255,255,.15); }
.cc-price-amount { flex: 1; padding: 10px 12px; background: transparent; border: none; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; }
.cc-price-amount::placeholder { color: rgba(255,255,255,.3); }

.cc-level-pills { display: flex; gap: 8px; }
.cc-level-pill { flex: 1; padding: 8px; text-align: center; border-radius: 8px; cursor: pointer; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.7); transition: all .15s; }
.cc-level-pill:hover:not(.active) { background: rgba(255,255,255,.12); }
.cc-level-pill.active { background: rgba(26,61,181,.4); border-color: #7ba7ff; color: #fff; }

.cc-select { width: 100%; padding: 10px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 13.5px; outline: none; appearance: none; }
.cc-select option { background: #0A1845; color: #fff; }

.cc-cover-zone { border: 2px dashed rgba(255,255,255,.18); border-radius: 12px; padding: 32px 16px; text-align: center; cursor: pointer; transition: border-color .15s; }
.cc-cover-zone:hover { border-color: rgba(255,255,255,.4); }
.cc-cover-icon { font-size: 36px; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.cc-cover-text { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.55); }
.cc-cover-spec { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 4px; }

.cc-btn-save-full { width: 100%; padding: 12px; background: #234ED1; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; transition: background .15s; }
.cc-btn-save-full:hover { background: #1B3FA8; }
.cc-btn-save-full:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) {
  .cc-layout { grid-template-columns: 1fr; }
  .cc-sidebar { position: static; }
  .cc-material-grid { grid-template-columns: repeat(3, 1fr); }
  .cc-picker-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PUBLIC PAGE / SECTION RENDERER  (.ps-*)
   Tema CSS değişkenleri PublicPage kök'üne basılır: --brand, --bg, --text…
   Mobil = platformun işi: clamp() tipografi + auto-fit grid → tek kolon.
   ═══════════════════════════════════════════════════════════════════════ */
.ps-root {
  font-family: var(--font-body, 'DM Sans'), 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ps-page { flex: 1; }
.ps-root h1, .ps-root h2, .ps-root h3 { font-family: var(--font-heading, 'Raleway'), sans-serif; }

.ps-sec { padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px); }
.ps-sec__heading {
  font-family: var(--font-heading, 'Raleway'), sans-serif;
  font-weight: var(--heading-weight, 800);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
.ps-sec__heading--center { text-align: center; }

/* Butonlar — radius + stil (solid|soft|outline) Stil Seti'nden gelir */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: var(--btn-radius, 12px);
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-body, 'DM Sans'), sans-serif; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s, background .15s;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent);
}
.ps-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 38%, transparent); }
.ps-btn--lg { padding: 15px 32px; font-size: 16px; }
.ps-btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
.ps-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.ps-btn--invert { background: #fff; color: #111; box-shadow: none; border-color: transparent; }
/* Buton kişilikleri */
.ps-root[data-btn="outline"] .ps-btn:not(.ps-btn--ghost):not(.ps-btn--invert) {
  background: transparent; color: var(--brand); border-color: var(--brand); box-shadow: none; }
.ps-root[data-btn="outline"] .ps-btn:not(.ps-btn--ghost):not(.ps-btn--invert):hover {
  background: var(--brand); color: var(--brand-ink); }
.ps-root[data-btn="soft"] .ps-btn:not(.ps-btn--ghost):not(.ps-btn--invert) {
  background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); box-shadow: none; }
.ps-root[data-btn="soft"] .ps-btn:not(.ps-btn--ghost):not(.ps-btn--invert):hover {
  background: color-mix(in srgb, var(--brand) 26%, transparent); }

/* HERO */
.ps-hero__inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.ps-hero--image-left .ps-hero__inner { grid-template-columns: .9fr 1.1fr; }
.ps-hero--image-left .ps-hero__media { order: -1; }
.ps-hero--centered .ps-hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 760px; }
.ps-hero--centered .ps-hero__media { display: none; }
.ps-hero__title {
  font-family: 'Raleway', sans-serif; font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.8rem); line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 .3em;
}
.ps-hero__sub { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); margin: 0 0 1.6em; max-width: 46ch; }
.ps-hero--centered .ps-hero__sub { margin-left: auto; margin-right: auto; }
.ps-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ps-hero--centered .ps-hero__cta { justify-content: center; }
.ps-hero__media {
  overflow: hidden; border-radius: var(--radius, 20px);
  box-shadow: 0 24px 60px rgba(0,0,0,.14); aspect-ratio: 4/3;
  background: var(--surface);
}
.ps-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Görsel yer tutucu (editör) + "değiştir" overlay'i — hero/about ortak */
.ps-media-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed color-mix(in srgb, var(--text) 22%, transparent); background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--muted); cursor: pointer; font: inherit; font-size: 15px; transition: border-color .15s, color .15s, background .15s; box-shadow: none; }
.ps-media-ph:hover { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.ps-media-ph i { font-size: 42px; }
.ps-media-edit { position: relative; cursor: pointer; }
.ps-media-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0,0,0,.42); color: #fff; opacity: 0; transition: opacity .15s; font-size: 14px; font-weight: 500; border-radius: inherit; }
.ps-media-edit:hover .ps-media-overlay { opacity: 1; }

/* AI görsel "oluşturuluyor" placeholder */
.ps-imggen { border-radius: var(--radius, 20px); overflow: hidden; min-height: 280px; display: grid; place-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 14%, #f2f3f7), #f2f3f7 40%, color-mix(in srgb, var(--secondary, var(--brand)) 18%, #f2f3f7) 70%, #f2f3f7);
  background-size: 200% 100%; animation: ps-imggen-shimmer 2s ease-in-out infinite; }
.ps-about__avatar.ps-imggen { aspect-ratio: 1; min-height: 0; }
.ps-imggen__in { display: flex; flex-direction: column; align-items: center; gap: 10px; color: color-mix(in srgb, var(--brand) 70%, #555); font-size: 13.5px; font-weight: 600; text-align: center; padding: 16px; }
.ps-imggen__in i { font-size: 34px; color: var(--brand); animation: ps-imggen-pulse 1.5s ease-in-out infinite; }
@keyframes ps-imggen-shimmer { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes ps-imggen-pulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.18); opacity: 1; } }
/* Hero OVERLAY varyantı — görsel tam ekran arka plan, metin üstte */
.ps-hero--overlay { position: relative; min-height: 72vh; display: grid; align-items: center; overflow: hidden; }
.ps-hero--overlay .ps-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; max-height: none; border-radius: 0; }
.ps-hero--overlay .ps-hero__bg.ps-imggen { min-height: 0; }
.ps-hero--overlay .ps-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(8,8,12,.82) 0%, rgba(8,8,12,.5) 55%, rgba(8,8,12,.22) 100%); }
.ps-hero--overlay .ps-hero__inner { position: relative; z-index: 2; grid-template-columns: 1fr; max-width: 720px; }
.ps-hero--overlay .ps-hero__title { color: #fff; }
.ps-hero--overlay .ps-hero__sub { color: rgba(255,255,255,.88); }

.ps-hero[data-bg="brand"] { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 8%, var(--bg)), var(--bg)); }
.ps-hero[data-bg="dark"] { background: #0f1115; color: #fff; }
.ps-hero[data-bg="dark"] .ps-hero__sub { color: #a1a1aa; }

/* ABOUT */
.ps-about { background: var(--surface); }
.ps-about__inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.ps-about--text-left .ps-about__inner { grid-template-columns: 1fr 280px; }
.ps-about--text-left .ps-about__avatar { order: 2; }
.ps-about__avatar img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius, 24px); box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.ps-about__body { font-size: 1.06rem; line-height: 1.7; color: var(--muted); margin: 0 0 1.4em; }
/* Zengin metin: gövde/alt başlık/yanıt içi bağlantı + boş alan yer tutucu (editör) */
.ps-hero__sub a, .ps-about__body a, .ps-cta__sub a, .ps-faq__a a, .ps-quote blockquote a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.ps-cta[data-bg="dark"] .ps-cta__sub a, .ps-hero--overlay .ps-hero__sub a, .ps-hero[data-bg="dark"] .ps-hero__sub a { color: inherit; text-decoration-color: currentColor; }
.ps-rt-empty { opacity: .5; font-style: italic; cursor: default; }
/* Inline zengin metin: boş alanda yer tutucu + tıklanabilir yükseklik */
[contenteditable][data-ph]:empty::before { content: attr(data-ph); opacity: .45; font-style: italic; pointer-events: none; }
[contenteditable][data-ph] { min-height: 1.1em; }
.ps-about__stats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.ps-stat__value { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--brand); line-height: 1; }
.ps-stat__label { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* COURSE GRID */
.ps-courses__grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ps-course { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius, 18px); overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.ps-course:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.ps-course__thumb { aspect-ratio: 16/10; background: var(--surface); overflow: hidden; }
.ps-course__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ps-course__thumb--ph { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--brand) 45%, var(--muted)); font-size: 40px; }
.ps-course__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ps-course__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.05rem; margin: 0; }
.ps-course__price { margin-top: auto; font-weight: 700; color: var(--brand); }
.ps-course--skel { aspect-ratio: 16/13; background: linear-gradient(90deg, var(--surface), #eee, var(--surface)); background-size: 200% 100%; animation: ps-shimmer 1.3s infinite; border-radius: 18px; }
@keyframes ps-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.ps-courses__empty { text-align: center; color: var(--muted); }
.ps-courses__empty i { font-size: 44px; color: color-mix(in srgb, var(--brand) 50%, var(--muted)); display: block; margin-bottom: 10px; }
.ps-courses__addbtn { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; }

/* TESTIMONIALS */
.ps-quotes { background: var(--surface); }
.ps-quotes__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ps-quote { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius, 18px); padding: 28px; }
.ps-quote blockquote { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.6; }
.ps-quote figcaption { color: var(--brand); font-weight: 600; }

/* FAQ */
.ps-faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ps-faq__item { border: 1px solid var(--border); border-radius: var(--radius, 14px); overflow: hidden; }
.ps-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--bg); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; }
.ps-faq__item.open { border-color: var(--brand); }
.ps-faq__a { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }

/* CTA */
.ps-cta { text-align: center; }
.ps-cta[data-bg="dark"] { background: #0f1115; color: #fff; }
.ps-cta[data-bg="brand"] { background: var(--brand); color: var(--brand-ink); }
.ps-cta__inner { max-width: 680px; margin: 0 auto; }
.ps-cta__heading { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 .4em; }
.ps-cta__sub { opacity: .82; font-size: 1.1rem; margin: 0 0 1.6em; }

/* CONTACT */
.ps-contact__items { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ps-contact__item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 500; transition: border-color .15s, color .15s; }
.ps-contact__item:hover { border-color: var(--brand); color: var(--brand); }
.ps-contact__item i { font-size: 20px; color: var(--brand); }

/* ── SERBEST BÖLÜMLER (metin/boşluk/ayırıcı/video/harita/takvim) ───────────── */
.ps-text { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 24px); }
.ps-text--center { text-align: center; }
.ps-text__body { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.ps-text__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.ps-spacer { width: 100%; }
.ps-spacer--sm { height: 28px; }
.ps-spacer--md { height: 56px; }
.ps-spacer--lg { height: 104px; }
.ps-spacer--edit { background: repeating-linear-gradient(45deg, transparent, transparent 7px, color-mix(in srgb, var(--text) 6%, transparent) 7px, color-mix(in srgb, var(--text) 6%, transparent) 14px); }

.ps-divider { padding: 6px clamp(20px, 5vw, 24px); max-width: 900px; margin: 0 auto; }
.ps-divider__line { border: none; border-top: 1.5px solid var(--border); margin: 0; }
.ps-divider__line--dashed { border-top-style: dashed; }
.ps-divider__line--dotted { border-top-style: dotted; border-top-width: 2px; }

.ps-video, .ps-map, .ps-booking { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 24px); }
.ps-video__frame, .ps-map__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius, 16px); overflow: hidden; background: var(--surface); }
.ps-booking__frame { position: relative; width: 100%; height: 640px; border-radius: var(--radius, 16px); overflow: hidden; background: var(--surface); }
.ps-video__frame iframe, .ps-map__frame iframe, .ps-booking__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ps-video__cap { text-align: center; color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.ps-embed-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; padding: 20px; }
.ps-embed-ph i { font-size: 40px; }

/* ── ÖZELLİKLER (features) ─────────────────────────────────────────────────── */
.ps-features__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(16px, 3vw, 32px); max-width: 1100px; margin: 0 auto; }
.ps-feature { text-align: center; padding: clamp(16px, 2vw, 28px) 12px; }
.ps-feature__icon { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.ps-feature__icon i { font-size: 28px; }
.ps-feature__title { font-family: var(--font-heading, 'Raleway'), sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; color: var(--text); }
.ps-feature__text { color: var(--muted); line-height: 1.6; margin: 0; font-size: .98rem; }
@media (max-width: 720px) { .ps-features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ps-features__grid { grid-template-columns: 1fr; } }

/* PLACEHOLDER (yayınlanmış sayfa yokken) */
.ps-placeholder { flex: 1; display: grid; place-items: center; padding: 40px; }
.ps-placeholder__card { text-align: center; max-width: 380px; }
.ps-placeholder__card i { font-size: 56px; color: var(--brand); }
.ps-placeholder__card h1 { font-family: 'Raleway', sans-serif; font-weight: 800; margin: 16px 0 8px; }
.ps-placeholder__card p { color: var(--muted); margin: 0 0 24px; }

/* FOOTER (eski stub) */
.ps-foot { padding: 28px clamp(20px, 5vw, 64px); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .9rem; }
.ps-foot a { color: var(--muted); text-decoration: none; }
.ps-foot a:hover { color: var(--brand); }

/* ── GLOBAL HEADER (nav) — Stil Seti'nden stillenir ── */
.ps-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 5vw, 64px); background: var(--bg); border-bottom: 1px solid var(--border); }
.ps-header__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.ps-header__logo { height: 34px; width: auto; border-radius: calc(var(--radius, 16px) / 4); }
.ps-header__name { font-family: var(--font-heading, 'Raleway'), sans-serif; font-weight: var(--heading-weight, 800); font-size: 1.15rem; }
.ps-header__cta { padding: 9px 18px !important; font-size: 14px !important; box-shadow: none; }
/* Nav linkleri (çok sayfa) */
.ps-header__nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ps-header__navlink { text-decoration: none; color: var(--text); font-family: var(--font-body, 'DM Sans'), sans-serif; font-size: .95rem; font-weight: 500; padding: 7px 12px; border-radius: 8px; opacity: .74; transition: opacity .15s, background .15s, color .15s; }
.ps-header__navlink:hover { opacity: 1; background: color-mix(in srgb, var(--text) 6%, transparent); }
.ps-header__navlink.on { opacity: 1; color: var(--brand); }
/* navStyle kişilikleri */
.ps-header--serif-centered { flex-direction: column; justify-content: center; gap: 6px; padding-top: 22px; padding-bottom: 22px; }
.ps-header--serif-centered .ps-header__name { letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; }
.ps-header--underline-left { border-bottom-width: 2px; }
.ps-header--soft-left { background: color-mix(in srgb, var(--brand) 5%, var(--bg)); border-bottom-color: transparent; }
.ps-header--pill-solid .ps-header__name { font-weight: 900; }

/* ── GLOBAL FOOTER ── */
.ps-footer { padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 64px); background: var(--surface); border-top: 1px solid var(--border); }
.ps-footer__inner { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ps-footer__brand { font-family: var(--font-heading, 'Raleway'), sans-serif; font-weight: var(--heading-weight, 800); font-size: 1.1rem; color: var(--text); }
.ps-footer__social { display: flex; gap: 16px; }
.ps-footer__social a { color: var(--muted); font-size: 22px; transition: color .15s, transform .15s; }
.ps-footer__social a:hover { color: var(--brand); transform: translateY(-2px); }
.ps-footer__note { color: var(--muted); font-size: .9rem; margin: 0; }
.ps-footer__credit { color: var(--muted); font-size: .8rem; text-decoration: none; opacity: .65; }
.ps-footer__credit:hover { color: var(--brand); opacity: 1; }

/* Editör: header/footer tıklanınca chrome formu açılır */
.se-chrome-wrap { position: relative; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .12s; }
.se-chrome-wrap:hover { outline-color: #93b4ff; }
.se-chrome-wrap::after { content: '✎ düzenle'; position: absolute; top: 6px; right: 8px; background: rgba(15,17,21,.9); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 7px; opacity: 0; transition: opacity .12s; z-index: 6; }
.se-chrome-wrap:hover::after { opacity: 1; }
.se-chrome-toggles { display: flex; gap: 18px; margin-top: 16px; color: #c7c9d1; font-size: 13px; }
.se-chrome-toggles label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* MOBİL — section model'in avantajı: tek kolona düşer, bozuk durum üretilemez */
@media (max-width: 760px) {
  .ps-hero__inner,
  .ps-hero--image-left .ps-hero__inner,
  .ps-about__inner,
  .ps-about--text-left .ps-about__inner { grid-template-columns: 1fr; text-align: center; }
  .ps-hero__media { order: 2; }
  .ps-hero__sub { margin-left: auto; margin-right: auto; }
  .ps-hero__cta { justify-content: center; }
  .ps-about__avatar { max-width: 200px; margin: 0 auto; order: -1 !important; }
  .ps-about__stats { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SAYFA EDİTÖRÜ  (.se-*)
   ═══════════════════════════════════════════════════════════════════════ */
.se-root { position: fixed; inset: 0; display: flex; flex-direction: column; background: #0f1115; z-index: 50; font-family: 'DM Sans', sans-serif; }
.se-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #16181d; border-bottom: 1px solid #26282f; color: #e7e7ea; }
.se-top-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.se-top-title > i { color: #6b8afd; }
.se-top-spacer { flex: 1; }
/* Sayfa değiştirici (çok sayfa motoru) */
.se-pageswitch { position: relative; }
.se-pageswitch-btn { display: flex; align-items: center; gap: 8px; background: transparent; border: 1px solid transparent; color: #e7e7ea; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 10px; border-radius: 9px; transition: background .14s, border-color .14s; }
.se-pageswitch-btn:hover { background: rgba(255,255,255,.05); border-color: #2c2f37; }
.se-pageswitch-btn > i:first-child { color: #6b8afd; font-size: 16px; }
.se-pageswitch-name { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-pageswitch-caret { font-size: 12px; color: #8a8a93; }
.se-menu-backdrop { position: fixed; inset: 0; z-index: 40; }
.se-pagemenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 41; min-width: 250px; background: #1a1c22; border: 1px solid #2c2f37; border-radius: 12px; padding: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.se-pagemenu-item { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: none; color: #d7d7dd; font: inherit; font-size: 13.5px; cursor: pointer; padding: 9px 10px; border-radius: 8px; text-align: left; transition: background .12s; }
.se-pagemenu-item:hover { background: #24262e; }
.se-pagemenu-item.on { background: #24262e; color: #fff; }
.se-pagemenu-item > i:first-child { font-size: 16px; color: #8a8a93; flex: none; }
.se-pagemenu-item.on > i:first-child { color: #6b8afd; }
.se-pagemenu-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-pagemenu-dot { width: 7px; height: 7px; border-radius: 50%; background: #6b6b73; flex: none; }
.se-pagemenu-dot.published { background: #5fd58a; }
.se-pagemenu-del { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #6b6b73; padding: 3px; border-radius: 6px; flex: none; transition: color .12s, background .12s; }
.se-pagemenu-del:hover { color: #f2777a; background: rgba(242,119,122,.14); }
.se-pagemenu-seo { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #6b6b73; padding: 3px; border-radius: 6px; flex: none; transition: color .12s, background .12s; }
.se-pagemenu-seo:hover { color: #6b8afd; background: rgba(107,138,253,.14); }
.se-seorow { display: flex; gap: 8px; margin-bottom: 6px; }
.se-seorow .se-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.se-pagemenu-add { display: flex; align-items: center; gap: 8px; width: 100%; background: transparent; border: none; border-top: 1px solid #26282f; margin-top: 4px; color: #6b8afd; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 10px; border-radius: 8px; transition: background .12s; }
.se-pagemenu-add:hover { background: #24262e; }
.se-pagemenu-add > i { font-size: 16px; }
/* Yeni sayfa şablon seçici */
.se-tplgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.se-tpl { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: #22242b; border: 1.5px solid #2f323a; border-radius: 10px; padding: 12px 11px; cursor: pointer; color: #d7d7dd; font: inherit; text-align: left; transition: border-color .14s, background .14s; }
.se-tpl:hover { border-color: #3a4a7a; }
.se-tpl.on { border-color: #2563EB; background: #232838; }
.se-tpl > i { font-size: 20px; color: #6b8afd; margin-bottom: 2px; }
.se-tpl-name { font-size: 13px; font-weight: 600; color: #ececed; }
.se-tpl-desc { font-size: 10.5px; line-height: 1.3; color: #8a8a93; }
.se-badge { font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.se-badge.draft { background: #3a3320; color: #f5c451; }
.se-badge.published { background: #173a25; color: #5fd58a; }
.se-dot { width: 8px; height: 8px; border-radius: 50%; background: #f5c451; }
/* Otomatik kayıt durum göstergesi (manuel "Kaydet" butonu yerine) */
.se-savestate { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 7px 12px; border-radius: 9px; color: #8a8a93; white-space: nowrap; transition: color .2s; }
.se-savestate i { font-size: 15px; }
.se-savestate.saved { color: #5fd58a; }
.se-savestate.pending { color: #a8a8b0; }
.se-savestate.saving { color: #6b8afd; }
.se-savestate.error { color: #f2777a; cursor: pointer; background: rgba(242,119,122,.1); }
.se-savestate.error:hover { background: rgba(242,119,122,.18); }
.se-spin { display: inline-block; animation: onb-spin .7s linear infinite; }
.se-icon-btn { background: transparent; border: none; color: #a8a8b0; cursor: pointer; padding: 6px; border-radius: 8px; font-size: 18px; display: inline-flex; transition: background .15s, color .15s; }
.se-icon-btn:hover:not(:disabled) { background: rgba(255,255,255,.08); color: #fff; }
.se-icon-btn:disabled { opacity: .32; cursor: default; }
/* Geri al / Yinele ikon grubu */
.se-hist { display: inline-flex; gap: 2px; margin-left: 4px; padding-left: 8px; border-left: 1px solid #34373f; }
.se-device { display: flex; gap: 2px; background: #22242b; border-radius: 9px; padding: 3px; margin-right: 6px; }
.se-device button { background: transparent; border: none; color: #8a8a93; cursor: pointer; padding: 5px 9px; border-radius: 7px; font-size: 16px; }
.se-device button.on { background: #34373f; color: #fff; }
.se-btn { padding: 8px 16px; border-radius: 9px; font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; border: none; transition: all .15s; }
.se-btn--ghost { background: #2a2c33; color: #e7e7ea; }
.se-btn--ghost:hover { background: #34373f; }
.se-btn--primary { background: #2563EB; color: #fff; }
.se-btn--primary:hover { background: #1d50c9; }
.se-btn:disabled { opacity: .55; cursor: not-allowed; }
/* Pasif ana buton net gri görünsün (mavi kalmasın → "neden çalışmıyor" kafa karışıklığı yok) */
.se-btn--primary:disabled { background: #2c2f37; color: #6b6b73; opacity: 1; }
.se-btn--primary:disabled:hover { background: #2c2f37; }

.se-body { flex: 1; display: grid; grid-template-columns: 1fr 320px; min-height: 0; }
.se-canvas-wrap { overflow-y: auto; padding: 28px; background: #1a1c22; display: flex; justify-content: center; align-items: flex-start; }
.se-canvas { width: 100%; max-width: 1100px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); transition: max-width .25s ease; }
.se-canvas--mobile { max-width: 400px; }
/* Inline metin düzenleme — canvas'ta tıkla-yaz */
[contenteditable]:focus { outline: 2px solid var(--brand, #2563EB); outline-offset: 3px; border-radius: 4px; cursor: text; }
[contenteditable]:hover:not(:focus) { outline: 1.5px dashed color-mix(in srgb, var(--brand, #2563EB) 50%, transparent); outline-offset: 3px; border-radius: 4px; cursor: text; }
.se-loading, .se-empty { padding: 80px 24px; text-align: center; color: #71717a; }
.se-empty i { font-size: 48px; color: #c7c9d1; display: block; margin-bottom: 14px; }
.se-empty p { margin: 0 0 18px; }

/* Bölüm sarmalayıcı (hover/seçim) */
.se-block { position: relative; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .12s; }
.se-block:hover { outline-color: #93b4ff; }
.se-block.sel { outline-color: #2563EB; }
.se-block-tag { position: absolute; top: 0; left: 0; z-index: 4; background: #2563EB; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 0 0 8px 0; opacity: 0; transition: opacity .12s; pointer-events: none; }
.se-block:hover .se-block-tag, .se-block.sel .se-block-tag { opacity: 1; }
.se-block-bar { position: absolute; top: 8px; right: 8px; z-index: 5; display: flex; gap: 2px; background: rgba(15,17,21,.92); border-radius: 9px; padding: 3px; opacity: 0; transition: opacity .12s; }
.se-block:hover .se-block-bar, .se-block.sel .se-block-bar { opacity: 1; }
.se-block-bar button { background: transparent; border: none; color: #cfcfd6; cursor: pointer; padding: 5px 6px; border-radius: 6px; font-size: 14px; display: inline-flex; }
.se-block-bar button:hover:not(:disabled) { background: rgba(255,255,255,.14); color: #fff; }
.se-block-bar button:disabled { opacity: .3; cursor: not-allowed; }
.se-block-bar .se-del:hover { background: #c0392b; color: #fff; }
.se-add-between { position: absolute; bottom: -13px; left: 50%; transform: translateX(-50%); z-index: 6; background: #2563EB; color: #fff; border: 2px solid #fff; border-radius: 20px; font-size: 12px; font-weight: 600; padding: 4px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .12s; }
.se-block:hover .se-add-between { opacity: 1; }

/* Sağ panel */
.se-panel { background: #16181d; border-left: 1px solid #26282f; overflow-y: auto; }
.se-panel-inner { padding: 18px; }
.se-panel-head { display: flex; align-items: center; justify-content: space-between; }
.se-panel-h { color: #e7e7ea; font-size: 14px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 7px; }
.se-panel-h i { color: #6b8afd; }
.se-flabel { display: block; color: #9a9aa4; font-size: 12px; font-weight: 500; margin: 14px 0 6px; }
.se-input { width: 100%; background: #22242b; border: 1.5px solid #2f323a; border-radius: 9px; color: #e7e7ea; padding: 9px 11px; font-family: inherit; font-size: 13.5px; outline: none; transition: border-color .15s; }
.se-input:focus { border-color: #2563EB; }
.se-input--sm { padding: 7px 9px; font-size: 13px; }
.se-textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
/* Zengin metin araç çubuğu (kalın/italik/bağlantı) */
.se-rt-bar { display: flex; gap: 4px; margin-bottom: 6px; }
.se-rt-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 8px; background: #22242b; border: 1.5px solid #2f323a; border-radius: 7px; color: #c7c7cf; font: inherit; font-size: 13px; cursor: pointer; transition: border-color .14s, color .14s, background .14s; }
.se-rt-btn:hover { border-color: #3a4a7a; color: #fff; background: #262931; }
.se-rt-btn b { font-weight: 800; }
.se-rt-btn i.ph { font-size: 15px; }
.se-cta-edit { display: flex; flex-direction: column; gap: 7px; }
.se-microlbl { color: #8a8a93; font-size: 11px; font-weight: 600; margin-top: 2px; }
/* Segmented kontrol — merkezi buton stili/köşesi (tema paneli) + genel */
.se-seg { display: flex; gap: 3px; background: #16181d; border: 1px solid #2a2c33; border-radius: 8px; padding: 3px; }
.se-seg-btn { flex: 1; background: transparent; border: none; color: #b9b9c2; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; padding: 6px 4px; border-radius: 6px; transition: background .12s, color .12s; }
.se-seg-btn:hover { color: #fff; }
.se-seg-btn.on { background: #2563EB; color: #fff; }
.se-cta-remove { align-self: flex-start; background: transparent; border: none; color: #9a6a6a; font: inherit; font-size: 12px; cursor: pointer; padding: 4px 2px; display: inline-flex; align-items: center; gap: 5px; }
.se-cta-remove:hover { color: #f2777a; }
.se-list { display: flex; flex-direction: column; gap: 8px; }
.se-list-row { display: flex; gap: 6px; align-items: center; }
/* Yığılmış liste kartı (Özellikler: ikon + başlık + metin) */
.se-list-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: #1e2027; border: 1px solid #2a2c33; border-radius: 10px; padding: 10px 10px 12px; }
.se-list-card .se-input { width: 100%; }
.se-row-del--card { position: absolute; top: 8px; right: 8px; padding: 4px 6px; }
.se-iconpick { display: flex; align-items: center; gap: 8px; }
.se-iconpick .se-input { flex: 1; }
.se-iconpick-prev { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background: #2a2c33; color: #6b8afd; }
.se-iconpick-prev i { font-size: 18px; }
.se-row-del { background: #2a2c33; border: none; color: #a8a8b0; cursor: pointer; border-radius: 7px; padding: 7px 8px; font-size: 13px; flex-shrink: 0; }
.se-row-del:hover { background: #c0392b; color: #fff; }
.se-list-add { background: #22242b; border: 1.5px dashed #3a3d46; color: #b9b9c2; cursor: pointer; border-radius: 9px; padding: 8px; font-size: 13px; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.se-list-add:hover { border-color: #2563EB; color: #fff; }
.se-hint { margin-top: 22px; color: #6a6a73; font-size: 12px; line-height: 1.5; display: flex; gap: 6px; }
.se-substep { color: #8a8a93; font-size: 12px; margin: -6px 0 12px; }
.se-divider2 { height: 1px; background: #26282f; margin: 22px 0 16px; }
.se-setgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.se-set { background: #22242b; border: 1.5px solid #2f323a; border-radius: 11px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: all .14s; text-align: left; }
.se-set:hover { border-color: #4a4d57; transform: translateY(-1px); }
.se-set.on { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB; }
.se-set-sws { display: flex; gap: 3px; }
.se-set-sw { flex: 1; height: 22px; border-radius: 5px; }
.se-set-name { color: #d7d7dd; font-size: 11.5px; font-weight: 600; }

.se-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.se-swatch { width: 30px; height: 30px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; position: relative; }
.se-swatch.on { border-color: #fff; box-shadow: 0 0 0 2px #2563EB; }
.se-swatch--custom { display: grid; place-items: center; background: #22242b !important; border: 1.5px dashed #3a3d46; color: #9a9aa4; overflow: hidden; }
.se-swatch--custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Seçici modal */
.se-modal { position: fixed; inset: 0; background: rgba(8,9,12,.66); display: grid; place-items: center; z-index: 60; padding: 20px; }
/* Görsel kütüphanesi başka modallardan (logo/favicon) açılabilir → hep üstte */
.se-modal--front { z-index: 100; }   /* kurs ayarları çekmecesi (80) üstünde kalsın */
.se-modal-card { background: #1a1c22; border: 1px solid #2c2f37; border-radius: 16px; width: 100%; max-width: 460px; padding: 18px; max-height: calc(100vh - 40px); overflow-y: auto; }
.se-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.se-modal-head h3 { color: #e7e7ea; margin: 0; font-size: 15px; }
.se-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.se-picker-item { background: #22242b; border: 1.5px solid #2f323a; border-radius: 12px; padding: 10px; cursor: pointer; color: #d7d7dd; font-family: inherit; display: flex; flex-direction: column; gap: 10px; text-align: left; transition: all .14s; }
.se-picker-item:hover { background: #2a2d35; border-color: #2563EB; transform: translateY(-2px); }
/* Sağ panel sekme şeridi (Ekle / Tasarım / Sayfa) — Google tarzı alt-çizgi */
.se-tabstrip { display: flex; position: sticky; top: 0; z-index: 5; background: #16181d; border-bottom: 1px solid #26282f; }
.se-tabstrip button { flex: 1; background: transparent; border: none; border-bottom: 2px solid transparent; color: #9a9aa4; cursor: pointer; padding: 13px 6px; font-family: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .14s, border-color .14s; }
.se-tabstrip button:hover { color: #d7d7dd; }
.se-tabstrip button.on { color: #fff; border-bottom-color: #6b8afd; }
.se-tabstrip button i { font-size: 15px; }
.se-addtab .se-substep { margin-top: 0; }
/* Ekle sekmesinde bloklar tek sütun + yatay kompakt kart */
.se-picker-grid--panel { grid-template-columns: 1fr; gap: 8px; }
.se-picker-grid--panel .se-picker-item { flex-direction: row; align-items: center; gap: 12px; padding: 9px 11px; }
.se-picker-grid--panel .se-picker-item:hover { transform: none; }
.se-picker-grid--panel .se-wire { width: 66px; flex: none; }
.se-picker-body { display: flex; flex-direction: column; gap: 3px; }
.se-picker-name { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #ececed; }
.se-picker-name i { font-size: 16px; color: #6b8afd; }
.se-picker-desc { font-size: 11.5px; line-height: 1.35; color: #8a8a93; }

/* Mini wireframe önizleme — statik shape'ler */
.se-wire { display: flex; flex-direction: column; gap: 4px; height: 52px; padding: 7px; background: #f4f5f7; border-radius: 7px; }
.se-wire-row { display: flex; gap: 4px; flex: 1; min-height: 0; }
.se-wire-cell { border-radius: 3px; background: #d3d6dd; min-width: 0; }
.se-wire--img { background: #c2c6cf; }
.se-wire--card { background: #dcdfe6; }
.se-wire--band { background: color-mix(in srgb, var(--brand, #2563EB) 30%, #dcdfe6); }
.se-wire--stack {
  background:
    linear-gradient(#c2c6cf 0 0) left top    / 65% 3px no-repeat,
    linear-gradient(#d3d6dd 0 0) left center  / 90% 3px no-repeat,
    linear-gradient(#d3d6dd 0 0) left bottom  / 75% 3px no-repeat;
  background-color: transparent;
}

/* Görsel alanı (panel) */
.se-videofield { display: flex; flex-direction: column; gap: 4px; }
.se-videofield .se-microlbl { display: flex; align-items: center; gap: 5px; }
.se-videofield .se-microlbl .ph-check-circle { color: #5fd58a; }
.se-videofield .se-microlbl .ph-warning-circle { color: #f5c451; }
.se-imgfield { display: flex; flex-direction: column; gap: 8px; }
.se-imgfield-prev { border-radius: 9px; overflow: hidden; border: 1px solid #2f323a; background: #0f1115; }
.se-imgfield-prev img { width: 100%; height: 96px; object-fit: cover; display: block; }
.se-imgfield-btn { background: #22242b; border: 1.5px solid #2f323a; color: #d7d7dd; cursor: pointer; border-radius: 9px; padding: 9px; font-family: inherit; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.se-imgfield-btn:hover { border-color: #2563EB; color: #fff; }

/* Site Ayarları modalı — bölümlere ayrılmış form */
.se-settings-sec { padding: 16px 0; border-top: 1px solid #26282f; }
.se-settings-sec:first-of-type { border-top: none; padding-top: 4px; }
.se-settings-sec h4 { margin: 0 0 2px; color: #e7e7ea; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.se-settings-sec h4 i { font-size: 16px; color: #6b8afd; }
.se-count { float: right; color: #6b6b73; font-weight: 400; font-size: 11px; }
.se-toggle-row { display: flex; align-items: center; gap: 8px; color: #cfcfd6; font-size: 13px; margin: 4px 0 10px; cursor: pointer; }
.se-toggle-row input { accent-color: #2563EB; }

/* Duyuru banner'ı — public + editör canvas ortak (marka rengi) */
.ps-banner { display: block; width: 100%; text-align: center; background: var(--brand); color: var(--brand-ink); font-size: 13.5px; font-weight: 600; padding: 9px 16px; text-decoration: none; letter-spacing: .01em; }
a.ps-banner:hover { filter: brightness(.94); }
.se-chrome-wrap + .ps-banner, .se-canvas .ps-banner { cursor: pointer; }

/* Görsel kütüphanesi modal */
.se-modal-card--lg { max-width: 720px; }
/* Kırpıcı (yükleme aşamasında pan+zoom) */
.se-crop { display: flex; flex-direction: column; gap: 12px; }
.se-crop-frame { position: relative; width: 100%; overflow: hidden; border-radius: 12px; background: #0f1115; cursor: grab; touch-action: none; user-select: none; }
.se-crop-frame:active { cursor: grabbing; }
.se-crop-img { position: absolute; left: 0; top: 0; max-width: none; pointer-events: none; }
.se-crop-zoom { display: flex; align-items: center; gap: 10px; color: #8a8a93; }
.se-crop-zoom i { font-size: 18px; }
.se-crop-zoom input[type=range] { flex: 1; accent-color: #2563EB; }
.se-crop-actions { display: flex; gap: 8px; justify-content: flex-end; }
/* Buton bağlantısı — inline popover */
.se-linkpop-backdrop { position: fixed; inset: 0; z-index: 64; }
.se-linkpop { position: fixed; z-index: 65; width: 270px; background: #1a1c22; border: 1px solid #2c2f37; border-radius: 11px; padding: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.se-linkpop-h { display: flex; align-items: center; gap: 7px; color: #9a9aa4; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.se-linkpop-h i { color: #6b8afd; font-size: 15px; }
/* Medya sekmeleri */
.se-tabs { display: flex; gap: 4px; background: #16181d; border: 1px solid #2a2c33; border-radius: 11px; padding: 4px; margin-bottom: 16px; }
.se-tabs button { flex: 1; background: transparent; border: none; color: #9a9aa4; cursor: pointer; padding: 9px 8px; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all .14s; }
.se-tabs button:hover { color: #d7d7dd; }
.se-tabs button.on { background: #2563EB; color: #fff; }
.se-tab-pane { min-height: 220px; }
.se-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; border: 2px dashed #3a3d46; border-radius: 14px; cursor: pointer; color: #9a9aa4; text-align: center; transition: border-color .15s, background .15s; }
.se-drop:hover { border-color: #2563EB; background: rgba(37,99,235,.06); color: #d7d7dd; }
.se-drop i { font-size: 38px; color: #6b8afd; }
.se-drop small { color: #6a6a73; font-size: 12px; }

.se-media-search { display: flex; gap: 8px; margin-bottom: 14px; }
.se-media-search input { flex: 1; background: #22242b; border: 1.5px solid #2f323a; border-radius: 9px; color: #e7e7ea; padding: 10px 12px; font-family: inherit; font-size: 14px; outline: none; }
.se-media-search input:focus { border-color: #2563EB; }
.se-media-state { text-align: center; color: #8a8a93; padding: 40px 16px; font-size: 14px; }
.se-media-by { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 8px; background: #22242b; font-size: 11px; color: #9a9aa4; }
.se-media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 380px; overflow-y: auto; padding: 2px; }
.se-media-item { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #0f1115; aspect-ratio: 1; }
.se-media-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.se-media-item:hover { border-color: #2563EB; }
.se-media-item:hover img { transform: scale(1.06); }
.se-media-url { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #26282f; }
.se-media-url input { flex: 1; background: #22242b; border: 1.5px solid #2f323a; border-radius: 9px; color: #e7e7ea; padding: 9px 12px; font-family: inherit; font-size: 13px; outline: none; }
@media (max-width: 560px) { .se-media-grid { grid-template-columns: repeat(3, 1fr); } }

.se-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #2563EB; color: #fff; padding: 11px 22px; border-radius: 11px; font-size: 14px; font-weight: 600; z-index: 70; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.se-toast-enter-active, .se-toast-leave-active { transition: opacity .25s, transform .25s; }
.se-toast-enter-from, .se-toast-leave-to { opacity: 0; transform: translate(-50%, 12px); }

@media (max-width: 860px) {
  .se-body { grid-template-columns: 1fr; }
  .se-panel { position: fixed; right: 0; bottom: 0; left: 0; max-height: 52vh; border-left: none; border-top: 1px solid #26282f; border-radius: 16px 16px 0 0; }
}

/* ══════════ Kurslar listesi (yönetim paneli) ══════════ */
.crs-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.crs-intro { color: var(--zinc-500); font-size: 14px; margin: 0; }
.crs-new { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.crs-new:hover { filter: brightness(.95); }
.crs-loading, .crs-empty { padding: 48px; text-align: center; color: var(--zinc-500); }
.crs-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: var(--zinc-300, #d4d4d8); }
.crs-empty p { margin: 0 0 16px; }
.crs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.crs-card { background: #fff; border: 1px solid var(--zinc-200); border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; font: inherit; padding: 0; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.crs-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--zinc-200)); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.crs-thumb { position: relative; aspect-ratio: 16/9; background: var(--zinc-100, #f4f4f5); display: grid; place-items: center; }
.crs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crs-thumb > i { font-size: 40px; color: var(--zinc-300, #d4d4d8); }
.crs-badge { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: #fff; }
.crs-badge.published { color: #15803d; background: #dcfce7; }
.crs-badge.draft { color: #a16207; background: #fef9c3; }
.crs-badge.archived { color: var(--zinc-500); background: var(--zinc-100, #f4f4f5); }
.crs-body { padding: 12px 14px; }
.crs-title { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.crs-meta { display: flex; align-items: center; gap: 12px; color: var(--zinc-500); font-size: 12.5px; flex-wrap: wrap; }
.crs-meta i { font-size: 14px; }
.crs-price { margin-left: auto; font-weight: 600; color: var(--brand); }
.crs-price.sale::after { content: ' •'; color: #ef4444; }
.crs-modal { position: fixed; inset: 0; background: rgba(8,9,12,.5); display: grid; place-items: center; z-index: 70; padding: 20px; }
.crs-modal-card { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 440px; }
.crs-modal-card h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.crs-modal-card p { color: var(--zinc-500); font-size: 13.5px; margin: 0 0 14px; }
.crs-input { width: 100%; border: 1px solid var(--zinc-200); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 15px; outline: none; }
.crs-input:focus { border-color: var(--brand); }
.crs-modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.crs-btn-ghost { background: var(--zinc-100, #f4f4f5); border: none; border-radius: 9px; padding: 10px 16px; font: inherit; font-weight: 500; cursor: pointer; }
.crs-btn-primary { background: var(--brand); color: #fff; border: none; border-radius: 9px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.crs-btn-primary:disabled { opacity: .55; cursor: not-allowed; }

/* ══════════ Kurs editörü (tam ekran, açık) ══════════ */
.ce-root { position: fixed; inset: 0; background: #fbfbfc; display: flex; flex-direction: column; z-index: 50; font-family: inherit; color: #18181b; }
.ce-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--zinc-200); }
.ce-icon { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--zinc-500); padding: 6px; border-radius: 8px; }
.ce-icon:hover { background: var(--zinc-100, #f4f4f5); }
.ce-title { border: none; font: inherit; font-size: 16px; font-weight: 600; outline: none; background: none; min-width: 200px; }
.ce-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.ce-badge.published { color: #15803d; background: #dcfce7; }
.ce-badge.draft { color: #a16207; background: #fef9c3; }
.ce-spacer { flex: 1; }
.ce-save { font-size: 12.5px; color: var(--zinc-400, #a1a1aa); }
.ce-save.saving, .ce-save.pending { color: #a16207; }
.ce-save.error { color: #ef4444; }
.ce-publish { background: var(--brand); color: #fff; border: none; border-radius: 9px; padding: 9px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.ce-tabs { display: flex; gap: 2px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--zinc-200); }
.ce-tabs button { background: none; border: none; border-bottom: 2px solid transparent; padding: 12px 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--zinc-500); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ce-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.ce-loading { padding: 60px; text-align: center; color: var(--zinc-500); }

/* Müfredat */
.ce-build { flex: 1; display: flex; min-height: 0; }
.ce-tree { width: 320px; flex: none; border-right: 1px solid var(--zinc-200); background: #fff; overflow-y: auto; padding: 12px; }
.ce-tree-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--zinc-400, #a1a1aa); margin-bottom: 10px; }
.ce-mini { background: var(--brand); color: #fff; border: none; border-radius: 7px; padding: 5px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.ce-mini2 { background: none; border: none; color: var(--zinc-400, #a1a1aa); cursor: pointer; padding: 4px; border-radius: 6px; }
.ce-mini2:hover { color: #ef4444; background: #fef2f2; }
.ce-tree-empty { color: var(--zinc-400, #a1a1aa); font-size: 13px; padding: 20px 4px; }
.ce-unit { margin-bottom: 14px; }
.ce-unit-head { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.ce-unit-title { flex: 1; border: 1px solid transparent; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 4px 6px; border-radius: 6px; outline: none; }
.ce-unit-title:hover, .ce-unit-title:focus { border-color: var(--zinc-200); background: #fff; }
.ce-loose { font-weight: 600; font-size: 13px; color: var(--zinc-500); padding: 4px 6px; }
.ce-lesson { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: none; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 13.5px; color: #3f3f46; cursor: pointer; text-align: left; }
.ce-lesson:hover { background: var(--zinc-100, #f4f4f5); }
.ce-lesson.on { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.ce-lesson > i:first-child { font-size: 16px; flex: none; }
.ce-lesson > span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ce-dot { font-size: 8px; color: #22c55e; }
.ce-add-lesson { display: flex; gap: 3px; padding: 4px 6px; }
.ce-add-lesson button { flex: 1; background: var(--zinc-100, #f4f4f5); border: none; border-radius: 7px; padding: 6px; color: var(--zinc-500); cursor: pointer; }
.ce-add-lesson button:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.ce-add-lesson button i { font-size: 15px; }
.ce-editor { flex: 1; overflow-y: auto; padding: 28px; }
.ce-editor-empty { max-width: 340px; margin: 80px auto; text-align: center; color: var(--zinc-400, #a1a1aa); }
.ce-editor-empty i { font-size: 40px; display: block; margin-bottom: 10px; }
.ce-editor-in { max-width: 640px; margin: 0 auto; }
.ce-editor-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.ce-editor-ic { width: 44px; height: 44px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); display: grid; place-items: center; flex: none; }
.ce-editor-ic i { font-size: 22px; }
.ce-editor-title { flex: 1; border: none; border-bottom: 2px solid var(--zinc-200); font: inherit; font-size: 20px; font-weight: 600; padding: 4px 0; outline: none; background: none; }
.ce-editor-title:focus { border-bottom-color: var(--brand); }
.ce-field { margin-bottom: 20px; }
.ce-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--zinc-600, #52525b); margin-bottom: 6px; }
.ce-input { width: 100%; border: 1px solid var(--zinc-200); border-radius: 9px; padding: 10px 12px; font: inherit; font-size: 14px; outline: none; }
.ce-input:focus { border-color: var(--brand); }
.ce-textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.ce-hint { font-size: 12.5px; color: #15803d; margin: 6px 0 0; display: flex; align-items: center; gap: 5px; }
.ce-hint.muted { color: var(--zinc-400, #a1a1aa); }
.ce-toggles { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--zinc-200); }
.ce-toggles label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #3f3f46; cursor: pointer; }

/* Detaylar / Fiyatlandırma formu */
.ce-form { flex: 1; overflow-y: auto; padding: 28px; max-width: 620px; margin: 0 auto; width: 100%; }
.ce-flabel { display: block; font-size: 12.5px; font-weight: 600; color: var(--zinc-600, #52525b); margin: 16px 0 6px; }
.ce-form .ce-flabel:first-child { margin-top: 0; }
.ce-cover-prev { margin-top: 8px; border-radius: 10px; overflow: hidden; border: 1px solid var(--zinc-200); }
.ce-cover-prev img { width: 100%; max-height: 200px; object-fit: cover; display: block; }
.ce-check { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; cursor: pointer; }
.ce-price-row { display: flex; gap: 8px; }
.ce-cur { width: 100px; flex: none; }
.ce-toastbox { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #18181b; color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 14px; z-index: 80; }
.ce-toast-enter-active, .ce-toast-leave-active { transition: opacity .2s; }
.ce-toast-enter-from, .ce-toast-leave-to { opacity: 0; }
@media (max-width: 720px) { .ce-tree { width: 100%; position: absolute; z-index: 2; height: 100%; } }

/* ══════════ Başlangıç kontrol listesi (dashboard) ══════════ */
.gs-card { background: #fff; border: 1px solid var(--zinc-200); border-radius: 16px; padding: 20px 22px; margin-bottom: 24px; }
.gs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gs-head h3 { margin: 0; font-size: 17px; }
.gs-head p { margin: 4px 0 0; color: var(--zinc-500); font-size: 13.5px; }
.gs-dismiss { background: none; border: none; color: var(--zinc-400, #a1a1aa); cursor: pointer; padding: 4px; border-radius: 6px; font-size: 16px; }
.gs-dismiss:hover { background: var(--zinc-100, #f4f4f5); }
.gs-bar { height: 6px; background: var(--zinc-100, #f4f4f5); border-radius: 6px; margin: 14px 0 16px; overflow: hidden; }
.gs-bar span { display: block; height: 100%; background: var(--brand); border-radius: 6px; transition: width .35s ease; }
.gs-steps { display: flex; flex-direction: column; gap: 8px; }
.gs-step { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--zinc-50, #fafafa); border: 1px solid var(--zinc-200); border-radius: 11px; padding: 13px 15px; cursor: pointer; text-align: left; font: inherit; transition: border-color .14s, background .14s; }
.gs-step:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--zinc-200)); background: #fff; }
.gs-step.done { opacity: .68; }
.gs-check { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.gs-check i { font-size: 19px; }
.gs-step.done .gs-check { background: #dcfce7; color: #16a34a; }
.gs-body { flex: 1; min-width: 0; }
.gs-title { display: block; font-weight: 600; font-size: 14.5px; }
.gs-desc { display: block; color: var(--zinc-500); font-size: 12.5px; margin-top: 1px; }
.gs-cta { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 600; font-size: 13px; white-space: nowrap; }
.gs-doneflag { color: #16a34a; font-weight: 600; font-size: 12.5px; }
@media (max-width: 560px) { .gs-cta { display: none; } }

/* ══════════ Kurs editörü — video sekmeleri + quiz + kural ══════════ */
.ce-vtabs { display: flex; gap: 2px; background: var(--zinc-100, #f4f4f5); border-radius: 9px; padding: 3px; margin-bottom: 12px; width: fit-content; }
.ce-vtabs button { background: none; border: none; padding: 7px 14px; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--zinc-500); cursor: pointer; }
.ce-vtabs button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ce-upload-soon { border: 2px dashed var(--zinc-200); border-radius: 12px; padding: 32px 20px; text-align: center; color: var(--zinc-500); }
.ce-upload-soon i { font-size: 34px; display: block; margin-bottom: 8px; color: var(--zinc-300, #d4d4d8); }
.ce-upload-soon p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.ce-mini-num { width: 68px; border: 1px solid var(--zinc-200); border-radius: 7px; padding: 6px 8px; font: inherit; font-size: 13px; outline: none; }
.ce-mini-num:focus { border-color: var(--brand); }
/* Quiz */
.ce-quiz-mode { display: flex; gap: 8px; margin-bottom: 16px; }
.ce-quiz-mode button { flex: 1; background: #fff; border: 1.5px solid var(--zinc-200); border-radius: 10px; padding: 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--zinc-600, #52525b); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: all .14s; }
.ce-quiz-mode button.on { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.ce-quiz-meta { display: flex; gap: 20px; margin-bottom: 16px; }
.ce-quiz-meta label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--zinc-600, #52525b); }
.ce-questions { display: flex; flex-direction: column; gap: 12px; }
.ce-question { border: 1px solid var(--zinc-200); border-radius: 12px; padding: 12px 14px; background: var(--zinc-50, #fafafa); }
.ce-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ce-q-num { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ce-q-text { flex: 1; border: none; border-bottom: 1.5px solid var(--zinc-200); background: none; font: inherit; font-size: 14.5px; font-weight: 500; padding: 4px 2px; outline: none; }
.ce-q-text:focus { border-bottom-color: var(--brand); }
.ce-q-del { background: none; border: none; color: var(--zinc-400, #a1a1aa); cursor: pointer; padding: 4px; border-radius: 6px; }
.ce-q-del:hover { color: #ef4444; background: #fef2f2; }
.ce-options { display: flex; flex-direction: column; gap: 6px; padding-left: 34px; }
.ce-option { display: flex; align-items: center; gap: 9px; }
.ce-option input[type=radio] { accent-color: #16a34a; flex: none; width: 16px; height: 16px; cursor: pointer; }
.ce-opt-text { flex: 1; border: 1px solid var(--zinc-200); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13.5px; outline: none; background: #fff; }
.ce-opt-text:focus { border-color: var(--brand); }
.ce-opt-del { background: none; border: none; color: var(--zinc-400, #a1a1aa); cursor: pointer; padding: 4px; }
.ce-opt-del:hover { color: #ef4444; }
.ce-opt-add { align-self: flex-start; background: none; border: none; color: var(--brand); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; }
.ce-add-q { background: color-mix(in srgb, var(--brand) 10%, transparent); border: none; color: var(--brand); border-radius: 10px; padding: 11px; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ce-add-q:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); }
/* Tamamlama kuralı */
.ce-rules { padding: 16px 0; border-top: 1px solid var(--zinc-200); margin-top: 4px; }
.ce-rules-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--zinc-600, #52525b); margin-bottom: 8px; }
.ce-rules-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ce-rule-sel { width: auto; min-width: 160px; }
.ce-rule-param { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--zinc-600, #52525b); }

/* ══════════ Kurs editörü — ders tipi seçici modal + drop zone ══════════ */
.ce-add-lesson-row { display: flex; align-items: center; gap: 7px; width: 100%; background: none; border: 1.5px dashed var(--zinc-200); border-radius: 9px; padding: 9px; color: var(--zinc-500); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; margin-top: 4px; }
.ce-add-lesson-row:hover { border-color: var(--brand); color: var(--brand); }
.ce-picker-overlay { position: fixed; inset: 0; background: rgba(8,9,12,.5); display: grid; place-items: center; z-index: 90; padding: 20px; }
.ce-picker { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 460px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ce-picker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ce-picker-head h3 { margin: 0; font-size: 17px; }
.ce-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ce-type-card { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--zinc-50, #fafafa); border: 1.5px solid var(--zinc-200); border-radius: 12px; padding: 18px 10px; cursor: pointer; font: inherit; color: #3f3f46; transition: border-color .14s, color .14s, background .14s; }
.ce-type-card:hover { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.ce-type-card i { font-size: 26px; }
.ce-type-card span { font-size: 12.5px; font-weight: 600; }
.ce-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; background: var(--zinc-50, #fafafa); border: 2px dashed var(--zinc-300, #d4d4d8); border-radius: 14px; padding: 40px 20px; cursor: pointer; color: var(--zinc-500); font: inherit; transition: border-color .14s, background .14s; }
.ce-drop:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, transparent); }
.ce-drop i { font-size: 34px; color: var(--zinc-400, #a1a1aa); }
.ce-drop span { font-size: 15px; font-weight: 600; color: #3f3f46; }
.ce-drop small { font-size: 12px; color: var(--zinc-400, #a1a1aa); }

/* ══════════ Kurs editörü — bölüm silme onay diyaloğu (cascade/orphan) ══════════ */
.ce-dialog { max-width: 400px; }
.ce-dialog-txt { margin: 4px 0 18px; font-size: 14px; color: #52525b; line-height: 1.5; }
.ce-dialog-txt strong { color: #18181b; }
.ce-dialog-acts { display: flex; flex-direction: column; gap: 8px; }
.ce-dlg-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; transition: filter .12s, background .12s; }
.ce-dlg-btn.primary { background: var(--brand); color: #fff; }
.ce-dlg-btn.primary:hover { filter: brightness(.94); }
.ce-dlg-btn.danger { background: #fff; color: #dc2626; border-color: #fca5a5; }
.ce-dlg-btn.danger:hover { background: #fef2f2; }
.ce-dlg-btn.ghost { background: none; color: #71717a; font-weight: 500; }
.ce-dlg-btn.ghost:hover { color: #18181b; }

/* ══════════ Kurs kapak seçici (medya modalını açar) ══════════ */
.ce-cover { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1.5px dashed var(--zinc-300, #d4d4d8); background: var(--zinc-50, #fafafa); display: flex; align-items: center; justify-content: center; transition: border-color .14s; }
.ce-cover:hover { border-color: var(--brand); }
.ce-cover.filled { border-style: solid; }
.ce-cover img { width: 100%; height: 100%; object-fit: cover; }
.ce-cover-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--zinc-500, #71717a); }
.ce-cover-empty i { font-size: 34px; color: var(--zinc-400, #a1a1aa); }
.ce-cover-empty span { font-size: 14px; font-weight: 600; color: #3f3f46; }
.ce-cover-empty small { font-size: 12px; color: var(--zinc-400, #a1a1aa); }
.ce-cover-edit { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 5px; background: rgba(8,9,12,.72); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; opacity: 0; transition: opacity .14s; }
.ce-cover:hover .ce-cover-edit { opacity: 1; }
.ce-cover-rm { margin-top: 8px; background: none; border: none; color: #71717a; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.ce-cover-rm:hover { color: #dc2626; }

/* ══════════ Kurs Ayarları çekmecesi (co_academy deseni: dişli → sağ çekmece) ══════════ */
.ce-ghost-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--zinc-200); border-radius: 9px; padding: 7px 13px; font: inherit; font-size: 13.5px; font-weight: 500; color: #3f3f46; cursor: pointer; }
.ce-ghost-btn:hover { background: var(--zinc-50, #fafafa); border-color: var(--zinc-300, #d4d4d8); }
.ce-ghost-btn i { font-size: 16px; }
.ce-drawer-overlay { position: fixed; inset: 0; background: rgba(8,9,12,.4); z-index: 80; display: flex; justify-content: flex-end; }
.ce-drawer { width: 100%; max-width: 420px; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.14); animation: ce-drawer-in .18s ease; }
@keyframes ce-drawer-in { from { transform: translateX(24px); opacity: .6 } to { transform: none; opacity: 1 } }
.ce-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--zinc-100); flex-shrink: 0; }
.ce-drawer-head h3 { margin: 0; font-size: 16px; }
.ce-drawer-body { padding: 18px 20px 40px; overflow-y: auto; flex: 1; }
.ce-drawer-sec { margin: 24px 0 6px; padding-top: 18px; border-top: 1px solid var(--zinc-100); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--zinc-500, #71717a); }

/* ══════════ Kurs editörü — upload durumu (co_academy Builder deseni birebir) ══════════ */
.ce-spin { animation: ce-spin 1s linear infinite; display: inline-block; }
@keyframes ce-spin { to { transform: rotate(360deg); } }
.ce-drop-lg { min-height: 240px; }
.ce-up-bar { width: 160px; height: 4px; margin-top: 8px; background: var(--zinc-100, #f4f4f5); border-radius: 99px; overflow: hidden; }
.ce-up-bar > span { display: block; height: 100%; background: var(--brand); transition: width .2s; }

/* Medya onay/işlem rozeti */
.ce-media-ok { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; background: #ECFDF5; color: #047857; border-radius: 8px; font-size: 13px; }
.ce-media-ok a { color: #047857; text-decoration: underline; }
.ce-media-proc { display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 12px; background: #FEF3C7; color: #92400E; border-radius: 8px; font-size: 13px; }

/* Büyük medya önizleme (video) + üzerinde "Değiştir" */
.ce-media-frame { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.ce-embed { position: relative; width: 100%; aspect-ratio: 16/9; }
.ce-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ce-video-prev { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.ce-audio-prev { width: 100%; margin-bottom: 12px; }
.ce-media-change { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 8px; background: rgba(15,23,42,.72); color: #fff; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; backdrop-filter: blur(4px); transition: background .12s; }
.ce-media-change:hover { background: rgba(15,23,42,.9); }
.ce-media-change i { font-size: 14px; }
.ce-cancel-replace { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px; border: 0; background: none; cursor: pointer; font-size: 12px; color: var(--zinc-500, #71717a); font-family: inherit; transition: color .12s; }
.ce-cancel-replace:hover { color: #18181b; }

/* Küçük "değiştir" pill (audio/pdf — içerik varsa drop-zone yerine) */
.ce-replace-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border: 1px solid var(--zinc-200); border-radius: 7px; background: none; cursor: pointer; font-size: 12px; color: var(--zinc-500, #71717a); font-family: inherit; transition: color .12s, border-color .12s; }
.ce-replace-btn:hover { color: #18181b; border-color: #18181b; }

/* ══════════ Kurs editörü — sürükle-bırak (SortableJS) tutamaçları ══════════ */
/* Sıralanabilir olduğu her zaman görünür olsun diye hover'a gizlenmiyor (önceden .ce-lesson .ce-handle opacity:0'dı). */
.ce-sec-handle, .ce-handle { color: var(--zinc-400, #a1a1aa); cursor: grab; font-size: 16px; flex-shrink: 0; transition: color .12s; }
.ce-sec-handle:hover, .ce-handle:hover { color: var(--zinc-600, #52525b); }
.ce-sec-handle:active, .ce-handle:active { cursor: grabbing; }
.ce-lesson .ce-handle { margin-right: -2px; }
.sortable-ghost { opacity: .4; }
.sortable-chosen { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.sortable-drag { opacity: .9; box-shadow: 0 8px 24px rgba(0,0,0,.18); border-radius: 8px; }

/* ══════════ Learner Player (CoursePlayer, /courses/:slug) ══════════ */
.pl-root { position: fixed; inset: 0; display: flex; flex-direction: column; background: #fff; z-index: 45; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.pl-loading { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--zinc-500, #71717a); }
.pl-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--zinc-100); flex-shrink: 0; }
.pl-back { background: none; border: none; font-size: 20px; color: #3f3f46; cursor: pointer; display: flex; }
.pl-title { font-weight: 600; font-size: 15px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-progress { display: flex; align-items: center; gap: 8px; }
.pl-bar { width: 120px; height: 6px; border-radius: 4px; background: var(--zinc-100, #f4f4f5); overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.pl-pct { font-size: 12px; font-weight: 600; color: var(--zinc-500, #71717a); }
.pl-body { flex: 1; display: flex; overflow: hidden; }
.pl-side { width: 300px; flex-shrink: 0; border-right: 1px solid var(--zinc-100); overflow-y: auto; padding: 10px; background: var(--zinc-50, #fafafa); }
.pl-unit-title { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--zinc-400, #a1a1aa); padding: 12px 8px 6px; }
.pl-lesson { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; background: none; border: none; padding: 9px 8px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13.5px; color: #3f3f46; }
.pl-lesson:hover { background: #fff; }
.pl-lesson.on { background: #fff; box-shadow: inset 3px 0 0 var(--brand); color: #18181b; font-weight: 600; }
.pl-lesson.done > i { color: #16a34a; }
.pl-lesson.locked { color: var(--zinc-400, #a1a1aa); cursor: not-allowed; }
.pl-lesson > i { font-size: 17px; flex-shrink: 0; }
.pl-lesson-t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-dur, .pl-free { font-size: 11px; color: var(--zinc-400, #a1a1aa); flex-shrink: 0; }
.pl-free { color: var(--brand); font-weight: 600; }
.pl-stage { flex: 1; overflow-y: auto; padding: 0 0 60px; }
.pl-empty, .pl-nomedia { padding: 60px; text-align: center; color: var(--zinc-500, #71717a); }
.pl-media { max-width: 900px; margin: 0 auto; padding: 22px 24px 0; }
.pl-video, .pl-video-el { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; display: block; }
.pl-video iframe { width: 100%; height: 100%; border: 0; }
.pl-text { line-height: 1.7; font-size: 15.5px; color: #27272a; }
.pl-quiz { aspect-ratio: 16/7; background: var(--zinc-50, #fafafa); border: 1.5px dashed var(--zinc-200); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--zinc-500, #71717a); }
.pl-quiz i { font-size: 34px; color: var(--zinc-400, #a1a1aa); }
.pl-meta { max-width: 900px; margin: 0 auto; padding: 18px 24px; }
.pl-h1 { font-size: 20px; margin: 0 0 16px; }
.pl-actions { display: flex; gap: 10px; }
.pl-complete { display: inline-flex; align-items: center; gap: 7px; background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 11px 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pl-complete:hover { filter: brightness(.95); }
.pl-complete.done { background: #16a34a; }
.pl-next { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--zinc-200); border-radius: 10px; padding: 11px 16px; font: inherit; font-size: 14px; font-weight: 500; color: #3f3f46; cursor: pointer; }
.pl-next:hover { border-color: var(--brand); color: var(--brand); }
.pl-locked { max-width: 560px; margin: 60px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pl-locked > i { font-size: 46px; color: var(--zinc-300, #d4d4d8); }
.pl-locked h3 { margin: 4px 0 0; font-size: 19px; }
.pl-locked p { color: var(--zinc-500, #71717a); margin: 0; }
.pl-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.pl-cta:hover { filter: brightness(.95); }
@media (max-width: 720px) { .pl-side { position: absolute; z-index: 5; height: calc(100% - 55px); box-shadow: 4px 0 20px rgba(0,0,0,.1); } }

/* Learner player — anti-skip uyarı bildirimi */
.pl-notice { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; background: #7f1d1d; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13.5px; display: flex; align-items: center; gap: 7px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
