:root {
  --bg: #f4f6fb; --card: #ffffff; --ink: #0f172a; --ink2: #475569; --mute: #94a3b8; --line: #e2e8f0;
  --brand: #4f46e5; --brand2: #7c3aed; --ok: #16a34a; --bad: #dc2626; --blank: #94a3b8;
  --r: 18px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: 'Nunito', system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 24px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.loading { padding: 80px 20px; text-align: center; color: var(--ink2); }
.muted { color: var(--ink2); } .small { font-size: 13px; } .right { text-align: right; } .num { font-variant-numeric: tabular-nums; }

/* Giriş */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero { background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #db2777); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.auth-hero h1 { font-size: 44px; font-weight: 900; }
.auth-hero p { font-size: 18px; opacity: .92; max-width: 460px; margin: 0; }
.auth-hero ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 700; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 400px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #e9ecf5; border-radius: 14px; padding: 4px; margin-bottom: 22px; }
.tabs button { border: 0; background: none; padding: 10px; border-radius: 11px; font-weight: 800; color: var(--ink2); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--brand); box-shadow: var(--shadow); }

/* Form */
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 13px; color: var(--ink2); }
.field input, .field select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; }
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.err { color: var(--bad); font-weight: 700; font-size: 13px; min-height: 18px; margin: 4px 0 10px; }
.btn { border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 800; cursor: pointer; background: #e9ecf5; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; justify-content: center; white-space: nowrap; }
.btn:hover { filter: brightness(.96); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.3); }
.btn.block { width: 100%; } .btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; }
.btn.ghost { background: none; } .btn.danger { color: var(--bad); }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 4px 6px; border-radius: 8px; font-size: 15px; }
.icon-btn:hover { background: #eef1f8; }
.d-in { border-color: #86efac !important; } .y-in { border-color: #fca5a5 !important; } .b-in { border-color: #cbd5e1 !important; background: #f8fafc !important; }

/* Kabuk */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.logo { font-weight: 900; font-size: 20px; padding: 4px 10px 18px; background: linear-gradient(135deg, var(--brand), #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--ink2); }
.nav a:hover { background: #f1f3fa; }
.nav a.on { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.25); }
.side .who { margin-top: auto; padding: 12px; border-radius: 14px; background: #f4f6fb; }
.side .who b { display: block; }
main { padding: 24px 28px 60px; min-width: 0; }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.top h1 { flex: 1; min-width: 200px; }
.banner { background: #fef3c7; color: #78350f; border-radius: 12px; padding: 10px 14px; font-weight: 700; margin-bottom: 16px; }

/* Kartlar */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; min-width: 0; }
.card > h2 { margin-bottom: 4px; } .card > .sub { color: var(--ink2); font-size: 13px; margin-bottom: 12px; }
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi { border-radius: var(--r); padding: 16px 18px; color: #fff; box-shadow: var(--shadow); }
.kpi .l { font-weight: 700; opacity: .9; font-size: 13px; } .kpi .v { font-size: 30px; font-weight: 900; line-height: 1.15; } .kpi .s { font-size: 12.5px; opacity: .9; }
.k1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); } .k2 { background: linear-gradient(135deg, #059669, #10b981); }
.k3 { background: linear-gradient(135deg, #2563eb, #0891b2); } .k4 { background: linear-gradient(135deg, #ea580c, #f59e0b); } .k5 { background: linear-gradient(135deg, #db2777, #e11d48); }
.pbar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.3); overflow: hidden; margin-top: 8px; }
.pbar i { display: block; height: 100%; background: #fff; border-radius: 99px; }
.subjects { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.subj { display: block; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; border-top: 5px solid var(--c); transition: transform .15s; }
.subj:hover { transform: translateY(-3px); }
.subj .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.subj .hd { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; } .subj .hd b { font-size: 14.5px; line-height: 1.2; }
.subj .big { font-size: 28px; font-weight: 900; } .subj .big small { font-size: 13px; font-weight: 700; color: var(--ink2); }
.dyb { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; background: #eef1f8; margin: 8px 0 6px; }
.dyb i { display: block; } .dyb .d { background: var(--ok); } .dyb .y { background: var(--bad); } .dyb .b { background: var(--blank); }
.legend { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink2); flex-wrap: wrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; }
.chart { position: relative; height: 290px; } .chart.tall { height: 350px; }
.card:has(> .chart) { background: linear-gradient(180deg, #ffffff, #fbfcff); border: 1px solid #eef1f8; }
.card:has(> .chart) > h2::before { content: ''; display: inline-block; width: 6px; height: 18px; border-radius: 3px; margin-right: 9px; vertical-align: -3px; background: linear-gradient(180deg, var(--brand), #db2777); }
.empty { text-align: center; padding: 44px 20px; color: var(--ink2); } .empty .e { font-size: 46px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 700; cursor: pointer; color: var(--ink2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips select { padding: 8px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; }

/* Tablolar */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); padding: 8px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid #eef1f6; white-space: nowrap; }
td.wrap { white-space: normal; min-width: 130px; }
th.n, td.n { text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.tag.d { background: #dcfce7; color: #166534; } .tag.y { background: #fee2e2; color: #991b1b; } .tag.b { background: #f1f5f9; color: #475569; }
.book { border: 1.5px solid var(--line); border-radius: 14px; margin-top: 12px; overflow: hidden; }
.book summary { cursor: pointer; padding: 12px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #f8fafc; font-weight: 800; }
.book summary .nm { flex: 1; min-width: 140px; } .book summary span.st { font-weight: 700; font-size: 13px; color: var(--ink2); }
.book .in { padding: 6px 10px 12px; }

/* Isı haritası, halka, rozet */
.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.heat i { width: 100%; min-width: 14px; aspect-ratio: 1; border-radius: 4px; background: #eef1f8; }
.ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; margin: 6px auto 10px; display: grid; place-items: center; background: conic-gradient(var(--c, var(--brand)) calc(var(--p) * 1%), #e9ecf5 0); }
.ring > div { width: 116px; height: 116px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.ring b { font-size: 26px; font-weight: 900; display: block; line-height: 1; } .ring span { font-size: 12px; color: var(--ink2); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge { border-radius: 16px; padding: 14px; text-align: center; background: #f8fafc; border: 1.5px dashed var(--line); opacity: .55; }
.badge.on { opacity: 1; border: 0; background: linear-gradient(135deg, #fef3c7, #fde68a); box-shadow: var(--shadow); }
.badge .e { font-size: 32px; } .badge b { display: block; font-size: 14px; } .badge span { font-size: 12px; color: var(--ink2); }
.code { font-size: 26px; font-weight: 900; letter-spacing: .18em; background: #eef2ff; color: var(--brand); padding: 10px 18px; border-radius: 14px; display: inline-block; }

/* Modal, bildirim */
.modal-bg { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: grid; place-items: center; padding: 16px; z-index: 50; overflow-y: auto; }
.modal { background: #fff; border-radius: 22px; padding: 24px; width: 100%; max-width: 540px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.modal h2 { margin-bottom: 16px; font-size: 20px; }
.modal .foot .primary { order: 9; }
.modal .foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 99px; font-weight: 700; opacity: 0; transition: .25s; pointer-events: none; z-index: 60; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; } .auth-hero { padding: 32px 24px; } .auth-hero h1 { font-size: 32px; } .auth-hero ul { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; flex-direction: row; padding: 6px; border-right: 0; border-top: 1px solid var(--line); z-index: 40; overflow-x: auto; }
  .side .logo, .side .who { display: none; }
  .nav { display: flex; gap: 2px; width: 100%; } .nav a { flex: 1; flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 8px; min-width: 62px; }
  main { padding: 16px 14px 96px; }
  .g2, .g3, .g21 { grid-template-columns: minmax(0, 1fr); }
  .mob-out { display: inline-flex !important; }
}
.mob-out { display: none; }
@media print {
  .side, .no-print, #toast { display: none !important; }
  .shell { display: block; } main { padding: 0; } body { background: #fff; }
  .card, .kpi { box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
  .kpi { color: var(--ink); background: #fff !important; }
}

/* Kitap kapağı grafiği */
.cover { --w: 46px; width: var(--w); height: calc(var(--w) * 1.32); flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: space-between; border-radius: calc(var(--w) * .12); overflow: hidden; color: #fff; text-align: center; background: linear-gradient(160deg, hsl(var(--h) 72% 46%), hsl(calc(var(--h) + 35) 78% 30%)); box-shadow: 0 2px 6px rgba(15,23,42,.25), inset 3px 0 0 rgba(255,255,255,.22); vertical-align: middle; }
.cover i { font-style: normal; font-weight: 900; font-size: calc(var(--w) * .15); line-height: 1.05; padding: calc(var(--w) * .1) 3px 0 5px; letter-spacing: .02em; overflow-wrap: anywhere; }
.cover b { font-size: calc(var(--w) * .38); line-height: 1; }
.cover u { text-decoration: none; width: 100%; background: var(--sc); font-weight: 800; font-size: calc(var(--w) * .125); padding: 2px 1px; white-space: nowrap; overflow: hidden; border-top: 1.5px solid rgba(255,255,255,.7); }
.cover.lg { --w: 84px; } .cover.sm { --w: 34px; }
.book summary { list-style: none; } .book summary::-webkit-details-marker { display: none; }
.book .title { flex: 1; min-width: 150px; } .book .title small { display: block; font-weight: 700; color: var(--ink2); font-size: 12.5px; }
.modal.wide { max-width: 640px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.types label, .pubs label { cursor: pointer; }
.types input, .pubs input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: block; border: 1.5px solid var(--line); border-radius: 99px; padding: 7px 13px; font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.types label:has(input:checked) span { background: var(--ink); border-color: var(--ink); color: #fff; }
.types label:has(input:focus-visible) span, .pubs label:has(input:focus-visible) { outline: 3px solid rgba(79,70,229,.4); }
.pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 270px; overflow-y: auto; padding: 4px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.pubs label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px 7px; border-radius: 12px; border: 2px solid transparent; font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.2; color: var(--ink2); }
.pubs label:hover { background: #f4f6fb; }
.pubs label:has(input:checked) { border-color: var(--brand); background: #eef2ff; color: var(--ink); }
.pick { display: flex; gap: 14px; align-items: center; background: #f8fafc; border-radius: 14px; padding: 12px; margin-bottom: 8px; }
.pick b { display: block; font-size: 15px; }

/* Haftalık plan */
.tag.w { background: #fef9c3; color: #854d0e; }
.plan-tbl th.c, .plan-tbl td.c { text-align: center; }
.plan-tbl th.today { color: var(--brand); }
.plan-tbl th small { font-weight: 600; text-transform: none; letter-spacing: 0; }
.pc { text-align: center; padding: 6px 4px !important; }
.pc input, .pc > b { display: inline-block; width: 60px; text-align: center; padding: 7px 2px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 800; background: #fff; outline: none; }
.pc input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.pc small { display: block; font-size: 11px; color: var(--ink2); margin-top: 2px; }
.pc.ok input, .pc.ok > b { background: #dcfce7; border-color: #86efac; }
.pc.part input, .pc.part > b { background: #fef9c3; border-color: #fde047; }
.pdays { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pday { background: #f8fafc; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; }
.pday.today { border-color: var(--brand); background: #eef2ff; }
.ptask { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 10px; margin: 8px 0; border: 1px solid var(--line); }
.ptask .tx { flex: 1; min-width: 0; } .ptask .tx b { display: block; overflow-wrap: anywhere; } .ptask small { display: block; color: var(--ink2); font-size: 12px; }
.ptask.done { opacity: .7; } .ptask.done .tx b { text-decoration: line-through; }
.ptask input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--ok); cursor: pointer; }
.pdot { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 17px; }
.prow { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 13.5px; }
.prow .nm { width: 96px; font-weight: 700; white-space: nowrap; } .prow .v { width: 84px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prow .bar { flex: 1; height: 10px; border-radius: 99px; background: #e9ecf5; overflow: hidden; } .prow .bar i { display: block; height: 100%; border-radius: 99px; }
@media print { .pc input { border-color: #94a3b8; } .pdays { grid-template-columns: repeat(2, 1fr); } .pday, .ptask { break-inside: avoid; } }

/* Yönetici ekranı ve sol menüde öğrenciler */
.ava { width: 30px; height: 30px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 900; font-size: 14px; }
.ava.lg { width: 54px; height: 54px; font-size: 24px; }
.ucell { display: flex; gap: 10px; align-items: center; } .ucell small { display: block; color: var(--ink2); font-size: 12px; }
.adm-tbl tr.click { cursor: pointer; } .adm-tbl tr.click:hover td { background: #f6f8fd; }
th.sortable { cursor: pointer; user-select: none; } th.sortable:hover { color: var(--brand); }
.chip small { opacity: .7; font-weight: 800; }
.urow { display: flex; width: 100%; gap: 10px; align-items: center; padding: 8px 6px; border: 0; background: none; border-radius: 12px; cursor: pointer; text-align: left; }
.urow:hover { background: #f4f6fb; } .urow .nm { flex: 1; min-width: 0; } .urow small { display: block; color: var(--ink2); font-size: 12px; } .urow .rt { font-size: 13px; color: var(--ink2); white-space: nowrap; }
.mstats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.mstat { background: #f4f6fb; border-radius: 12px; padding: 10px 6px; text-align: center; } .mstat b { display: block; font-size: 20px; font-weight: 900; } .mstat span { font-size: 12px; color: var(--ink2); }
.side-h { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); padding: 16px 12px 6px; }
.stu { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 12px; border: 0; background: none; border-radius: 12px; font-weight: 700; color: var(--ink2); cursor: pointer; text-align: left; }
.stu span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stu:hover { background: #f1f3fa; } .stu.on { background: #eef2ff; color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.stu.add { font-size: 13px; color: var(--mute); }
#side-students { overflow-y: auto; min-height: 0; }
.nav .side-h { padding-top: 14px; } .nav .nav-one, .adm-tabs { display: none; }
.mob-students { display: none; gap: 8px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.mob-students .chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 12px 4px 4px; }
.mob-students .chip .ava { width: 24px; height: 24px; font-size: 12px; }
@media (max-width: 900px) { #side-students { display: none; } .nav .nav-sub { display: none; } .nav .nav-one, .adm-tabs { display: flex; } .mob-students { display: flex; } .mstats { grid-template-columns: repeat(3, 1fr); } }

/* Tanıtım (ana) sayfası */
html { scroll-behavior: smooth; }
.in #landing { display: none; }
.in #app:empty::before { content: 'Yükleniyor…'; display: block; padding: 80px 20px; text-align: center; color: var(--ink2); }
.lp { background: #fff; }
.lp main { padding: 0; }
.lp-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 12px max(20px, calc((100vw - 1140px) / 2)); background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-top .logo { padding: 0; font-size: 21px; }
.lp-top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; color: var(--ink2); }
.lp-top nav a:hover { color: var(--brand); }
.lp main > section { padding-left: max(20px, calc((100vw - 1140px) / 2)); padding-right: max(20px, calc((100vw - 1140px) / 2)); }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; padding-top: 56px; padding-bottom: 150px; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #4338ca, #7c3aed 52%, #db2777); }
.lp-pill { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 99px; font-weight: 800; font-size: 13.5px; }
.lp-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; font-weight: 900; margin: 18px 0 16px; letter-spacing: -.02em; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #fca5a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 18px; opacity: .95; max-width: 560px; margin: 0 0 18px; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-weight: 700; }
.lp-ticks li::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 13px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero .lp-cta .btn { padding: 13px 22px; font-size: 16px; }
.lp-hero .lp-cta .btn.primary { background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.lp-hero .lp-cta .btn:not(.primary) { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.lp-hero-side .auth-card { color: var(--ink); padding: 24px; max-width: 420px; margin-left: auto; box-shadow: 0 24px 60px rgba(15,23,42,.3); min-height: 120px; }
.lp-preview { margin-top: -110px; padding-bottom: 20px; }
.lp-frame { background: var(--bg); border-radius: 24px; padding: 18px; box-shadow: 0 30px 70px rgba(15,23,42,.18); border: 6px solid #fff; }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.lp-kpis .kpi .v small { font-size: 15px; }
.lp-charts { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 12px; }
.lp-chart { background: #fff; border-radius: 16px; padding: 14px 16px; min-width: 0; }
.lp-chart > b { display: block; margin-bottom: 10px; }
.lp-bars { display: flex; align-items: flex-end; gap: 9px; height: 120px; }
.lp-bars i { flex: 1; border-radius: 7px 7px 3px 3px; opacity: .92; }
.lp-donut { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#16a34a 0 79%, #dc2626 79% 91%, #94a3b8 91%); }
.lp-donut span { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.lp-sec { padding-top: 70px; padding-bottom: 70px; text-align: center; }
.lp-sec.alt { background: var(--bg); }
.lp-sec > h2, .lp-final h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; letter-spacing: -.01em; }
.lp-sub { color: var(--ink2); font-size: 17px; margin: 8px 0 34px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.lp-grid article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .15s, box-shadow .15s; }
.lp-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-grid .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 25px; background: linear-gradient(135deg, #eef2ff, #fce7f3); margin-bottom: 14px; }
.lp-grid h3 { font-size: 17px; margin-bottom: 6px; } .lp-grid p { margin: 0; color: var(--ink2); }
.lp-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.lp-steps li { counter-increment: st; background: #fff; border-radius: 20px; padding: 22px 22px 22px 76px; position: relative; box-shadow: var(--shadow); }
.lp-steps li::before { content: counter(st); position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 19px; background: linear-gradient(135deg, var(--brand), #db2777); }
.lp-steps b { font-size: 17px; } .lp-steps p { margin: 4px 0 0; color: var(--ink2); }
.lp-faq { max-width: 760px; margin: 30px auto 0; text-align: left; display: grid; gap: 10px; }
.lp-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; background: #fff; }
.lp-faq summary { cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq p { margin: 0 0 16px; color: var(--ink2); }
.lp-final { text-align: center; color: #fff; padding-top: 64px; padding-bottom: 64px; background: linear-gradient(135deg, #4338ca, #7c3aed 52%, #db2777); }
.lp-final p { opacity: .95; font-size: 17px; margin: 10px 0 22px; }
.lp-final .btn { background: #fff; color: var(--brand); padding: 13px 24px; font-size: 16px; }
.lp-foot { text-align: center; padding: 26px 20px; color: var(--ink2); font-size: 14px; }
.lp-foot span { display: block; font-size: 12.5px; color: var(--mute); margin-top: 4px; }
.lp-foot .lp-mail { font-size: 14px; color: var(--ink2); margin-top: 6px; }
.lp-foot a, .lp-faq a { color: var(--brand); font-weight: 700; }
.side-mail { display: block; margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--mute); text-decoration: none; }
.side-mail:hover { color: var(--brand); }
@media (max-width: 900px) {
  .lp-top nav { display: none; } .lp-top .btn { margin-left: auto; }
  .lp-hero { grid-template-columns: minmax(0, 1fr); padding-top: 34px; padding-bottom: 130px; gap: 28px; }
  .lp-hero-side .auth-card { margin: 0 auto; }
  .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-charts { grid-template-columns: minmax(0, 1fr); }
  .lp-sec { padding-top: 48px; padding-bottom: 48px; }
}

/* ---------- Özet (sade görünüm) ---------- */
.ic { width: 18px; height: 18px; flex: none; }
.icb { width: 36px; height: 36px; flex: none; border-radius: 11px; display: inline-grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.icb .ic { width: 20px; height: 20px; }
.ic.go { color: var(--mute); width: 16px; height: 16px; transition: transform .15s; }
.hello { display: flex; align-items: center; gap: 12px; } .hello .ava { width: 46px; height: 46px; font-size: 20px; }
.hello small { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-top: 1px; }
.hero { display: flex; flex-direction: column; gap: 14px; }
.hero.today { box-shadow: var(--shadow), inset 0 0 0 2px color-mix(in srgb, var(--brand) 35%, #fff); }
.hero-h { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.hero-h b { font-size: 17px; flex: 1; } .hero-h:hover .go, .srow:hover .go, .tile:hover .go { transform: translateX(3px); color: var(--brand); }
.dl { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.dl .ic { width: 14px; height: 14px; } .dl.up { background: #dcfce7; color: #166534; } .dl.dn { background: #fee2e2; color: #991b1b; }
.hero-main { display: flex; align-items: center; gap: 16px; } .hero-main > div:last-child { flex: 1; min-width: 0; }
.hero .big { font-size: 34px; font-weight: 900; line-height: 1.1; } .hero .big small { font-size: 14px; font-weight: 700; color: var(--ink2); }
.ring2 { --p: 0; width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e9ecf5 0); }
.ring2 b { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 900; }
.pbar2 { height: 10px; border-radius: 99px; background: #e9ecf5; overflow: hidden; margin-top: 10px; }
.pbar2 i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #db2777); }
.wbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 104px; }
.wbars button { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 3px; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; min-width: 0; height: 100%; border-radius: 8px; }
.wbars span { font-size: 11.5px; font-weight: 800; color: var(--ink2); text-align: center; }
.wbars i { display: block; min-height: 3px; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--brand) 38%, #fff); transition: filter .15s; }
.wbars small { font-size: 11.5px; font-weight: 700; color: var(--mute); text-align: center; }
.wbars .now i { background: linear-gradient(180deg, var(--brand2), var(--brand)); } .wbars .now small { color: var(--brand); font-weight: 900; }
.wbars .next i { background: #e9ecf5; } .wbars button:hover i { filter: brightness(.9); }
.mets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.met { display: block; border: 0; background: #f4f6fb; border-radius: 12px; padding: 9px 11px; font: inherit; color: var(--ink); text-align: left; min-width: 0; }
button.met { cursor: pointer; } button.met:hover { background: #eef2ff; }
.met .l { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink2); white-space: nowrap; } .met .l .ic { width: 14px; height: 14px; }
.met b { display: block; font-size: 17px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tile { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 13px 15px; color: var(--ink); min-width: 0; }
.tile > span:nth-child(2) { flex: 1; min-width: 0; } .tile .l { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.tile b { display: block; font-size: 21px; font-weight: 900; line-height: 1.2; } .tile small { display: block; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow { display: grid; grid-template-columns: 36px minmax(0, 1.2fr) 64px minmax(40px, 1fr) 42px 16px; gap: 10px; align-items: center; padding: 8px 6px; margin: 0 -6px; border-radius: 12px; color: var(--ink); border-top: 1px solid var(--line); }
.srows .srow:first-child, .dlist .srow:first-child { border-top: 0; } .srow:hover { background: #f4f6fb; }
.srow .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .srow .nm small { display: block; font-size: 12px; font-weight: 600; color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.srow > b { text-align: right; font-weight: 900; } .srow .pc { font-size: 13px; font-weight: 800; color: var(--ink2); text-align: right; }
.srow .bar { height: 9px; border-radius: 99px; background: #e9ecf5; overflow: hidden; } .srow .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.dlist .srow { grid-template-columns: 36px minmax(0, 1fr) 36px auto 42px; } .dlist .tags { display: flex; gap: 4px; }
.ocol { display: grid; gap: 16px; align-content: start; min-width: 0; } .chart.short { height: 210px; }
@media (max-width: 560px) { .hero .big { font-size: 28px; } .ring2 { width: 70px; height: 70px; } .ring2 b { width: 52px; height: 52px; font-size: 14px; } .srow { grid-template-columns: 36px minmax(0, 1fr) 52px 42px 16px; } .srows .srow .bar { display: none; } .dlist .tags { display: none; } .dlist .srow { grid-template-columns: 36px minmax(0, 1fr) 36px 42px; } }
@media print { .hero.today { box-shadow: none; } .tile { box-shadow: none; border: 1px solid var(--line); } }
.hero-h b { white-space: nowrap; } .dl { white-space: nowrap; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile { padding: 11px; gap: 9px; } .tile b { font-size: 18px; } .tile .go { display: none; } .dl { font-size: 11.5px; padding: 3px 7px; } .hello { font-size: 22px; } .hello .ava { width: 40px; height: 40px; } }

/* ---------- Rozetler (kademeli) ---------- */
.bhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.medals { display: flex; gap: 6px; flex-wrap: wrap; } .medals span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink2); background: #f4f6fb; padding: 4px 10px; border-radius: 99px; }
.medals i { width: 10px; height: 10px; border-radius: 50%; } .medals b { color: var(--ink); }
.bsec { font-size: 15px; margin: 18px 0 10px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.bdg { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 12px 12px; border-radius: 16px; background: #f8fafc; border: 1.5px dashed var(--line); min-width: 0; }
.bdg .be { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 27px; background: #eef1f6; filter: grayscale(1); opacity: .55; margin-bottom: 4px; }
.bdg b { font-size: 14px; line-height: 1.25; } .bdg .bt { font-size: 11.5px; font-weight: 800; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.bdg .bd { font-size: 12px; color: var(--ink2); line-height: 1.35; }
.bdg .bp { width: 100%; height: 6px; border-radius: 99px; background: #e5e9f2; overflow: hidden; margin-top: 6px; } .bdg .bp i { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.bdg small { font-size: 11px; color: var(--mute); }
.bdg.on { background: #fff; border: 1.5px solid color-mix(in srgb, var(--tc) 35%, #fff); box-shadow: var(--shadow); }
.bdg.on .be { filter: none; opacity: 1; background: color-mix(in srgb, var(--tc) 16%, #fff); box-shadow: 0 0 0 3px var(--tc); }
.bdg.on .bt { color: var(--tc); } .bdg.on .bp i { background: var(--tc); }
.bdg.max { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--tc) 12%, #fff)); }
@media (max-width: 560px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media print { .bdg { box-shadow: none !important; break-inside: avoid; } }
.bdg .bw { font-size: 11px; font-weight: 700; color: var(--ink2); margin-top: 4px; }
.bdg.afr .bd { font-style: italic; }
/* Özet: son rozetler */
.bstrip { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 12px 16px; color: var(--ink); }
.bs-h { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 15px; }
.bs-l { flex: 1; display: flex; gap: 8px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.bs-i { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: color-mix(in srgb, var(--tc) 10%, #fff); border: 1px solid color-mix(in srgb, var(--tc) 30%, #fff); white-space: nowrap; flex: none; }
.bs-i .be { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: #fff; box-shadow: 0 0 0 2px var(--tc); }
.bs-i b { display: block; font-size: 12.5px; line-height: 1.2; } .bs-i small { display: block; font-size: 11px; color: var(--ink2); }
.bstrip:hover .go { transform: translateX(3px); color: var(--brand); }
@media (max-width: 560px) { .bstrip { flex-wrap: wrap; } .bstrip .go { display: none; } .bs-l { flex-basis: 100%; } }
/* Kutlama penceresi */
.modal.cele { position: relative; overflow: hidden; text-align: center; max-width: 440px; }
.cele-h { position: relative; } .cele-e { font-size: 64px; line-height: 1.1; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.cele-h h2 { margin: 8px 0 2px; font-size: 24px; } .cele-list { display: grid; gap: 8px; margin: 16px 0 6px; text-align: left; position: relative; }
.cele-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--tc) 9%, #fff); }
.cele-i .be { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #fff; box-shadow: 0 0 0 3px var(--tc); }
.cele-i b { display: block; } .cele-i small { display: block; font-size: 12.5px; color: var(--ink2); }
.modal.cele .foot { justify-content: center; position: relative; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: fall 2.6s ease-in 1 both; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(460px) rotate(540deg); } }
@keyframes pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } .cele-e { animation: none; } }
.afr-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.afr-pick label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; color: var(--ink2); }
.afr-pick label span { font-size: 24px; } .afr-pick input { position: absolute; opacity: 0; pointer-events: none; }
.afr-pick label:has(input:checked) { border-color: #db2777; background: #fdf2f8; color: var(--ink); }
@media (max-width: 560px) { .afr-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ---------- Deneme sonucu ---------- */
.exttl { display: block; } .exttl small { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink2); margin-top: 2px; }
.exlast { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; color: var(--ink); box-shadow: var(--shadow), inset 0 0 0 2px color-mix(in srgb, #db2777 25%, #fff); }
.exl-m { flex: 1; min-width: 160px; } .exl-m .l { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink2); } .exl-m b { font-size: 17px; }
.exl-v { text-align: right; } .exl-v b { display: block; font-size: 22px; font-weight: 900; line-height: 1.1; } .exl-v small { font-size: 12px; color: var(--mute); font-weight: 700; }
.exl-go { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; color: var(--brand); }
.exlast:hover .go { transform: translateX(3px); }
.extbl .exname { color: var(--ink); } .extbl .exname:hover b { color: var(--brand); text-decoration: underline; }
.extbl .exname small { display: block; font-size: 12px; color: var(--mute); }
.est { color: var(--mute); font-weight: 800; margin-left: 2px; }
.exhero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 22px; align-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, color-mix(in srgb, var(--brand) 7%, #fff)); }
.exh-p { display: flex; flex-direction: column; gap: 6px; padding-right: 22px; border-right: 1px solid var(--line); }
.exh-p > b { font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.5px; }
.exh-tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: #f1f5f9; color: var(--ink2); }
.exh-tag.off { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.exh-d { display: flex; gap: 6px; flex-wrap: wrap; }
.exh-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.exh-big > b { font-size: 34px; font-weight: 900; line-height: 1; } .exh-big > small { font-size: 14px; font-weight: 700; color: var(--ink2); }
.exh-avg { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink2); } .exh-avg b.up { color: #15803d; } .exh-avg b.dn { color: #b91c1c; }
.dybbar { display: flex; gap: 2px; height: 14px; border-radius: 99px; overflow: hidden; margin: 12px 0 8px; background: #fff; }
.dybbar i { display: block; min-width: 0; } .dybbar i:first-child { border-radius: 99px 0 0 99px; } .dybbar i:last-child { border-radius: 0 99px 99px 0; }
.dybbar .d, .dybl i.d, .qc.d { background: var(--ok); } .dybbar .y, .dybl i.y, .qc.y { background: var(--bad); } .dybbar .b, .dybl i.b, .qc.b { background: #cbd5e1; }
.dybl { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink2); } .dybl i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.dybl b { color: var(--ink); }
.ranks { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rk { display: flex; flex-direction: column; gap: 4px; }
.rk .l { font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.rk > b { font-size: 24px; font-weight: 900; line-height: 1.15; } .rk > b small { font-size: 13px; font-weight: 700; color: var(--mute); }
.rk-bar { position: relative; height: 8px; border-radius: 99px; margin: 6px 0 2px; background: linear-gradient(90deg, #22c55e, #facc15 50%, #f87171); opacity: .85; }
.rk-bar i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); }
.rk-p { font-size: 13px; font-weight: 800; } .rk-was { font-weight: 600; color: var(--mute); }
.exins ul { list-style: none; display: grid; gap: 10px; }
.exins li { display: flex; gap: 12px; align-items: center; } .exins li .icb { width: 32px; height: 32px; } .exins li .icb .ic { width: 17px; height: 17px; }
.exrows { display: grid; }
.exrow { display: grid; grid-template-columns: 36px minmax(0, 1.1fr) minmax(60px, 1.6fr) 52px 58px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.exrow:first-child { border-top: 0; }
.exrow .nm { font-weight: 800; min-width: 0; } .exrow .nm small { display: block; font-size: 12px; font-weight: 600; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exrow .bar { position: relative; height: 10px; border-radius: 99px; background: #e9ecf5; }
.exrow .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.exrow .bar em { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); }
.exrow > b { text-align: right; font-weight: 900; }
.df { justify-self: end; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.df.up { background: #dcfce7; color: #166534; } .df.dn { background: #fee2e2; color: #991b1b; }
.chart.tall { height: 300px; }
.qmap { display: grid; gap: 10px; }
.qmrow { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.qmrow .nm { font-weight: 800; font-size: 14px; }
.qcells { display: flex; flex-wrap: wrap; gap: 4px; }
.qc { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-size: 11.5px; font-weight: 800; color: #fff; background: #e9ecf5; cursor: default; }
.qc.b { color: #334155; } .qc.x { background: repeating-linear-gradient(135deg, #e2e8f0 0 4px, #f8fafc 4px 8px); color: #64748b; }
.qc:not(.d):not(.y):not(.b):not(.x) { color: var(--mute); }
.qleg { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ink2); }
.qleg span { display: inline-flex; align-items: center; gap: 6px; } .qleg .qc { width: 14px; height: 14px; border-radius: 4px; }
.trows { display: grid; }
.trow { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(40px, 1fr) 40px; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; }
.trow .nm { font-weight: 700; min-width: 0; overflow-wrap: anywhere; line-height: 1.25; } .trow .nm small { margin-left: 6px; font-size: 12px; color: var(--mute); font-weight: 600; }
.trow .tags { display: flex; gap: 3px; } .trow .tag { min-width: 26px; text-align: center; padding: 2px 6px; }
.trow .bar { height: 8px; border-radius: 99px; background: #e9ecf5; overflow: hidden; } .trow .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.trow .pc { font-size: 13px; font-weight: 800; color: var(--ink2); text-align: right; }
.tsubj { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 8px 28px; }
.tsubj h3 { font-size: 15px; margin: 10px 0 2px; }
.empty-q { text-align: center; } .empty-q p { margin: 6px 0 12px; }
/* deneme formu */
.modal.exm { max-width: 720px; }
.ex-in input, .ex-rk input { width: 76px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.ex-in .b-out { font-weight: 800; color: var(--ink2); } .ex-in .b-out.bad { color: var(--bad); }
.exsec { margin: 12px 0; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.exsec > summary { cursor: pointer; font-weight: 800; } .exsec > summary small { font-weight: 600; color: var(--mute); margin-left: 6px; }
.exsec[open] > summary { margin-bottom: 10px; }
.ex-rk { margin-top: 6px; }
.qsec { border-top: 1px solid var(--line); padding: 8px 0; } .qsec > summary { cursor: pointer; font-weight: 800; }
.qsec > summary small { font-weight: 700; color: var(--ink2); margin-left: 8px; }
.qgrid { display: grid; gap: 5px; margin: 8px 0 10px; }
.qr { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.qr .qn { font-weight: 800; color: var(--ink2); text-align: right; font-size: 13px; }
.qr input[type=text], .qr input:not([type]) , .qr input[list] { width: 100%; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-size: 14px; }
.seg { display: inline-flex; gap: 3px; }
.seg label { cursor: pointer; } .seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; color: var(--ink2); background: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }
.seg .d input:checked + span { background: var(--ok); border-color: var(--ok); color: #fff; }
.seg .y input:checked + span { background: var(--bad); border-color: var(--bad); color: #fff; }
.seg .b input:checked + span { background: #64748b; border-color: #64748b; color: #fff; }
.seg .x input:checked + span { background: #cbd5e1; border-color: #cbd5e1; color: #334155; }
@media (max-width: 760px) {
  .exhero { grid-template-columns: 1fr; gap: 16px; } .exh-p { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .exh-avg { margin-left: 0; width: 100%; }
  .exrow { grid-template-columns: 32px minmax(0, 1fr) 48px 56px; } .exrow .bar { grid-column: 2 / -1; grid-row: 2; }
  .qmrow { grid-template-columns: 1fr; gap: 4px; }
  .exl-v { text-align: left; }
  .tsubj { grid-template-columns: minmax(0, 1fr); }
}
@media print { .exhero, .rk { break-inside: avoid; } .qc { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
/* ---------- Saatlik program ---------- */
.psched { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sch-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.sch-head > div:first-child { flex: 1; min-width: 260px; } .sch-head .sub { color: var(--ink2); font-size: 13px; margin-top: 4px; }
.sch-set { display: flex; gap: 10px; flex-wrap: wrap; }
.sch-set label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.sch-set input { padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; color: var(--ink); }
.sch-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sch-day { background: #f8fafc; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; break-inside: avoid; }
.sch-day.today { border-color: var(--brand); background: #eef2ff; }
.sch-day h3 { font-size: 15px; } .sch-day h3 small { font-weight: 600; color: var(--ink2); }
.sch-sum { font-size: 12.5px; font-weight: 700; color: var(--ink2); margin: 2px 0 10px; }
.sch-list { list-style: none; display: grid; gap: 4px; }
.sch-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; align-items: center; }
.sch-list .tm { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.15; }
.sch-list .tm small { display: block; font-weight: 600; color: var(--mute); }
.sch-b .bx { background: #fff; border-left: 4px solid var(--c); border-radius: 10px; padding: 7px 10px; box-shadow: 0 1px 2px rgba(15,23,42,.06); min-width: 0; }
.sch-b .bx b { display: block; font-size: 14px; } .sch-b .bx b small { font-weight: 700; color: var(--ink2); }
.sch-b .bx > small { display: block; font-size: 12px; color: var(--ink2); overflow-wrap: anywhere; }
.sch-r { font-size: 12.5px; color: var(--ink2); } .sch-r .tm { color: var(--mute); font-weight: 700; }
.sch-r .brk { padding: 5px 10px; border: 1.5px dashed #cbd5e1; border-radius: 10px; min-width: 0; }
.sch-r .brk b { display: block; font-size: 12.5px; color: var(--ink); } .sch-r .brk small { display: block; font-size: 12px; color: var(--ink2); line-height: 1.35; }
.sch-r.meal .brk { border: 1.5px solid #fcd34d; background: #fffbeb; } .sch-r.meal .brk b { color: #92400e; }
.sch-warn { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: #92400e; background: #fffbeb; border-radius: 10px; padding: 7px 10px; }
@media print { .sch-b .bx { box-shadow: none; border: 1px solid var(--line); border-left: 4px solid var(--c); } }
.sch-rv .bx { --c: #16a34a; background: #f0fdf4; border-left-color: #16a34a; }
