:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --text: #1c2033;
  --muted: #5d6480;
  --border: #e2e5ef;
  --primary: #4f46e5;
  --primary-2: #6366f1;
  --primary-soft: #eef0ff;
  --ok: #059669;
  --ok-soft: #e7f8f1;
  --err: #dc2626;
  --err-soft: #fdecec;
  --warn: #d97706;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 50, 0.05), 0 4px 16px rgba(20, 24, 50, 0.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1220;
    --surface: #171b2e;
    --surface-2: #1f2440;
    --text: #e8eaf5;
    --muted: #9aa0bd;
    --border: #2a3050;
    --primary: #818cf8;
    --primary-2: #a5b4fc;
    --primary-soft: #232a52;
    --ok-soft: #10302a;
    --err-soft: #3a1820;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
main { padding: 28px 0 60px; min-height: 70vh; }

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.header-right { display: flex; gap: 8px; align-items: center; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; }
  .nav { order: 3; width: 100%; flex-basis: 100%; }
}

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; font-size: .95rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-danger { color: var(--err); }
.btn-sm { padding: 5px 10px; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.linkbtn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; font: inherit; font-size: .85rem; }
.linkbtn:hover { color: var(--err); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field small { color: var(--muted); }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
input[type=checkbox] { width: auto; }
textarea { min-height: 110px; resize: vertical; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1; min-width: 180px; }
.alert { padding: 10px 14px; border-radius: 10px; margin: 0; font-size: .93rem; }
.alert-error { background: var(--err-soft); color: var(--err); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }

/* Cards & grids */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 2fr 1fr; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--text); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.tile:hover { transform: translateY(-2px); border-color: var(--primary); text-decoration: none; }
.tile .icon { font-size: 1.9rem; }
.tile h3 { margin: 8px 0 4px; }
.tile p { margin: 0; color: var(--muted); font-size: .92rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--primary-soft); color: var(--primary); }
.badge-gray { background: var(--surface-2); color: var(--muted); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 0; color: var(--muted); }
.section { margin-top: 36px; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); border: 2px dashed var(--border); border-radius: var(--radius); }

/* Hero */
.hero { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%); color: #fff; border-radius: 22px; padding: 48px 36px; margin-bottom: 36px; }
.hero h1 { font-size: 2.4rem; max-width: 720px; }
.hero p { font-size: 1.1rem; max-width: 640px; opacity: .92; }
.hero .btn { border: none; }
.hero .btn-light { background: #fff; color: #4f46e5; }
.hero .btn-ghost { background: rgba(255,255,255,.15); color: #fff; }
@media (max-width: 600px) { .hero { padding: 32px 20px; } .hero h1 { font-size: 1.8rem; } }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { padding: 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.feature b { display: block; margin: 6px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--text); }

/* Posts */
.post-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.post-meta { color: var(--muted); font-size: .85rem; }
.post-body { white-space: pre-wrap; margin: 10px 0; }
.attachments { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.attachment { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; background: var(--surface-2); border-radius: 8px; font-size: .88rem; }
.comments { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 10px; display: grid; gap: 8px; }
.comment { font-size: .92rem; background: var(--surface-2); padding: 8px 12px; border-radius: 10px; }
.comment-form { display: flex; gap: 8px; }
.comment-form input { flex: 1; }
.code-box { font-family: ui-monospace, monospace; font-size: 1.4rem; letter-spacing: .2em; font-weight: 700; background: var(--primary-soft); color: var(--primary); padding: 8px 14px; border-radius: 10px; display: inline-block; }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: .93rem; vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
kbd { font-family: ui-monospace, monospace; background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; font-size: .85rem; white-space: nowrap; }
kbd.key { display: inline-block; min-width: 30px; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 600; font-size: .8rem; color: #1f2937; padding: 4px 9px 5px; border-radius: 7px; border: 1px solid #c9ced8; border-bottom: 3px solid #a9b0bd; background: linear-gradient(#ffffff, #eef0f4); box-shadow: 0 1px 0 rgba(0,0,0,.06), inset 0 1px 0 #fff; margin: 2px 0; }
.key-plus, .key-sep { color: var(--muted); font-weight: 700; margin: 0 2px; }
.key-note { color: var(--muted); font-size: .78rem; }
.cmd-chip { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; background: #111827; color: #a7f3d0; border-radius: 6px; padding: 3px 8px; white-space: pre-wrap; word-break: break-word; }
.mouse-chip { display: inline-block; font-size: .8rem; font-weight: 600; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 3px 10px; margin: 2px 0; }
.sc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
.sc-table { padding: 6px 10px; }
#kisayol-tablo tbody tr { cursor: pointer; transition: background .12s; }
#kisayol-tablo tbody tr:hover, #kisayol-tablo tbody tr.sc-active { background: var(--primary-soft); }
#kisayol-tablo tbody tr.sc-active td:first-child { box-shadow: inset 3px 0 0 var(--primary); }
#kisayol-tablo tbody tr:focus { outline: 2px solid var(--primary); outline-offset: -2px; }
.kb-panel { position: sticky; top: 76px; padding: 16px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.kb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.kb-title { font-weight: 800; }
.kb-os { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.kb-os button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.kb-os button.on { background: var(--primary); color: #fff; }
.kb-now { min-height: 64px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); padding: 10px 12px; margin-bottom: 12px; }
.kb-now-keys { font-size: 1.05rem; }
.kb-now-keys kbd.key { font-size: .95rem; padding: 6px 12px 7px; }
.kb-now-act { margin-top: 6px; font-weight: 600; }
.kb-board { position: relative; width: 100%; background: linear-gradient(#2b2f3a, #1d2029); border-radius: 14px; padding: 0; box-shadow: inset 0 2px 8px rgba(0,0,0,.5), 0 6px 18px rgba(20,24,50,.18); outline: 8px solid #2b2f3a; margin: 8px 0 16px; }
.kb-key { position: absolute; margin: 2px; border-radius: 5px; background: linear-gradient(#f9fafb, #e5e7eb); border-bottom: 3px solid #9ca3af; color: #111827; display: flex; align-items: center; justify-content: center; font-size: clamp(7px, 1vw, 11px); font-weight: 700; line-height: 1; overflow: hidden; transition: transform .1s, background .15s; user-select: none; }
.kb-key span { padding: 0 2px; text-align: center; white-space: nowrap; }
.kb-key em { position: absolute; right: 3px; bottom: 1px; font-style: normal; font-size: .8em; color: #dc2626; font-weight: 800; }
.kb-key.kb-wide { font-size: clamp(6px, .8vw, 10px); }
.kb-key.kb-small { font-size: clamp(5px, .62vw, 8px); letter-spacing: -.02em; }
.kb-key.on { background: linear-gradient(#fdba74, #f97316); border-bottom-color: #c2410c; color: #fff; transform: translateY(2px); box-shadow: 0 0 12px rgba(249,115,22,.7); }
.kb-key.on-mod { background: linear-gradient(#a5b4fc, #6366f1); border-bottom-color: #4338ca; color: #fff; transform: translateY(2px); box-shadow: 0 0 12px rgba(99,102,241,.7); }
.kb-key.on em, .kb-key.on-mod em { color: #fff; }
.kb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; }
.kb-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lg-mod { background: #6366f1; } .lg-key { background: #f97316; }
@media (max-width: 960px) { .sc-layout { grid-template-columns: 1fr; } .kb-panel { position: static; order: -1; } }
.table-wrap { overflow-x: auto; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: .9rem; background: var(--surface); }

/* Kids zone */
.kids { font-family: "Comic Sans MS", "Chalkboard SE", "Baloo 2", system-ui, sans-serif; }
.kids-hero { background: linear-gradient(135deg, #fde68a, #fca5a5 50%, #a5b4fc); color: #3b1f5c; border-radius: 26px; padding: 36px 28px; margin-bottom: 26px; }
.kids-hero h1 { font-size: 2.2rem; }
.kid-tile { display: block; border-radius: 22px; padding: 22px; color: #2b1d45; text-align: center; font-weight: 700; font-size: 1.15rem; transition: transform .12s; }
.kid-tile:hover { transform: scale(1.04) rotate(-1deg); text-decoration: none; }
.kid-tile .big { font-size: 3rem; display: block; }
.kid-tile p { font-weight: 400; font-size: .92rem; margin: 6px 0 0; }
.game-area { background: var(--surface); border-radius: 22px; padding: 22px; border: 3px solid #fcd34d; text-align: center; }
.game-btn { font-size: 2rem; padding: 18px; border-radius: 18px; border: 3px solid transparent; background: var(--surface-2); cursor: pointer; min-width: 90px; min-height: 90px; color: var(--text); font-family: inherit; font-weight: 700; }
.game-btn:hover { border-color: #f59e0b; }
.game-btn.correct { background: #bbf7d0; border-color: #16a34a; color: #14532d; }
.game-btn.wrong { background: #fecaca; border-color: #dc2626; color: #7f1d1d; animation: shake .3s; }
.game-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 20px 0; }
.stars { font-size: 1.6rem; }
.prompt-big { font-size: 1.6rem; font-weight: 700; margin: 10px 0; }
.memory-card { width: 86px; height: 86px; font-size: 2.4rem; border-radius: 16px; border: none; cursor: pointer; background: linear-gradient(135deg, #818cf8, #c084fc); color: transparent; }
.memory-card.open, .memory-card.done { background: #fef3c7; color: inherit; }
.memory-card.done { opacity: .55; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.worksheet { background: #fff; color: #111; border-radius: 12px; padding: 24px; border: 1px solid #ddd; }
.trace { font-size: 3.4rem; letter-spacing: .4em; color: #c7c7c7; font-family: "Comic Sans MS", system-ui; -webkit-text-stroke: 1px #999; }
@media print {
  .header, .footer, .no-print { display: none !important; }
  body { background: #fff; }
  .worksheet { border: none; page-break-after: always; }
}
.prog-tabs { flex-wrap: wrap; border-bottom: 0; gap: 6px; }
.prog-tabs a { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; background: var(--card, #fff); }
.prog-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.prog-tabs a.active:hover { color: #fff; }
/* İlkokul köşesi */
.primary-stars { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; background: var(--surface); border: 3px solid #fcd34d; border-radius: 18px; padding: 14px 20px; margin-bottom: 22px; font-size: 1.25rem; }
.kid-tile.locked { background: var(--surface-2); color: var(--muted); filter: grayscale(.4); }
.kid-tile.locked:hover { transform: none; }
.lock-bar { height: 8px; border-radius: 99px; background: var(--border); margin-top: 10px; overflow: hidden; }
.lock-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #22c55e); }
.small-stars { font-size: 1.1rem; margin-top: 6px; }
.unlock-box { margin: 14px auto 0; max-width: 460px; padding: 12px 16px; border-radius: 16px; background: #dcfce7; color: #14532d; font-size: 1.1rem; animation: glow 1.2s ease-in-out 3; }
@keyframes glow { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, .25); } }
.slots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.slot { width: 52px; height: 60px; border-bottom: 4px solid #f59e0b; font-size: 2.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.game-btn.used { opacity: .25; cursor: default; }
.abc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 16px; }
.abc-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 18px; border: 3px solid transparent; background: var(--surface); cursor: pointer; font-family: inherit; color: var(--text); font-size: 1rem; box-shadow: var(--shadow); }
.abc-card:hover { border-color: #f59e0b; }
.abc-big { font-size: 2rem; font-weight: 800; color: #4f46e5; }
.abc-emoji { font-size: 2.2rem; }
.sky { position: relative; height: 420px; overflow: hidden; border-radius: 16px; margin-top: 12px; background: linear-gradient(#bae6fd, #e0f2fe); touch-action: manipulation; }
.balloon { position: absolute; bottom: -70px; width: 62px; height: 76px; border-radius: 50% 50% 46% 46%; border: none; color: #fff; font-size: 1.8rem; font-weight: 800; cursor: pointer; font-family: inherit; box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .12); }
.balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 26px; background: #64748b; }
.balloon.pop { transform: scale(1.6); opacity: 0; transition: .2s; }
.mole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 420px; margin: 14px auto; }
.hole { aspect-ratio: 1; border-radius: 50%; border: none; background: radial-gradient(circle at 50% 70%, #78350f 45%, #a16207 46%, #ca8a04); cursor: pointer; font-family: inherit; }
.hole.up { background: radial-gradient(circle at 50% 70%, #78350f 45%, #a16207 46%, #fde68a); }
.hole.miss { animation: shake .3s; }
.mole { display: flex; flex-direction: column; align-items: center; font-size: 2.4rem; line-height: 1; animation: rise .2s; }
.mole b { font-size: 1.4rem; background: #fff; color: #111; border-radius: 10px; padding: 0 8px; margin-top: 2px; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.track { position: relative; height: 44px; border-radius: 10px; background: repeating-linear-gradient(90deg, #475569 0 30px, #64748b 30px 60px); margin: 12px 0; font-size: 2rem; }
.track span { position: absolute; top: 0; transition: left .3s; transform: scaleX(-1); }
.answer-box { font-size: 2.4rem; font-weight: 800; min-width: 140px; display: inline-block; padding: 6px 18px; border-radius: 14px; background: var(--surface-2); margin-bottom: 8px; }
.wrong-shake { animation: shake .3s; background: #fecaca; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 320px; margin: 10px auto; }
.game-btn.key { min-width: 0; min-height: 0; padding: 12px; font-size: 1.6rem; }
.ws-words { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.ws-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; max-width: 440px; margin: 0 auto; }
.ws-cell { aspect-ratio: 1; border: none; border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 1.3rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.ws-cell.sel { background: #fde68a; color: #111; }
.ws-cell.found { background: #bbf7d0; color: #14532d; }
.snake-cv { width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 14px; margin: 12px auto 0; display: block; touch-action: none; }
.pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 8px; justify-content: center; margin-top: 12px; }
/* Program Atölyesi */
.atolye-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 4px 0 22px; border-radius: 16px; color: var(--text); background: linear-gradient(120deg, var(--primary-soft), var(--surface)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.atolye-banner:hover { text-decoration: none; border-color: var(--primary); }
.atolye-banner > span:nth-child(2) { flex: 1; }
.atolye-banner-icon { font-size: 2rem; }
.atolye-hero { border-radius: 22px; padding: 28px; margin-bottom: 18px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, #1e293b, #4338ca 60%, #7c3aed); }
.atolye-hero h1 { margin-top: 0; }
.atolye-hero p { max-width: 760px; opacity: .92; }
.atolye-hero a { color: #c7d2fe; }
.atolye-path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: .88rem; }
.atolye-path span { background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px 12px; }
.atolye-card h3 { margin: 8px 0 4px; }
.lvl-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }
.lvl { display: inline-block; color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.atolye-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.atolye-item { display: flex; gap: 14px; align-items: center; color: var(--text); padding: 14px 16px; }
.atolye-item:hover { text-decoration: none; border-color: var(--primary); }
.atolye-num { flex: 0 0 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--primary-soft); color: var(--primary); }
.atolye-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.atolye-check { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); color: transparent; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.atolye-steps li.done .atolye-check { background: #10b981; border-color: #10b981; color: #fff; }
.atolye-steps li.done .atolye-num { background: #d1fae5; color: #047857; }
.atolye-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.step-list { padding-left: 0; list-style: none; counter-reset: st; margin: 0; }
.step-list li { counter-increment: st; border-bottom: 1px solid var(--border); padding: 10px 0; }
.step-list label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.step-list label::before { content: counter(st); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.step-list input { margin-top: 5px; width: 18px; height: 18px; accent-color: #10b981; }
.step-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.deliver { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); }
.tip { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fef3c7; color: #78350f; }
.atolye-keys { display: grid; gap: 8px; }
.btn-ok { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; }
@media (max-width: 860px) { .atolye-grid { grid-template-columns: 1fr; } .atolye-banner { flex-wrap: wrap; } }

/* Ödev süresi, teslim listesi ve puanlama */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.badge-err { background: var(--err-soft); color: var(--err); }
.badge-warn { background: #fff4e0; color: var(--warn); }
@media (prefers-color-scheme: dark) { .badge-warn { background: #3a2a10; } }
.due-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.tile p.due-line { margin: 6px 0 0; }
.odev-top { align-items: start; }
.due-card h3 { margin-bottom: 4px; }
.due-card label { display: flex; flex-direction: column; gap: 4px; }
.due-card label.check, label.check { flex-direction: row; align-items: center; gap: 8px; font-size: .92rem; color: var(--text); }
label.check input { width: auto; }
.quick-ext { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.quick-ext .btn { min-width: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.stat { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-size: 1.7rem; line-height: 1.1; }
.stat b small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--primary); }
.st-ok b { color: var(--ok); } .st-warn b { color: var(--warn); } .st-err b { color: var(--err); }
.pill-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.pill-filter a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .88rem; font-weight: 600; }
.pill-filter a span { background: var(--surface-2); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: .8rem; }
.pill-filter a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill-filter a.on span { background: rgba(255, 255, 255, .25); }
.pill-filter a:hover { text-decoration: none; }
.table-wrap { overflow-x: auto; }
.grade-table td { vertical-align: middle; }
.grade-table tr.row-none td { background: color-mix(in srgb, var(--err-soft) 45%, transparent); }
.grade-table details summary { cursor: pointer; color: var(--primary); font-size: .9rem; }
.grade-table textarea { min-height: 56px; width: 100%; min-width: 160px; resize: vertical; }
.score-in { display: flex; align-items: center; gap: 6px; }
.score-in input { width: 70px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.score-in input.bad { border-color: var(--err); background: var(--err-soft); }
.score-in span { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.grade-save { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 12px 0 2px; background: var(--surface); border-top: 1px solid var(--border); margin-top: 6px; }
.grade-save .btn { flex: 0 0 auto; }
.score { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.score small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.sc-hi { color: var(--ok); } .sc-mid { color: var(--warn); } .sc-lo { color: var(--err); }
.my-sub { display: grid; gap: 10px; margin-bottom: 16px; }
.my-score { font-size: 1.05rem; }
.fb-box { background: var(--primary-soft); border-radius: 10px; padding: 10px 14px; }
.alert-warn { background: #fff4e0; color: var(--warn); }
@media (prefers-color-scheme: dark) { .alert-warn { background: #3a2a10; } }
.gb-card { padding: 0; }
.gradebook th, .gradebook td { white-space: nowrap; text-align: center; border-left: 1px solid var(--border); }
.gradebook th { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.gradebook .gb-name { text-align: left; position: sticky; left: 0; background: var(--surface); border-left: 0; z-index: 1; }
.gb-sub { font-weight: 400; font-size: .75rem; color: var(--muted); }
.gb-cell a { display: block; color: inherit; }
.gb-cell a:hover { text-decoration: none; }
.gb-cell:hover { background: var(--surface-2); }
.gb-none { color: var(--err); font-weight: 600; font-size: .85rem; }
.gb-wait { color: var(--muted); font-size: .8rem; background: var(--surface-2); padding: 2px 8px; border-radius: 999px; }
.gb-late { display: block; font-size: .7rem; color: var(--warn); font-weight: 700; text-transform: uppercase; }
.gradebook tfoot td { background: var(--surface-2); }
.pending-grade { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.gb-open { background: transparent; border: 1px dashed var(--border); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); }
.footer-logo img { display: block; height: 60px; width: auto; }
.footer-logo:hover { text-decoration: none; opacity: .85; }
.footer-dev { color: var(--muted); font-size: .92rem; }
.footer-dev b { color: var(--text); }
