:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-line: #bfdbfe;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --amber-bg: #fef3c7;
  --amber-ink: #92400e;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand span { color: var(--blue); margin-left: 4px; }
.header-nav { display: flex; align-items: center; gap: 10px; }
.header-nav form { margin: 0; }
.header-nav .who { color: var(--muted); font-size: 14px; }
.header-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.header-nav .btn { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 12px;
  padding: 10px 18px; font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; text-align: center; transition: .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* Cards */
.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; }

/* ---------- Ana sayfa ---------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue);
  background: var(--blue-soft); border: 1px solid var(--blue-line); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

.hero2 {
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37, 99, 235, .13), transparent 60%),
    radial-gradient(700px 320px at 0% 0%, rgba(14, 165, 233, .09), transparent 60%),
    var(--bg);
}
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero2 h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; letter-spacing: -.03em; margin-bottom: .4em; }
.hero2 h1 em { font-style: normal; color: var(--blue); }
.hero2 .lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 16px 0 0; font-size: 15px; font-weight: 700; color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); font-weight: 600; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

/* Hero: örnek soru kartı */
.hero2-visual { position: relative; padding: 8px 8px 28px; }
.mock { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .16); border: 1px solid var(--line); padding: 22px; max-width: 440px; margin-left: auto; }
.mock-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.mock-score { color: var(--blue); font-weight: 800; }
.mock-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.mock-progress span { display: block; height: 100%; width: 24%; background: var(--blue); border-radius: 999px; }
.mock-q { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.mock-opt { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 15px; margin-bottom: 8px; }
.mock-opt.ok { background: var(--green-soft); border-color: #86efac; color: #166534; font-weight: 700; }
.mock-hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.mock-chip {
  position: absolute; left: -6px; bottom: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 14px; border-radius: 12px; box-shadow: 0 12px 28px rgba(15, 23, 42, .25); display: flex; align-items: center; gap: 8px;
}
.mock-chip svg { width: 16px; height: 16px; }

/* Rakamlar */
.stats { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 22px 20px; text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Bölümler */
.section { padding: 64px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 4vw, 36px); text-align: center; margin-bottom: 10px; font-weight: 800; letter-spacing: -.02em; }
.section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; font-size: 17px; }

.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .num { position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 800; color: var(--line); line-height: 1; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

/* Yanlış tekrar: iki sütun */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { text-align: left; }
.split .lead { color: var(--muted); font-size: 17px; }
.split .checks { margin-top: 18px; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink); font-weight: 500; }
.rounds { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.rounds-title { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.round { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.round-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.round-head b { font-weight: 800; }
.round-head span { color: var(--muted); }
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--line); }
.bar .ok { background: var(--green); }
.bar .no { background: var(--red); }
.round p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.round.done { background: var(--green-soft); border-color: #86efac; }
.round.done p { color: #166534; font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature.soon { background: transparent; border-style: dashed; }
.feature.soon:hover { transform: none; box-shadow: none; }
.feature.soon .icon { background: var(--line); color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-ink); }

/* Dersler önizleme */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.course b { font-size: 16px; line-height: 1.35; }
.course span { font-size: 14px; color: var(--muted); }
.course-cta { text-align: center; margin-top: 28px; }

.faq { max-width: 740px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq details[open] { border-color: var(--blue-line); box-shadow: 0 6px 18px rgba(37, 99, 235, .07); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta { padding-top: 0; }
.cta .card { background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #0ea5e9); color: #fff; padding: 52px 24px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dbeafe; }
.cta .btn { background: #fff; color: var(--blue); box-shadow: none; }
.cta .btn:hover { background: var(--blue-soft); }
.cta-note { margin: 16px 0 0; font-size: 14px; }
.cta-note a { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 24px 0; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 0 0 6px; }

/* Hesap sayfaları (giriş, kayıt, şifre sıfırlama: django-allauth çıktısı) */
.allauth-card {
  width: calc(100% - 32px); max-width: 440px; margin: 40px auto; background: var(--card);
  border-radius: 18px; box-shadow: var(--shadow); padding: 28px 24px;
}
.allauth-card h1 { font-size: 26px; }
.allauth-card p { color: var(--ink); }
.allauth-card label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.allauth-card input[type=text], .allauth-card input[type=password], .allauth-card input[type=email] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff;
}
.allauth-card input[type=checkbox] { margin-right: 8px; }
.allauth-card input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.allauth-card form p { margin: 0; }
.allauth-card button[type=submit] {
  display: block; width: 100%; margin-top: 22px; border: 0; border-radius: 12px; padding: 13px 18px;
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.allauth-card button[type=submit]:hover { background: var(--blue-dark); }
.allauth-card .helptext, .allauth-card ul:not(.errorlist) { font-size: 13px; color: var(--muted); }
.allauth-card .form-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.allauth-card .helptext a { font-weight: 600; }
.errorlist { list-style: none; margin: 0 0 8px; padding: 10px 14px; background: var(--red-soft); color: #991b1b; border-radius: 10px; font-size: 14px; }

/* Bilgilendirme mesajları (giriş yapıldı, e-posta gönderildi...) */
.messages { padding-top: 16px; }
.message { padding: 12px 16px; border-radius: 12px; background: var(--blue-soft); color: #1e3a8a; border: 1px solid var(--blue-line); margin-bottom: 8px; font-size: 15px; }
.message.success { background: var(--green-soft); color: #166534; border-color: #bbf7d0; }
.message.error, .message.warning { background: var(--red-soft); color: #991b1b; border-color: #fecaca; }

/* Sınav listesi */
.page { padding: 32px 0 56px; }
.page h1 { font-size: 30px; text-align: center; margin-bottom: 24px; }
.page-sub { text-align: center; color: var(--muted); margin: -12px 0 24px; }
.course-search { max-width: 480px; margin: 0 auto 28px; }
.course-search input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.course-search input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.dept { max-width: 860px; margin: 0 auto 28px; }
.dept[hidden], .course-row[hidden] { display: none; }
.dept-title { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.course-list { display: grid; gap: 10px; }
.course-row { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.course-name { font-weight: 700; font-size: 17px; }
.exam-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.exam-chip { display: flex; flex-direction: column; align-items: center; padding: 8px 18px; border-radius: 12px; background: var(--blue-soft); border: 1px solid var(--blue-line); text-decoration: none; color: var(--blue-dark); min-width: 92px; transition: .15s ease; }
.exam-chip:hover { background: var(--blue); color: #fff; }
.exam-chip.has-progress { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.exam-chip.has-progress:hover { background: #f59e0b; color: #fff; border-color: #f59e0b; }
.exam-chip .resume { font-weight: 700; opacity: 1; }
.exam-chip b { font-size: 15px; }
.exam-chip span { font-size: 12.5px; opacity: .85; }
.empty-search { text-align: center; }

/* Yazı sayfaları (rehber, yasal sayfalar) */
.article { max-width: 760px; padding-top: 32px; padding-bottom: 56px; }
.article h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-bottom: .3em; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.draft-banner { background: var(--amber-bg); color: var(--amber-ink); border: 1px solid #fde68a; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.prose { font-size: 17.5px; line-height: 1.75; color: #1e293b; overflow-wrap: anywhere; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .5em; font-weight: 800; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .4em; font-weight: 700; }
.prose h4 { font-size: 18px; margin: 1.3em 0 .3em; font-weight: 700; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.3em 0; padding: 4px 18px; border-left: 4px solid var(--blue-line); background: var(--blue-soft); border-radius: 0 10px 10px 0; color: #1e3a8a; }
.prose code { background: #f1f5f9; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: #0f172a; color: #e2e8f0; padding: 14px 16px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.3em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: #f8fafc; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; }
.related ul { padding-left: 1.2em; }
.article-cta { margin-top: 36px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--ink); transition: .2s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-line); }
.guide-card h2, .guide-card h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.guide-card p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.guide-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.footer-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }

/* Küçük bildirim (ders listesi ve quiz sayfası) */
.quiz-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #0f172a; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 12px 30px rgba(15, 23, 42, .35); z-index: 100; max-width: calc(100% - 32px); }
.quiz-toast[hidden] { display: none; }

/* Sonuçlarım */
.res-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 0 auto 28px; }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.res-card b { display: block; font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.res-card span { color: var(--muted); font-size: 14px; font-weight: 600; }
.res-section { max-width: 860px; margin: 0 auto 28px; }
.res-section h2 { font-size: 20px; margin-bottom: 10px; }
.res-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.res-table { width: 100%; border-collapse: collapse; }
.res-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.res-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.res-table tr:last-child td { border-bottom: 0; }
.nowrap { white-space: nowrap; }
.score-bar { height: 7px; width: 120px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 4px; }
.score-bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.weak-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.weak-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.weak-count { background: var(--red-soft); color: #991b1b; font-weight: 800; border-radius: 10px; padding: 4px 10px; min-width: 46px; text-align: center; }
@media (max-width: 640px) { .res-summary { grid-template-columns: 1fr; } }
.exam { background: var(--card); padding: 20px; margin-bottom: 14px; border-radius: 14px; box-shadow: 0 5px 15px rgba(15, 23, 42, .06); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.exam-title { font-size: 18px; font-weight: 700; }
.exam-meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.narrow { max-width: 800px; margin: 0 auto; }

@media (max-width: 860px) {
  .hero2-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .mock { margin: 0 auto; }
  .mock-chip { left: 8px; }
  .steps, .features, .course-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero2 { padding: 40px 0 36px; }
  .section { padding: 44px 0; }
  .header-nav .who { display: none; }
  .header-nav .btn { padding: 8px 14px; font-size: 14px; }
  .stats-grid { gap: 28px; }
}
@media (max-width: 420px) {
  .brand { font-size: 16px; }
  .header-nav { gap: 6px; }
  .header-nav .btn { padding: 8px 11px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover, .feature:hover { transform: none; }
}

/* Çerez bildirimi */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(15, 23, 42, .22); padding: 18px 20px; }
.cookie-bar[hidden], .cookie-panel[hidden] { display: none; }
.cookie-bar:focus { outline: none; }
.cookie-bar h2 { font-size: 16px; margin: 0 0 6px; }
.cookie-bar p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 16px; font-size: 14px; }
.cookie-panel { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.cookie-row input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.cookie-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.link-btn:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 520px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* Hesabım ve şart onayı */
.account-page { max-width: 780px; padding-top: 32px; padding-bottom: 56px; }
.account-page h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin-bottom: .6em; }
.account-card { margin-bottom: 18px; }
.account-card h2 { font-size: 19px; margin-bottom: .6em; }
.account-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.account-list dt { color: var(--muted); font-weight: 600; }
.account-list dd { margin: 0; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
.plain-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.plain-table th, .plain-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.plain-table th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.notice-box { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--amber-bg); color: var(--amber-ink); border: 1px solid #fde68a; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check-row input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form-error { background: var(--red-soft); color: #991b1b; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.link-list { padding-left: 1.2em; margin: 0; }
.logout-inline { margin-top: 18px; }
.logout-inline .link-btn { font-weight: 500; color: var(--muted); }
.legal-note { margin: 4px 0 14px; }

/* Kayıt formu: onay kutusu solda, açıklaması sağda; formun en altında */
form p:has(> #id_accept_terms) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 12px; margin: 20px 0 8px; }
form p:has(> #id_accept_terms) label { margin: 0; font-weight: 600; line-height: 1.45; }
#id_accept_terms { width: 22px; height: 22px; margin: 2px 0 0; flex: none; cursor: pointer; }
/* Üniversite katmanı (ders listesi): Üniversite > Bölüm > Ders */
.uni { max-width: 860px; margin: 0 auto 40px; }
.uni[hidden] { display: none; }
.uni-title { font-size: 22px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.uni .dept { margin: 0 0 24px; max-width: none; }
/* Panelim (giriş sonrası kişisel sayfa) */
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 0 auto 10px; }
@media (max-width: 640px) { .dash-cards { grid-template-columns: repeat(2, 1fr); } }
.dash-note { max-width: 860px; margin: 0 auto 28px; text-align: center; font-size: 14px; }
.act-bars { display: flex; gap: 6px; align-items: flex-end; height: 110px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.act-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.act-bar { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.act-bar i { display: block; width: 100%; min-height: 3px; background: var(--blue); border-radius: 5px 5px 2px 2px; opacity: .85; }
.act-day { font-size: 11px; color: var(--muted); }
.resume-list { display: grid; gap: 10px; }
.resume-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 14px 16px; color: inherit; text-decoration: none; }
.resume-card:hover { background: #f8fafc; }
.resume-card b { display: block; }
.resume-count { font-weight: 800; color: var(--blue); white-space: nowrap; }
.change { font-weight: 700; }
.change.up { color: #15803d; }
.change.down { color: #b91c1c; }
.dash-empty { max-width: 560px; margin: 0 auto 28px; text-align: center; }
.dash-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }