/* =========================================================================
   ders.darkpalm.com — açık tema. Koyu tema bilinçli olarak yok.
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --border: #e6e9f2;
  --border-soft: #eef0f7;

  --text: #0f1729;
  --text-2: #414b63;
  --muted: #6d7690;

  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-3: #0ea5e9;
  --brand-soft: #eef0fe;

  --c1: #4f46e5;
  --c2: #0d9488;
  --c3: #d97706;
  --c4: #e11d48;
  --c5: #0284c7;
  --c6: #7c3aed;
  --c7: #059669;

  --ok: #047857;
  --ok-soft: #e6f6ef;
  --warn: #b45309;
  --warn-soft: #fdf3e3;
  --danger: #be123c;
  --danger-soft: #fdeef1;

  --r: 14px;
  --r-lg: 22px;
  --shadow-s: 0 1px 2px rgba(15, 23, 41, .05), 0 2px 8px rgba(15, 23, 41, .04);
  --shadow-m: 0 2px 6px rgba(15, 23, 41, .06), 0 12px 28px rgba(15, 23, 41, .08);
  --shadow-l: 0 8px 20px rgba(15, 23, 41, .08), 0 24px 56px rgba(79, 70, 229, .14);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--sans);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand); text-underline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap--wide { max-width: 1140px; padding: 34px 22px 80px; }

/* ----------------------------------------------------------- hareketler */

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(28px, -22px) scale(1.06); }
  66%      { transform: translate(-20px, 18px) scale(.96); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(79, 70, 229, .30); }
  70%  { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  animation: riseIn .62s cubic-bezier(.22, .9, .3, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; animation: none; }
  .blob { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- başlık */

.sitebar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.sitebar.stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-s); }
.sitebar .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.brand .dot {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 50%, var(--brand-3));
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
}
nav.sections { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.sections a {
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 7px 12px; border-radius: 9px; transition: background .2s, color .2s;
}
nav.sections a:hover { background: var(--brand-soft); color: var(--brand); }
.toolbelt { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.langs { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--surface); }
.langs button {
  border: none; background: transparent; color: var(--muted);
  padding: 6px 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.langs button[aria-pressed=true] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }

.iconlink {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--surface);
  color: var(--text-2); font-size: 12.5px; font-weight: 700; text-decoration: none;
  transition: transform .18s, border-color .18s, color .18s, box-shadow .18s;
}
.iconlink:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-s); }

/* Dar ekranlarda üst bar: menü alt satıra iner ve yatay kaydırılır. */
@media (max-width: 980px) {
  .sitebar .inner { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .brand { flex: 1 1 auto; font-size: 15px; }
  .toolbelt { flex: 0 0 auto; }
  nav.sections {
    order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto;
    margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; -ms-overflow-style: none;
  }
  nav.sections::-webkit-scrollbar { display: none; }
  nav.sections a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .brand .label { display: none; }
  .iconlink { padding: 6px 10px; }
  .wrap { padding: 0 16px; }
  section.block { padding: 46px 0; }
  .hero { padding: 48px 0 36px; }
  .card { padding: 20px; }
  .area { padding: 22px 20px; }
}

/* ----------------------------------------------------------------- hero */

.hero { position: relative; padding: 72px 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .5; }
.blob.b1 { width: 460px; height: 460px; left: -6%; top: -12%; background: #c7d2fe; animation: floatBlob 17s ease-in-out infinite; }
.blob.b2 { width: 400px; height: 400px; right: -4%; top: 4%; background: #bae6fd; animation: floatBlob 21s ease-in-out infinite reverse; }
.blob.b3 { width: 340px; height: 340px; left: 42%; top: 40%; background: #ddd6fe; animation: floatBlob 25s ease-in-out infinite; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-s);
}
.eyebrow .ping {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c7);
  animation: pulseRing 2.4s ease-out infinite; flex-shrink: 0;
}

.hero h1 {
  font-family: var(--display); font-size: clamp(38px, 7vw, 66px); line-height: 1.02;
  letter-spacing: -.035em; margin: 0 0 18px; font-weight: 700;
  background: linear-gradient(115deg, #0f1729 8%, var(--brand) 46%, var(--brand-2) 68%, var(--brand-3) 92%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 9s linear infinite alternate;
}
.hero .role-line { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-2); font-weight: 600; margin: 0 0 10px; }
.hero .place-line { color: var(--muted); font-size: 15px; margin: 0 0 22px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hero .tagline { font-size: clamp(16px, 2.1vw, 19px); color: var(--text-2); max-width: 58ch; margin: 0 0 30px; line-height: 1.6; }

.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; max-width: 64ch; }
.hero-chips span {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--border); color: var(--text-2);
  box-shadow: var(--shadow-s); transition: transform .2s, color .2s, border-color .2s;
}
.hero-chips span:hover { transform: translateY(-2px); color: var(--brand); border-color: var(--brand); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-lg {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .2s cubic-bezier(.22,.9,.3,1), box-shadow .2s, background .2s;
}
.btn-lg.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .34);
}
.btn-lg.primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(79, 70, 229, .44); }
.btn-lg.ghost-lg { background: rgba(255,255,255,.8); border-color: var(--border); color: var(--text); }
.btn-lg.ghost-lg:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-m); }

/* ------------------------------------------------------------- bölümler */

section.block { padding: 58px 0; scroll-margin-top: 80px; }
section.block.tinted { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.sec-head { margin-bottom: 34px; }
.sec-head h2 {
  font-family: var(--display); font-size: clamp(25px, 3.6vw, 35px); letter-spacing: -.03em;
  margin: 0 0 10px; font-weight: 700; line-height: 1.15;
}
.kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 16px; max-width: 62ch; }

p.lead { margin: 0 0 16px; color: var(--text-2); font-size: 17px; }
p.note { color: var(--muted); font-size: 15px; margin: 0 0 20px; }

/* çalışma alanları */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 18px; }
.area {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px 24px; overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.9,.3,1), box-shadow .28s, border-color .28s;
}
.area::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--ac), transparent);
  transform: scaleX(.34); transform-origin: left; transition: transform .38s ease;
}
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.area:hover::before { transform: scaleX(1); }
.area .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, var(--ac), color-mix(in srgb, var(--ac) 58%, #1b1f33));
  margin-bottom: 15px; box-shadow: 0 5px 14px color-mix(in srgb, var(--ac) 38%, transparent);
}
.area h3 { margin: 0 0 9px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; font-family: var(--display); line-height: 1.28; }
.area p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* dersler */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.course {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .28s cubic-bezier(.22,.9,.3,1), box-shadow .28s;
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.course > header { padding: 24px 24px 20px; background: linear-gradient(160deg, var(--brand-soft), transparent 78%); }
.course .code {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  padding: 5px 11px; border-radius: 7px; margin-bottom: 11px;
}
.course h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-family: var(--display); }
.course .term { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; font-weight: 600; }
.course .summary { color: var(--text-2); font-size: 15px; margin: 12px 0 0; }

.week { padding: 18px 24px; border-top: 1px solid var(--border-soft); }
.week h4 { margin: 0 0 5px; font-size: 15.5px; font-weight: 700; font-family: var(--display); letter-spacing: -.01em; }
.week p { margin: 0 0 12px; color: var(--text-2); font-size: 14.5px; }
.course .empty-week { padding: 22px 24px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--border-soft); }

.filelist { display: flex; flex-direction: column; gap: 8px; }
.filelist a {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2);
  text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.filelist a:hover { transform: translateX(4px); border-color: var(--brand); background: #fff; box-shadow: var(--shadow-s); }
.filelist .ext {
  font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  padding: 5px 8px; border-radius: 6px; flex-shrink: 0; min-width: 44px; text-align: center;
}
.filelist .size { margin-left: auto; color: var(--muted); font-size: 12.5px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.filelist .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* duyurular */
.ann-grid { display: grid; gap: 14px; }
.ann {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 18px 20px; transition: transform .22s, box-shadow .22s;
}
.ann:hover { transform: translateX(4px); box-shadow: var(--shadow-m); }
.ann.is-pinned { border-left-color: var(--c3); background: linear-gradient(120deg, #fffaf1, var(--surface) 62%); }
.ann .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 5px; display: flex; gap: 9px; align-items: center; font-weight: 600; }
.ann h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; font-family: var(--display); letter-spacing: -.015em; }
.ann p { margin: 0; color: var(--text-2); font-size: 15px; white-space: pre-wrap; }
.pin {
  background: var(--c3); color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .07em;
}

/* --------------------------------------------------------------- formlar */

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow-s);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; font-family: var(--display); letter-spacing: -.02em; }

.steps { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.step-chip {
  display: flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: all .25s;
}
.step-chip b {
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  background: var(--border); color: var(--muted); font-size: 11.5px; flex-shrink: 0;
}
.step-chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.step-chip.active b { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.step-chip.done { color: var(--ok); border-color: #bfe6d4; background: var(--ok-soft); }
.step-chip.done b { background: var(--ok); color: #fff; }

.field { display: block; margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field > legend { display: block; padding: 0; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 6px; display: block; }

input[type=text], input[type=email], input[type=password], input[type=date],
input[type=time], input[type=number], input[type=file], textarea, select {
  width: 100%; padding: 11px 13px; font-family: var(--sans); font-size: 15px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft);
}
textarea { resize: vertical; min-height: 84px; line-height: 1.55; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.choice-row { display: flex; gap: 11px; flex-wrap: wrap; }
.choice {
  flex: 1 1 150px; display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-2); cursor: pointer; font-size: 14.5px;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.choice:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-s); }
.choice input { margin: 3px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.choice strong { display: block; font-size: 14.5px; font-weight: 700; }
.choice small { color: var(--muted); font-size: 12.5px; }

button {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; padding: 11px 20px;
  border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,70,229,.3); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
button.ghost:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-s); }
button.danger { background: var(--surface); color: var(--danger); border-color: var(--border); }
button.danger:hover:not(:disabled) { background: var(--danger-soft); border-color: var(--danger); box-shadow: none; }
button.ok { background: linear-gradient(135deg, #059669, #047857); color: #fff; }
button.small { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }

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

.note-box { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }
.note-box.err { background: var(--danger-soft); color: var(--danger); border: 1px solid #f6cdd6; }
.note-box.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #bfe6d4; }
.note-box.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #f2ddb8; }
.note-box.info { background: var(--brand-soft); color: var(--brand); border: 1px solid #d5d8fb; }
[hidden] { display: none !important; }

/* ------------------------------------------------------- randevu takvimi */

.days { display: flex; gap: 9px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 16px; }
.day-tab {
  flex: 0 0 auto; padding: 10px 15px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 13px;
  text-align: center; line-height: 1.4;
}
.day-tab small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.day-tab:hover:not([aria-selected=true]) { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.day-tab[aria-selected=true] {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.32);
}
.day-tab[aria-selected=true] small { color: #fff; opacity: .88; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  padding: 11px 4px; border-radius: 11px; font-size: 14px; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font-variant-numeric: tabular-nums; transition: all .18s;
}
.slot:hover:not(:disabled) {
  border-color: var(--brand); background: var(--brand-soft); color: var(--brand);
  transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-m);
}
.slot:disabled { cursor: not-allowed; color: var(--muted); background: transparent; transform: none; box-shadow: none; }
.slot[data-state=taken] { text-decoration: line-through; opacity: .38; }
.slot[data-state=past] { opacity: .24; }
.slot[data-state=soon] { opacity: .3; text-decoration: line-through dotted; }
.slot[data-state=blocked] { opacity: .34; }
.slot[data-state=mine] {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent;
  color: #fff; opacity: 1; box-shadow: 0 5px 14px rgba(79,70,229,.3);
}

.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 18px; font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--border); background: var(--surface-2); }
.legend i.taken { opacity: .32; }
.legend i.mine { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; }

.summary { display: grid; grid-template-columns: auto 1fr; gap: 11px 22px; font-size: 15px; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 700; }

.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.status-pill.pending { background: var(--warn-soft); color: var(--warn); }
.status-pill.approved { background: var(--ok-soft); color: var(--ok); }
.status-pill.rejected { background: var(--danger-soft); color: var(--danger); }

/* --------------------------------------------------------------- yönetim */

.masthead { border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 24px; }
.masthead h1 { font-family: var(--display); font-size: 28px; margin: 0 0 6px; letter-spacing: -.03em; font-weight: 700; }
.masthead .place { color: var(--muted); font-size: 14.5px; margin: 0; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 11px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--surface-2); }
td.num { font-variant-numeric: tabular-nums; }
td.wrap-cell { white-space: normal; min-width: 190px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 13px; margin-bottom: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 16px 18px;
  transition: transform .22s, box-shadow .22s;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.stat b { display: block; font-family: var(--display); font-size: 27px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat.alert { border-color: var(--c3); background: linear-gradient(140deg, #fff8ec, var(--surface)); }
.stat.alert b, .stat.alert span { color: var(--warn); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.empty { color: var(--muted); font-size: 14.5px; padding: 26px 0; text-align: center; }
.row-line { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.row-line code { flex: 1 1 240px; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; font-size: 12.5px; overflow-x: auto; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tabs button {
  background: none; border: none; border-bottom: 2px solid transparent; border-radius: 0;
  color: var(--muted); padding: 11px 15px; font-size: 14.5px; font-weight: 700; box-shadow: none;
}
.tabs button:hover { transform: none; box-shadow: none; color: var(--text); background: var(--surface-2); }
.tabs button[aria-selected=true] { color: var(--brand); border-bottom-color: var(--brand); background: none; }

.subcard { border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px; margin-bottom: 14px; background: var(--surface-2); }
.subcard > :last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- alt */

.foot {
  background: #0f1729; color: #aeb6ca; padding: 44px 0 40px; margin-top: 0;
}
.foot .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .who { color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.foot p { margin: 0; font-size: 14px; }
.foot a { color: #c7cdde; }
