/* Gulzie Project — arayüz v1.3
   Kimlik: Delft mavisi (çini) + gül kırmızısı (Gülzie) vurgusu, serin kâğıt zemin.
   Hollandaca metin her yerde serif italik: "bu Hollandaca" bilgisini taşır.
   Tek cesur öğe: "Bugün" kartındaki çini desenli mavi pano. Gerisi sakin. */
:root {
  --delft: #1d3f8f; --delft-deep: #142b63; --delft-soft: #e7edf9; --tulip: #c8304a;
  --paper: #f4f6fa; --card: #ffffff; --ink: #18213a; --muted: #5b6478; --line: #e1e6ef;
  --good: #1f7a55; --good-soft: #e5f4ec; --warn: #9a5b00; --warn-soft: #fff4e0;
  --r-lg: 18px; --r: 12px; --r-sm: 9px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); }
a { color: var(--delft); text-underline-offset: 3px; }

/* ---------- üst çubuk */
.top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 18px;
       background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 19px;
         color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
nav { display: flex; gap: 6px; align-items: center; font-size: 15px; }
nav a, nav button.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm);
                         color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover, nav button.link:hover { background: var(--paper); color: var(--ink); }
nav a[aria-current="page"] { color: var(--delft); background: var(--delft-soft); }

main { max-width: 720px; margin: 0 auto; padding: 16px 16px 40px; }
body.has-tabs main { padding-bottom: 104px; }

/* ---------- alt sekme çubuğu (öğrenci, mobil) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: none; background: var(--card);
        border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; min-height: 52px;
          color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: var(--r-sm); }
.tabs a svg { width: 24px; height: 24px; }
.tabs a[aria-current="page"] { color: var(--delft); }
.tabs a[aria-current="page"] svg { stroke-width: 2.4; }
@media (max-width: 720px) {
  .tabs { display: flex; }
  .top nav .tab-dup { display: none; }
}

/* ---------- tipografi */
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 2px 0 12px; font-weight: 800; }
h2 { font-size: 18px; letter-spacing: -.01em; margin: 18px 0 8px; font-weight: 750; }
h2:first-child { margin-top: 0; }
.eyebrow { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.big { font-size: 20px; margin: 4px 0 8px; }
[lang="nl"], .nl { font-family: var(--serif); }
.nl { font-style: italic; }
p { margin: 8px 0; }

/* ---------- kartlar: hiyerarşiye göre farklı */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin: 14px 0; }
.card.flat { background: transparent; border: 0; padding: 4px 2px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 2px 6px; }
.section-title h2 { margin: 0; }

/* Bugün panosu: tek cesur öğe — Delft çini deseni */
.hero { position: relative; overflow: hidden; color: #fff; border: 0; padding: 26px 22px 22px;
        background-color: var(--delft);
        background-image:
          radial-gradient(circle at 0 0, rgba(255,255,255,.14) 0 14px, transparent 15px),
          radial-gradient(circle at 100% 0, rgba(255,255,255,.14) 0 14px, transparent 15px),
          radial-gradient(circle at 0 100%, rgba(255,255,255,.14) 0 14px, transparent 15px),
          radial-gradient(circle at 100% 100%, rgba(255,255,255,.14) 0 14px, transparent 15px),
          radial-gradient(circle at 50% 50%, transparent 0 9px, rgba(255,255,255,.10) 10px 11px, transparent 12px),
          linear-gradient(160deg, var(--delft) 0%, var(--delft-deep) 100%);
        background-size: 56px 56px, 56px 56px, 56px 56px, 56px 56px, 56px 56px, 100% 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--delft-deep) 0%, rgba(20,43,99,.92) 55%, rgba(20,43,99,.35) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow, .hero .muted { color: rgba(255,255,255,.78); }
.hero h1 { font-size: 30px; margin-bottom: 6px; }
.hero .what { font-size: 19px; font-weight: 650; margin: 6px 0 2px; }
.hero .button.primary { background: #fff; color: var(--delft-deep); border-color: #fff; margin-top: 16px; }
.hero .button.primary:hover { background: var(--delft-soft); }
.hero .note { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }

/* ---------- form */
label { display: block; margin: 12px 0; font-weight: 600; font-size: 15px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 17px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--delft); box-shadow: 0 0 0 3px var(--delft-soft); }
textarea { line-height: 1.6; resize: vertical; }
input[type=radio], input[type=checkbox] { display: inline; width: 22px; height: 22px; margin: 0 10px 0 0; flex: none; accent-color: var(--delft); }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650;
  padding: 12px 20px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  text-decoration: none; cursor: pointer; margin-top: 10px; min-height: 48px; }
button:hover, .button:hover { border-color: #c9d1e0; }
.primary { background: var(--delft); border-color: var(--delft); color: #fff; }
.primary:hover { background: var(--delft-deep); border-color: var(--delft-deep); }
.block-btn { width: 100%; }
button.link { border: 0; background: none; padding: 0; margin: 0; min-height: 0; color: var(--delft); font-weight: 600; }
button:disabled { opacity: .55; cursor: default; }
form.inline { display: inline; }
fieldset { border: 0; padding: 0; margin: 16px 0; }
legend { font-weight: 650; padding: 0; margin-bottom: 8px; font-size: 18px; }
:focus-visible { outline: 3px solid var(--tulip); outline-offset: 2px; }

/* seçenekler: büyük dokunma alanı, seçili durum belirgin */
.opt { font-weight: 500; font-size: 17px; display: flex; align-items: center; gap: 2px; padding: 14px 16px; margin: 8px 0;
       min-height: 56px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; }
.opt:hover { border-color: #c3cde0; }
.opt:has(input:checked) { border-color: var(--delft); background: var(--delft-soft); box-shadow: inset 0 0 0 1px var(--delft); }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0;
        font-weight: 600; min-height: 44px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--delft); background: var(--delft-soft); color: var(--delft-deep); }

/* ---------- içerik blokları */
.dialogue { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; background: var(--paper); padding: 14px; border-radius: var(--r); }
.dialogue dt { font-weight: 700; color: var(--muted); font-family: var(--sans); } .dialogue dd { margin: 0; }
pre.text, .passage { white-space: pre-wrap; font: 18px/1.7 var(--serif); background: var(--paper); padding: 16px 18px;
                     border-radius: var(--r); border-left: 4px solid var(--delft); margin: 12px 0; }
pre.code { white-space: pre-wrap; font-size: 12px; background: var(--paper); padding: 10px; border-radius: 8px; overflow: auto; }
code { background: var(--paper); padding: 1px 5px; border-radius: 5px; }

/* beceriler */
.skills { list-style: none; padding: 0; margin: 0; }
.skills li { display: grid; grid-template-columns: 7.5em 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.skills li:last-child { border-bottom: 0; }
.skills li small { grid-column: 2 / -1; color: var(--muted); font-size: 13px; }
.skills em { color: var(--muted); font-style: normal; font-size: 14px; grid-column: 2 / -1; } .skills em.off { color: var(--warn); }
.lvl { display: inline-block; min-width: 3.6em; text-align: center; font-weight: 800; font-size: 15px; padding: 3px 10px;
       border-radius: 999px; background: var(--delft-soft); color: var(--delft-deep); }
.lvl.none { background: var(--paper); color: var(--muted); font-weight: 600; }
progress { width: 100%; height: 8px; accent-color: var(--delft); border-radius: 99px; }
progress::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--delft); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--delft); border-radius: 99px; }

.badge { display: inline-block; font-size: 13px; border-radius: 999px; padding: 2px 10px; color: var(--muted); background: var(--paper); font-weight: 600; }
.fb { border-left: 4px solid var(--warn); padding: 6px 14px; margin: 12px 0; background: var(--warn-soft); border-radius: 0 var(--r) var(--r) 0; }
.fb.good { border-color: var(--good); background: var(--good-soft); }
.fb h2 { margin-top: 4px; }
.check { list-style: none; padding: 0; } .check li { padding: 6px 0; } .check .ok { color: var(--good); } .check .no { color: var(--muted); }
.note, .flash { background: var(--warn-soft); border: 1px solid #f0d9a8; padding: 10px 14px; border-radius: var(--r); }
.status { min-height: 1.5em; color: var(--muted); }
.netstate { position: fixed; bottom: 84px; left: 12px; right: 12px; background: var(--ink); color: #fff; padding: 10px 12px; border-radius: var(--r); text-align: center; z-index: 9; }

.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats li { background: var(--paper); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats li strong { font-size: 24px; letter-spacing: -.02em; }
.stats li span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.cando { padding-left: 0; list-style: none; margin: 8px 0; }
.cando li { padding: 10px 12px 10px 40px; margin: 8px 0; border-radius: var(--r); background: var(--good-soft); position: relative; }
.cando li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--good);
                    border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.hist { padding-left: 0; list-style: none; } .hist li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hist small { display: block; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 14px; } td, th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; word-break: break-word; }
th { color: var(--muted); font-weight: 650; font-size: 13px; }
.card { overflow-x: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: end; }
.secret code { font-size: 18px; letter-spacing: .06em; word-break: break-all; }
.muted.small a { word-break: break-all; }

/* ---------- sınav modu: dikkat dağıtmayan tek sütun */
body.exam .top nav { display: none; }
.exam-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 4px 2px 8px; }
.exam-head strong { font-size: 17px; }
.exam-head span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.sections { display: flex; gap: 6px; margin: 0 2px 16px; }
.sections i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.sections i.done { background: var(--delft); }
.sections i.now { background: linear-gradient(90deg, var(--delft) var(--p, 30%), var(--line) var(--p, 30%)); }
.question { font-size: 20px; line-height: 1.5; font-weight: 600; margin: 6px 0 4px; }
.sticky-act { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
              background: linear-gradient(180deg, rgba(255,255,255,0), var(--card) 30%); }
.audio-btn { width: 100%; justify-content: center; font-size: 18px; min-height: 64px; }
.audio-btn svg { width: 26px; height: 26px; }
.mic { width: 96px; height: 96px; border-radius: 50%; margin: 14px auto 6px; display: flex; background: var(--delft); color: #fff; border: 0; }
.mic svg { width: 40px; height: 40px; }
.mic.rec { background: var(--tulip); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(200,48,74,.15); } }
@media (prefers-reduced-motion: reduce) { .mic.rec { animation: none; } }
.center { text-align: center; }
.transcript { min-height: 4.5em; background: var(--paper); border-radius: var(--r); padding: 12px 14px; }

/* sonuç: beceri seviyeleri merdiveni */
.ladder { list-style: none; padding: 0; margin: 10px 0; }
.ladder li { display: grid; grid-template-columns: 6.5em 1fr 4.2em; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ladder li:last-child { border-bottom: 0; }
.rungs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.rungs b { height: 10px; border-radius: 3px; background: var(--line); }
.rungs b.on { background: var(--delft); }
.overall { display: flex; align-items: center; gap: 16px; }
.overall .lvl { font-size: 26px; padding: 10px 16px; border-radius: var(--r); }

@media (max-width: 480px) {
  .grid2 { grid-template-columns: 1fr; } table { font-size: 12px; }
  h1 { font-size: 23px; } .hero h1 { font-size: 26px; }
  .card { padding: 16px; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #e8ecf4; --muted: #a2acbf; --line: #2c3446; --paper: #0f1420; --card: #171e2d; --delft: #6f97ec;
          --delft-deep: #9db8f2; --delft-soft: #1d2a47; --tulip: #ef6b80; --good: #5cc48a; --good-soft: #16281f;
          --warn: #e0a64a; --warn-soft: #2a2414; }
  .hero { background-color: #1d3f8f; }
  .hero::after { background: linear-gradient(90deg, #142b63 0%, rgba(20,43,99,.92) 55%, rgba(20,43,99,.35) 100%); }
  .hero .button.primary { color: #142b63; }
  .primary { color: #0b1530; } .primary:hover { background: #9db8f2; }
  .note, .flash { border-color: #5a4a1e; }
  .sticky-act { background: linear-gradient(180deg, rgba(23,30,45,0), var(--card) 30%); }
}

.result-level { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; line-height: 1.1; }
.ladder li.note-row { display: block; border: 0; padding-top: 0; margin-top: -6px; }
.audio-btn small { font-weight: 500; opacity: .85; }
.opt.dk { border-style: dashed; color: var(--muted); }
.back-link { display: inline-flex; min-height: 44px; margin: 4px 0 0; }
.skills em.src { grid-column: 2; }
.skills .lvl { grid-column: 3; justify-self: end; }
.question.word { font-size: 30px; font-weight: 700; letter-spacing: -.01em; margin: 8px 0 12px; }
.danger { background: var(--tulip); border-color: var(--tulip); color: #fff; }

/* sonuç grafikleri */
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chart-head h2 { margin: 0; }
.bars { list-style: none; padding: 0; margin: 12px 0 6px; }
.bars li { display: grid; grid-template-columns: 6.2em 1fr 6.4em; gap: 10px; align-items: center; padding: 6px 0; font-size: 15px; }
.bars li b { font-weight: 650; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.bars li.ok span:first-child::after { content: " ✓"; color: var(--good); font-weight: 800; }
.bars .track { position: relative; display: block; }
.bars.th85 .track::after, .bars.th75 .track::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--tulip); border-radius: 2px; }
.bars.th85 .track::after { left: 85%; } .bars.th75 .track::after { left: 75%; }
.bars progress { height: 12px; display: block; }
.bars li.ok progress { accent-color: var(--good); }
.bars li.ok progress::-webkit-progress-value { background: var(--good); }
.bars li.ok progress::-moz-progress-bar { background: var(--good); }
h3.small { margin: 14px 0 0; font-size: 15px; }
.bars li.sub-row { padding-top: 0; margin-top: -4px; }
.goal-top { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.goal .pct { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--delft); line-height: 1; }

/* ================= v1.5 tek ekran pano: telefonda tek sütun (A), bilgisayarda iki sütun (B) */
body.wide main { max-width: 1120px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 2px 10px; }
.dash-head .hello { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.01em; }
.dash, .split { display: grid; gap: 14px; }
.dash > div > .card:first-child, .split > * > .card:first-child, .split > .card { margin-top: 0; }
.dash-main, .dash-side { display: flex; flex-direction: column; gap: 14px; }
.dash .card { margin: 0; }
.hero h1 { font-size: 24px; }
.hero .button.primary { margin-top: 10px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 88px; border-radius: var(--r);
        background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tile:hover { border-color: #c3cde0; }
.tile .t-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile strong { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.tile .t-sub { font-size: 13px; color: var(--muted); }
.tile.due { border-color: var(--tulip); box-shadow: inset 3px 0 0 var(--tulip); }

.lad { list-style: none; padding: 0; margin: 8px 0; }
.lad li { display: grid; grid-template-columns: 6.4em 1fr auto; gap: 10px; align-items: center; padding: 7px 0; }
.lad .ln { font-size: 15px; font-weight: 600; }
.lad .lt { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lad .lt b { display: block; height: 100%; border-radius: 99px; background: var(--delft); width: 0; }
.lad .lt b.s0 { width: 6%; } .lad .lt b.s1 { width: 14%; } .lad .lt b.s2 { width: 25%; } .lad .lt b.s3 { width: 36%; }
.lad .lt b.s4 { width: 47%; } .lad .lt b.s5 { width: 58%; } .lad .lt b.s6 { width: 69%; } .lad .lt b.s7 { width: 84%; }
.lad .lt b.s8 { width: 100%; } .lad .lt b.sx { width: 0; }
.lad .lvl { min-width: 4.2em; font-size: 14px; }
.lvl.off { color: var(--warn); font-size: 12px; }
.goal .goal-top strong { font-size: 15px; }
.wide-only { display: none; }

.page-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.page-head h1 { margin: 0; }
.page-head .chip { cursor: default; gap: 6px; }

/* telaffuz */
.read-aloud { font-size: 24px; line-height: 1.45; font-weight: 500; margin: 10px 0 14px; }
.pron-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pron-out { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.pron-score { display: flex; align-items: baseline; gap: 8px; }
.pscore { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pscore.good { color: var(--good); } .pscore.mid { color: var(--warn); } .pscore.low { color: var(--tulip); }
.pmetrics { list-style: none; padding: 0; margin: 10px 0; }
.pmetrics li { display: grid; grid-template-columns: 7.5em 1fr 2.6em; gap: 10px; align-items: center; padding: 4px 0; font-size: 15px; }
.pmetrics i { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.pmetrics i b { display: block; height: 100%; width: 0; background: var(--delft); border-radius: 99px; }
.pmetrics strong { text-align: right; font-variant-numeric: tabular-nums; }
.pwords { font: 21px/1.9 var(--serif); }
.pw { padding: 1px 4px; border-radius: 5px; }
.pw.good { background: var(--good-soft); } .pw.mid { background: var(--warn-soft); }
.pw.low, .pw.err { background: #fbe3e7; color: #8f1d31; text-decoration: underline wavy #c8304a; text-underline-offset: 4px; }
.levels { display: flex; flex-wrap: wrap; gap: 6px; }
.levels .lv { padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; border: 1.5px solid var(--line);
              border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14px; }
.levels .lv.on { border-color: var(--delft); background: var(--delft-soft); color: var(--delft-deep); }
.plist { list-style: none; padding: 0; margin: 0; }
.plist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plist li:last-child { border-bottom: 0; }
.codes { columns: 2; font-size: 18px; } .codes li { margin: 4px 0; }

@media (min-width: 960px) {
  .dash { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
  .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .wide-only { display: block; }
  .hero { padding: 30px 28px 26px; } .hero h1 { font-size: 30px; }
  .dash-head .hello { font-size: 24px; }
}
@media (prefers-color-scheme: dark) {
  .pw.low, .pw.err { background: #3a1820; color: #ffc0cb; }
}

/* ================= v1.5 operatör paneli: bilgisayarda kontrol paneli (A), telefonda iş listesi (B) */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi strong { font-size: 22px; letter-spacing: -.02em; }
.kpi small { font-size: 12.5px; color: var(--muted); }
.kpi.warn { border-color: var(--warn); box-shadow: inset 3px 0 0 var(--warn); }
.kpi form { margin: 0; } .kpi button.link { font-size: 14px; }
.todos { list-style: none; padding: 0; margin: 0; }
.todos li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.todos li:last-child { border-bottom: 0; }
.todos li > span { display: flex; flex-direction: column; } .todos small { color: var(--muted); font-size: 13.5px; }
.todos li.urgent strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tulip); margin-right: 8px; vertical-align: middle; }
.todos .button { margin: 0; min-height: 40px; padding: 8px 14px; flex: none; }
.stlist { list-style: none; padding: 0; margin: 6px 0; }
.stlist li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stlist li:last-child { border-bottom: 0; }
.st-name { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.st-name > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.st-name small { color: var(--muted); font-size: 13px; }
.ava { width: 36px; height: 36px; border-radius: 50%; background: var(--delft-soft); color: var(--delft-deep); display: grid; place-items: center; font-weight: 800; flex: none; }
.st-act { grid-column: 1 / -1; display: flex; gap: 16px; padding-left: 46px; }
.st-act button.link { font-size: 14px; }
.badge.st-active { background: var(--good-soft); color: var(--good); }
.badge.st-suspended, .badge.st-expired { background: var(--warn-soft); color: var(--warn); }
.invite { margin: 0; } .invite button.link { font-size: 14px; }
.dash.op .dash-main .card, .dash.op .dash-side .card { margin: 0; }
@media (min-width: 960px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .dash.op { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .stlist li { grid-template-columns: 1fr auto auto; }
  .st-act { grid-column: auto; padding-left: 0; }
}
.wstrip { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wstrip li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: var(--r-sm);
             background: var(--paper); font-size: 13px; color: var(--muted); text-align: center; }
.wstrip li b { font-size: 17px; color: var(--muted); }
.wstrip li small { font-size: 11px; min-height: 1.3em; }
.wstrip li.plan b { color: var(--delft); }
.wstrip li.done { background: var(--good-soft); color: var(--good); } .wstrip li.done b { color: var(--good); }
.wstrip li.today { outline: 2px solid var(--delft); outline-offset: -2px; color: var(--ink); font-weight: 700; }
.fp { list-style: none; padding: 0; margin: 0; }
.fp li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line);
           text-decoration: none; color: var(--ink); }
.fp li:last-child a { border-bottom: 0; }
.fp small { color: var(--muted); font-size: 13.5px; text-align: right; }
.play-model svg { width: 22px; height: 22px; flex: none; }
.play-model { margin-top: 0; }

/* ================= v1.6 dersler */
.lesson-head h1 { margin: 4px 0 2px; }
.lesson-head .eyebrow { margin-top: 8px; }
.stepper { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.stepper a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: var(--r-sm);
             text-decoration: none; color: var(--muted); font-size: 11.5px; text-align: center; border-top: 4px solid var(--line); }
.stepper b { font-size: 14px; }
.stepper li.done a { border-color: var(--delft); color: var(--ink); }
.stepper li.now a { border-color: var(--tulip); color: var(--ink); font-weight: 700; background: var(--card); }
@media (max-width: 560px) { .stepper span { display: none; } }
.teacher { display: flex; gap: 12px; align-items: flex-start; background: var(--delft-soft); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.teacher p { margin: 0; }
.t-ava { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--tulip); color: #fff; display: grid; place-items: center; font-weight: 800; }
.goal-line { font-size: 21px; font-weight: 650; line-height: 1.4; }
.wordlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.wordlist li { background: var(--paper); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.w-nl { font: 600 18px var(--serif); } .w-tr { color: var(--muted); font-size: 14.5px; } .wordlist small { font-size: 13px; color: var(--muted); }
.points li { margin: 6px 0; }
.gtable { width: auto; min-width: 60%; margin: 10px 0; } .gtable td { font-family: var(--serif); font-size: 16px; }
.examples { list-style: none; padding: 0; } .examples li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.examples small { color: var(--muted); }
.lq { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 10px 0; }
.lq-n { margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.lq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.lq-opt { margin: 0; min-height: 44px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.lq-opt.picked { border-color: var(--delft); background: var(--delft-soft); }
.lq.ok { border-color: var(--good); background: var(--good-soft); } .lq.no { border-color: var(--warn); background: var(--warn-soft); }
.lq-gap { display: flex; gap: 8px; align-items: center; } .lq-gap input { margin: 0; max-width: 280px; } .lq-gap button { margin: 0; }
.lq-fb { margin: 6px 0 0; font-size: 14.5px; min-height: 1.2em; }
.lesson-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.read-item { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.tf-fix li { margin: 4px 0; } .tf-fix s { color: var(--tulip); }
.unit { border-top: 1px solid var(--line); padding: 10px 0; } .unit.known { opacity: .6; }
.unit-h { margin: 0 0 6px; }
.ulessons { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ulessons li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 10px; border-radius: var(--r-sm); background: var(--paper); }
.ulessons li a, .ulessons li > span { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.ulessons li b { color: var(--delft); margin-right: 6px; }
.ulessons small { color: var(--muted); font-size: 13px; }
.ulessons em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ulessons li.done { background: var(--good-soft); } .ulessons li.done em { color: var(--good); }
.ulessons li.skip { opacity: .55; }
.today-list { list-style: none; padding: 0; margin: 0; }
.today-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.today-list li:last-child { border-bottom: 0; }
.today-list .tl-t { display: flex; flex-direction: column; }
.today-list .tl-t small { color: rgba(255,255,255,.78); font-size: 13.5px; }
.today-list .button { margin: 0; flex: none; }
.hero .today-list .button { background: #fff; color: var(--delft-deep); border-color: #fff; }
.hero .today-list .button.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero-more { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero-more a { color: #fff; font-weight: 600; font-size: 15px; }
.lq-gap button, .lq-check { white-space: nowrap; }
