/* DenemePusula LGS Paneli — lisans.css üzerine */

:root {
    --s1: #2a78d6;   /* öğrenci / okul */
    --s2: #eb6834;   /* sınıf ort. */
    --s3: #1baf7a;   /* okul ort. */
    --s4: #eda100;   /* genel ort. */
    --good: #047857;
    --weak: #be123c;
}

.hero a { color: inherit; }
.hero .btn-ghost { color: #e2e8f0; border-color: rgba(255, 255, 255, .25); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero-text b { color: #fff; }
.hero-text .muted { color: #94a3b8; font-size: 12px; }
@media (max-width: 560px) { .hide-sm { display: none; } .hero { padding: 22px 18px; } }

.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.card-head h2 { font-size: 17px; }
.card-head p { margin: 0; font-size: 12px; }
.hint { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state p { margin: 8px 0 18px; }
.school-pick { max-width: 480px; padding: 16px 20px; }

.table.compact { min-width: 640px; }
.table.compact th { padding: 10px 10px; }
.table.compact td { padding: 9px 10px; }
.table.ranking { min-width: 980px; }
.table tr.total td { font-weight: 700; background: #f8fafc; border-top: 1px solid var(--line); }
.table tr.current td { background: var(--brand-50); }
.table a { text-decoration: none; font-weight: 600; }
.table a:hover { color: var(--brand); }
.strong { font-weight: 800; }
.good { color: var(--good); }
.weak { color: var(--weak); }
.table td.good, .table td.weak { font-weight: 600; }
.of { color: var(--muted); font-size: .6em; font-weight: 600; }

.delta { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.delta.up { color: var(--good); background: var(--ok-bg); }
.delta.down { color: var(--weak); background: var(--bad-bg); }
.delta.flat { color: var(--muted); background: var(--line-soft); }

.stat em { color: var(--muted); font-weight: 600; }
.hero-stat { border-color: #c7d2fe; background: linear-gradient(180deg, #fff, var(--brand-50)); }
.hero-stat strong { font-size: 32px; color: var(--brand-700); }

/* Sekmeler (giriş) */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--line-soft); border-radius: 12px; }
.tabs button { border: 0; background: transparent; padding: 9px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.login form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.login form[hidden] { display: none; }
.tabs a { display: block; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.login .hint { margin: -4px 0 0; }

/* Dereceler */
.ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.rank { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.rank small { color: var(--muted); font-weight: 700; font-size: 12px; }
.rank strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.rank .meter { width: 100%; }
.rank .meter i { background: var(--s1); }

/* Çubuk grafik */
.bars { margin: 4px 0 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin: 0 0 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); } .s4 { background: var(--s4); }
.bar-group { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); align-items: center; }
.bar-label { font-weight: 700; font-size: 13px; }
.bar-label small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.bar-rows { display: flex; flex-direction: column; gap: 2px; }
.bar-row { display: grid; grid-template-columns: 1fr 48px; gap: 8px; align-items: center; cursor: default; }
.bar-track { height: 9px; }
.bar-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.bar-row:hover .bar-track i { filter: brightness(.9); }
.bar-val { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-soft); text-align: right; }
@media (max-width: 560px) { .bar-group { grid-template-columns: 1fr; gap: 6px; } }

/* Çizgi grafik */
.line-chart { width: 100%; height: auto; max-height: 280px; display: block; margin-bottom: 8px; }
.line-chart .grid { stroke: var(--line); stroke-width: 1; }
.line-chart .axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.line-chart .val { fill: var(--ink); font-size: 12px; font-weight: 700; }
.line-chart .me-line { fill: none; stroke: var(--s1); stroke-width: 2; }
.line-chart .avg-line { fill: none; stroke: var(--s4); stroke-width: 2; stroke-dasharray: 5 4; }
.line-chart .me-dot { fill: var(--s1); stroke: #fff; stroke-width: 2; }
.line-chart .avg-dot { fill: var(--s4); stroke: #fff; stroke-width: 2; }

/* Soru ızgarası */
.booklet { font-size: 14px; margin: 16px 0 8px; }
.qrow { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: start; margin-bottom: 8px; }
.qlabel { font-weight: 800; font-size: 12px; color: var(--ink-soft); padding-top: 12px; }
.qcells { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 3px; }
.qcell, .acell { border-radius: 8px; padding: 3px 2px; text-align: center; line-height: 1.15; border: 1px solid transparent; cursor: default; }
.qcell small, .acell small { display: block; font-size: 9px; color: var(--muted); font-weight: 700; }
.qcell b, .acell b { display: block; font-size: 13px; }
.qcell em, .acell em { display: block; font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.q-hi, .a-ok { background: var(--ok-bg); border-color: var(--ok-line); }
.q-hi b, .a-ok b { color: var(--ok); }
.q-mid { background: var(--warn-bg); border-color: var(--warn-line); }
.q-mid b { color: var(--warn); }
.q-lo, .a-bad { background: var(--bad-bg); border-color: var(--bad-line); }
.q-lo b, .a-bad b { color: var(--bad); }
.a-blank { background: var(--line-soft); border-color: var(--line); }
.a-blank b { color: var(--muted); }
.legend .sw.q-hi, .legend .sw.q-mid, .legend .sw.q-lo, .legend .sw.a-ok, .legend .sw.a-bad, .legend .sw.a-blank { border: 1px solid; width: 12px; height: 12px; }

/* Kazanımlar */
.outcomes { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.outcomes summary { padding: 12px 16px; cursor: pointer; font-size: 14px; background: #f8fafc; }
.outcomes summary .muted { font-size: 12px; margin-left: 6px; }
.outcomes .table { border-top: 1px solid var(--line); min-width: 560px; }
.outcomes[open] { overflow-x: auto; }
tr.is-weak td:first-child { box-shadow: inset 3px 0 0 var(--weak); }
tr.is-mid td:first-child { box-shadow: inset 3px 0 0 var(--s4); }
.meter.pct { display: inline-block; width: calc(100% - 44px); vertical-align: middle; margin: 0; height: 6px; }
.pct-val { display: inline-block; width: 40px; text-align: right; font-size: 12px; font-weight: 700; }
tr.is-weak .meter.pct i { background: var(--weak); }

/* Şube filtresi */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.chip.on, .chip:hover { background: var(--brand-50); border-color: #c7d2fe; color: var(--brand-700); }

/* Yükleme */
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 42px 20px; border: 2px dashed #c7d2fe; border-radius: 18px; background: var(--brand-50); cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: #e0e7ff; border-color: var(--brand); }
.drop strong { font-size: 15px; color: var(--brand-700); }
.status { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 13px; border: 1px solid var(--line); background: var(--line-soft); }
.status-err { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.status a { color: inherit; font-weight: 800; }
#preview { margin-top: 22px; }
.preview-head h2 { font-size: 18px; }
.preview-head p { margin: 4px 0 16px; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 13px; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.checks li.ok::before { content: "✓"; color: var(--good); }
.checks li.off::before { content: "•"; color: var(--muted); }
.checks li.bad::before { content: "!"; color: var(--weak); }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.phone-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .phone-form { grid-template-columns: 1fr; } }

@media print {
    body { background: #fff; font-size: 11px; }
    .topbar, .no-print, .back-link { display: none !important; }
    .hero { background: none; color: var(--ink); box-shadow: none; padding: 0 0 12px; border-bottom: 2px solid var(--ink); border-radius: 0; }
    .hero-text, .hero-text b, .eyebrow { color: var(--ink-soft); }
    .card, .stat { box-shadow: none; break-inside: avoid; }
    .table-wrap { overflow: visible; border: 0; }
    .table, .table.compact, .table.ranking { min-width: 0; }
    details.outcomes { break-inside: avoid; }
    details.outcomes:not([open]) { display: none; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Tür etiketleri ve alt ders satırları */
.pill.type-lgs { color: #6d28d9; background: #f5f3ff; border-color: #ddd6fe; }
.pill.type-tyt { color: #0369a1; background: #f0f9ff; border-color: #bae6fd; }
.pill.type-gen { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
tr.main-row td { font-weight: 700; background: #fafbff; }
tr.sub-row td:first-child { padding-left: 26px; color: var(--ink-soft); }

/* Uygulamanın öğrenci karnesine gömülü görünüm (?gomulu=1) */
body.embed { background: transparent; }
body.embed .main { padding: 16px; max-width: none; }
body.embed .hero { padding-top: 0; }
body.embed .hero h1 { font-size: 1.25rem; }

/* Deneme listesi: sınav türü sekmeleri */
.type-tabs { display: flex; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.type-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.type-tab span { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #f1f5f9; font-size: 11px; text-align: center; }
.type-tab:hover { color: var(--brand-700); }
.type-tab.on { color: var(--brand-700); border-bottom-color: var(--brand-700); }
.type-tab.on span { background: var(--brand-50); }
.type-tab.empty { opacity: .6; }

/* Şüpheli öğrenci kayıtları */
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.alert a { color: inherit; text-decoration: underline; }
.suspect .card-head h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.suspect-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.suspect-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.suspect-side .eyebrow { margin: 0; color: var(--muted); }
.stu { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); }
.stu .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.stu-exams { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.stu-exams li { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.stu-exams .muted { font-size: 12px; }
.cand { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.cand .stu { width: 100%; box-sizing: border-box; }
.merge-other { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 10px; }
.merge-other .field { flex: 1 1 240px; margin: 0; }
.merge-other select { width: 100%; }
@media (max-width: 760px) { .suspect-grid { grid-template-columns: 1fr; } }

/* Deneme karşılaştırma */
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cmp-pick { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin-bottom: 16px; }
.cmp-pick .field { flex: 1 1 220px; margin: 0; min-width: 0; }
.cmp-pick select { width: 100%; }
.cmp-exams { display: flex; align-items: stretch; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.cmp-exam { flex: 1 1 220px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-exam small { color: var(--muted); font-size: 12px; }
.cmp-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-700); }
.cmp-arrow { align-self: center; font-size: 20px; color: var(--muted); font-weight: 700; }
.cmp-notes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.cmp-notes li { padding: 8px 12px 8px 30px; border-radius: 10px; font-size: 14px; position: relative; background: var(--line-soft); }
.cmp-notes li::before { position: absolute; left: 11px; top: 8px; font-weight: 800; }
.cmp-notes .n-up { background: var(--ok-bg); } .cmp-notes .n-up::before { content: "↑"; color: var(--good); }
.cmp-notes .n-down { background: var(--bad-bg); } .cmp-notes .n-down::before { content: "↓"; color: var(--weak); }
.cmp-notes .n-warn { background: var(--warn-bg); } .cmp-notes .n-warn::before { content: "!"; color: var(--warn); }
.cmp-notes .n-info::before, .cmp-notes .n-flat::before { content: "•"; color: var(--muted); }
.cmp-stats { margin-bottom: 8px; }
.cmp-stats .stat em { display: block; margin-top: 2px; }
.cmp-h3 { font-size: 15px; margin: 20px 0 10px; }
.cmp-h3 small { font-weight: 500; font-size: 12px; }
.cmp-ranks .rank strong { font-size: 15px; }
.cmp-ranks .rank b { font-weight: 800; }
.cmp-bar-col { width: 120px; min-width: 90px; }
.cmp-div { position: relative; height: 10px; background: var(--line-soft); border-radius: 5px; }
.cmp-div::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--muted); opacity: .5; }
.cmp-div i { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.cmp-div i.pos { background: var(--good); }
.cmp-div i.neg { background: var(--weak); }
.cmp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 12px; }
.cmp-cat { border: 1px solid var(--line); border-top: 4px solid var(--muted); border-radius: 12px; padding: 10px 12px; background: var(--surface); min-width: 0; }
.cmp-cat-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cmp-cat-h span { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--line-soft); font-size: 12px; font-weight: 800; text-align: center; }
.cmp-cat p { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.cmp-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-cat li { font-size: 13px; line-height: 1.3; }
.cmp-cat li small { display: block; color: var(--muted); font-size: 11.5px; }
.cmp-t { font-weight: 600; }
.c-new { --c: #2563eb; } .c-up { --c: #16a34a; } .c-down { --c: #dc2626; } .c-blank { --c: #ea580c; }
.c-still { --c: #64748b; } .c-weak { --c: #9f1239; } .c-full { --c: #059669; } .c-flat { --c: #94a3b8; }
.cmp-cat { border-top-color: var(--c); }
.cmp-cat-h b { color: var(--c); }
.cmp-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--c); border: 1px solid currentColor; white-space: nowrap; }
.cmp-all { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.cmp-all > summary { cursor: pointer; padding: 4px 0; }
.cmp-filter { margin: 10px 0; }
.cmp-filter button { background: none; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.cmp-topics .sub { font-size: 11.5px; color: var(--muted); }
.cmp-only-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 10px; }
.cmp-only { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.cmp-only li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 3px 0; }
.cmp-series-exams { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; margin-bottom: 8px; }
.cmp-students th[data-sort] { cursor: pointer; user-select: none; }
.cmp-students th.sorted { color: var(--brand-700); }
.cmp-alias-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.cmp-alias-form .field { flex: 1 1 260px; margin: 0; min-width: 0; }
.cmp-alias-form select { width: 100%; }
.cmp-karne .cmp-exams { margin-top: 0; }
@media (max-width: 640px) {
    .cmp-arrow { display: none; }
    .cmp-bar-col { display: none; }
}
@media print {
    .cmp-all { display: block; }
    .cmp-cats { grid-template-columns: repeat(2, 1fr); }
}

.table th.right { text-align: right; }

/* Çoklu deneme karşılaştırması */
.mx-pick { display: grid; gap: 14px; margin-bottom: 16px; }
.mx-pick-top { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.mx-pick-top .field { flex: 1 1 220px; margin: 0; min-width: 0; }
.mx-pick-top select { width: 100%; }
.mx-pick-exams { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; min-width: 0; }
.mx-pick-exams legend { font-size: 12px; font-weight: 700; color: var(--ink-soft); padding: 0; margin-bottom: 8px; }
.mx-ex { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: var(--surface); min-width: 0; }
.mx-ex:has(input:checked) { border-color: #a5b4fc; background: var(--brand-50); }
.mx-ex:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.mx-ex input { margin-top: 3px; accent-color: var(--brand); }
.mx-ex span { display: flex; flex-direction: column; min-width: 0; }
.mx-ex b { font-size: 13px; overflow-wrap: anywhere; }
.mx-ex small { color: var(--muted); font-size: 12px; }
.mx-pick-go { display: flex; justify-content: flex-end; }
.mx-exams { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 16px; }
.mx-exam { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); min-width: 0; }
.mx-exam .sw { width: 12px; height: 12px; margin-top: 3px; flex: none; }
.mx-exam div { display: flex; flex-direction: column; min-width: 0; }
.mx-exam strong { font-size: 13px; overflow-wrap: anywhere; }
.mx-exam small { color: var(--muted); font-size: 12px; }
.mx-kpis { margin-bottom: 4px; }
.mx-kpi strong .delta { font-size: 12px; vertical-align: middle; }
.mx-seq { display: flex !important; flex-wrap: wrap; gap: 4px; color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11.5px !important; }
.mx-seq .sep { color: var(--line); font-weight: 400; }
.mx-seq span:last-child { color: var(--ink); }
th .sw { width: 9px; height: 9px; border-radius: 2px; vertical-align: 0; }
.mx-bars-col { width: 34%; min-width: 180px; }
.mx-bars { display: grid; gap: 3px; }
.mx-bar { display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 8px; }
.mx-bar i { display: block; height: 7px; border-radius: 0 4px 4px 0; background: var(--line); }
.mx-bar span { font-size: 11px; font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--ink-soft); text-align: right; }
.mx-bar:last-child span { color: var(--ink); font-weight: 600; }
.table .sub { font-size: 11px; color: var(--muted); font-weight: 500; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.trend { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.trend::before { margin-right: 3px; }
.trend.t-up { color: var(--good); background: var(--ok-bg); } .trend.t-up::before { content: "↗"; }
.trend.t-down { color: var(--weak); background: var(--bad-bg); } .trend.t-down::before { content: "↘"; }
.trend.t-mixed { color: var(--warn); background: var(--warn-bg); } .trend.t-mixed::before { content: "↕"; }
.trend.t-flat { color: var(--muted); background: var(--line-soft); } .trend.t-flat::before { content: "→"; }
.spark { display: inline-block; vertical-align: middle; overflow: visible; }
.spark polyline { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--muted); }
.spark.t-up circle { fill: var(--good); } .spark.t-down circle { fill: var(--weak); } .spark.t-mixed circle { fill: var(--warn); }
.mx-tr { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mx-stu .chip { cursor: pointer; }
.cmp-filter { margin-bottom: 10px; }
.cmp-filter .chip { background: var(--surface); cursor: pointer; font-family: inherit; }
.cmp-filter .chip.on { background: var(--brand-50); }
.mx-alias { margin-top: 4px; }
.mx-alias > .card { margin-top: 12px; }
@media print { .mx-bars-col { min-width: 140px; } }
.mx-ex input[type=checkbox] { width: auto; flex: none; padding: 0; margin: 3px 0 0; }
.mx-split { color: var(--muted); }
.mx-split b { font-weight: 800; }
.mx-bar { background: linear-gradient(var(--line-soft), var(--line-soft)) no-repeat 0 50% / calc(100% - 46px) 7px; }
@media (max-width: 560px) { .mx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mx-kpi strong { font-size: 20px; } }

/* Ana sayfa: tüm sınav türleri tek sayfada */
.type-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 18px; }
.type-card { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; position: relative; min-width: 0; }
.type-card:hover { border-color: #c7d2fe; }
.type-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.type-card-h b { font-size: 14px; color: var(--brand-700); }
.type-card-h span { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--line-soft); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.type-card-v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.type-card-v .delta { vertical-align: middle; }
.type-card-s { font-size: 11.5px; color: var(--muted); }
.type-card .spark { position: absolute; right: 16px; top: 46px; }
.type-section { scroll-margin-top: 16px; }
.type-section-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.type-section-h h2 { display: flex; align-items: center; gap: 8px; }
.type-section-h p { margin: 2px 0 0; font-size: 13px; }
.type-count { font-size: 12px; font-weight: 800; color: var(--brand-700); background: var(--brand-50); padding: 1px 9px; border-radius: 999px; letter-spacing: 0; }

/* Bağımsız açılışta üst menü */
.subnav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: rgba(15, 23, 42, .05); color: inherit; }
.subnav a.on { background: var(--brand); color: #fff; }

/* Sınıflar (şube analizi) */
.cls-series { margin: 0 0 16px; }
.cls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cls-card { display: grid; gap: 3px; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; position: relative; min-width: 0; transition: border-color .15s, transform .15s; }
.cls-card:hover { border-color: #c7d2fe; transform: translateY(-1px); }
.cls-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cls-card-h b { font-size: 18px; font-weight: 800; color: var(--brand-700); letter-spacing: -.01em; }
.cls-rank { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--line-soft); padding: 1px 8px; border-radius: 999px; }
.cls-card-v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cls-card-v .delta { vertical-align: middle; margin-left: 4px; }
.cls-card-s, .cls-card-best { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cls-card-best b { color: var(--ink-soft); font-weight: 700; }
.cls-card .spark { position: absolute; right: 16px; top: 44px; }
.cls-meter { display: block; height: 4px; border-radius: 4px; background: var(--line-soft); margin-top: 6px; overflow: hidden; }
.cls-meter i { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.table td.cls-hi { color: var(--ok); }
.table td.cls-lo { color: var(--bad); }
.table tr.cls-total td { font-weight: 800; background: var(--line-soft); }
.cls-card.cls-odd { background: var(--line-soft); box-shadow: none; }
.cls-card.cls-odd .cls-card-h b { color: var(--muted); }
.cls-card.cls-odd .cls-meter i { background: #cbd5e1; }

/* Ana sayfa (?anasayfa=1) */
.home-hero h1 { font-size: clamp(22px, 3.4vw, 32px); }
.home-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.home-kpi { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); text-decoration: none; min-width: 0; }
a.home-kpi:hover { border-color: #c7d2fe; }
.home-kpi small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; }
.home-kpi strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.home-kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.home-kpi .meter { display: block; width: 100%; }
.home-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.home-grid > .card { margin-bottom: 20px; min-width: 0; }
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; gap: 0; } }
.home-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--line-soft); font-size: 13px; line-height: 1.4; }
.home-list li.todo-warn { background: var(--warn-bg); }
.home-list li.todo-bad { background: var(--bad-bg); }
.todo-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: 13px; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.todo-warn .todo-ic { color: var(--warn); border-color: var(--warn-line); }
.todo-bad .todo-ic { color: var(--bad); border-color: var(--bad-line); }
@media (max-width: 560px) { .home-list li { grid-template-columns: 24px 1fr; } .home-list .btn { grid-column: 2; justify-self: start; } }
.home-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-feed li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.35; min-width: 0; }
.home-feed a { text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.home-feed a:hover { color: var(--brand); }
.home-feed small { display: block; color: var(--muted); font-size: 11.5px; }
.feed-dot { position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--s1); }
.feed-dot.test { background: var(--s3); }
.home-h2 { font-size: 17px; margin: 4px 0 12px; }


.home-eyebrow { color: var(--brand-700); }
.home-focus .card-head h2 a { text-decoration: none; }
.home-focus .card-head h2 a:hover { color: var(--brand); }
.home-focus .card-head p { margin-top: 2px; }
.home-stats { margin-bottom: 4px; }
.home-stats .stat { box-shadow: none; }
.home-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.home-cols.three { grid-template-columns: repeat(3, 1fr); }
.home-cols > div { min-width: 0; }
@media (max-width: 900px) { .home-cols, .home-cols.three { grid-template-columns: 1fr; } }
.hs-track { height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.hs-track i { display: block; height: 100%; background: var(--s1); border-radius: 0 4px 4px 0; min-width: 2px; }
.home-subj { display: grid; gap: 6px; }
.hs-row { display: grid; grid-template-columns: minmax(90px, 140px) 1fr 64px 58px; gap: 10px; align-items: center; font-size: 13px; }
.hs-l { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-v { text-align: right; font-size: 12px; }
.hs-v small { color: var(--muted); }
.hs-d { text-align: right; }
.hs-d .delta { margin: 0; }
.home-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.home-rank li { display: grid; grid-template-columns: 22px 54px 1fr 52px 54px; gap: 8px; align-items: center; font-size: 13px; }
.home-rank a { font-weight: 700; text-decoration: none; }
.home-rank a:hover { color: var(--brand); }
.home-rank .hs-track i { background: var(--s3); }
.hr-n { color: var(--muted); font-weight: 700; font-size: 12px; text-align: right; }
.home-more { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.home-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: hp; }
.home-people li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-soft); border-radius: 10px; font-size: 13px; }
.home-people a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-people a:hover { color: var(--brand); }
.home-people small { grid-column: 1; color: var(--muted); font-size: 11.5px; }
.home-people > li > :last-child { grid-row: 1 / span 2; grid-column: 2; }
.home-weak { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 20px; }
.hw { display: grid; grid-template-columns: 44px 1fr; gap: 2px 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.hw-p { grid-row: 1 / span 2; font-weight: 700; color: var(--weak); text-align: right; }
.hw-t { font-size: 12.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.hw-t b { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hw .hs-track { height: 5px; }
.hw .hs-track i { background: var(--weak); opacity: .75; }
@media (max-width: 560px) { .home-stats { grid-template-columns: 1fr 1fr; } .home-stats .stat strong { font-size: 20px; } }
body.embed .home-hero { padding-top: 24px; }

/* =======================================================
   SVG & İKON BOYUTLANDIRMA EMNİYETİ (Aşırı Büyümeyi Önler)
   ======================================================= */
svg {
    max-width: 100%;
    box-sizing: border-box;
}
svg.w-3, .w-3 { width: 12px !important; min-width: 12px !important; max-width: 12px !important; }
svg.h-3, .h-3 { height: 12px !important; min-height: 12px !important; max-height: 12px !important; }
svg.w-3\.5, .w-3\.5 { width: 14px !important; min-width: 14px !important; max-width: 14px !important; }
svg.h-3\.5, .h-3\.5 { height: 14px !important; min-height: 14px !important; max-height: 14px !important; }
svg.w-4, .w-4 { width: 16px !important; min-width: 16px !important; max-width: 16px !important; }
svg.h-4, .h-4 { height: 16px !important; min-height: 16px !important; max-height: 16px !important; }
svg.w-5, .w-5 { width: 20px !important; min-width: 20px !important; max-width: 20px !important; }
svg.h-5, .h-5 { height: 20px !important; min-height: 20px !important; max-height: 20px !important; }
svg.w-6, .w-6 { width: 24px !important; min-width: 24px !important; max-width: 24px !important; }
svg.h-6, .h-6 { height: 24px !important; min-height: 24px !important; max-height: 24px !important; }
svg.w-8, .w-8 { width: 32px !important; min-width: 32px !important; max-width: 32px !important; }
svg.h-8, .h-8 { height: 32px !important; min-height: 32px !important; max-height: 32px !important; }
svg.w-10, .w-10 { width: 40px !important; min-width: 40px !important; max-width: 40px !important; }
svg.h-10, .h-10 { height: 40px !important; min-height: 40px !important; max-height: 40px !important; }
.shrink-0 { flex-shrink: 0 !important; }

/* =======================================================
   DERSİNO - Modern Panel Shell & Sidebar (program.dersino.com Uyumlu)
   ======================================================= */
.shell-app-wrap {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* Sol Kenar Çubuğu (Sabit & Aydınlık) */
.side {
    width: 18rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    color: #334155;
    flex-shrink: 0;
    z-index: 40;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

@media (min-width: 1024px) {
    html.sb-collapsed .side {
        width: 0 !important;
        border-right-width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    html.sb-collapsed #collapse-icon {
        transform: rotate(180deg);
        color: #2563eb;
    }
}

.side-scroll-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.side-scroll-inner::-webkit-scrollbar {
    width: 5px;
}
.side-scroll-inner::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

/* 1. Logo Alanı */
.side-head {
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}
.side-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.side-logo-img, img.side-logo-img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
}
.side-close-btn {
    padding: 6px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 8px;
    cursor: pointer;
}
.side-close-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

/* 2. 7/24 WhatsApp Canlı Destek */
.side-wa {
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.side-wa-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    text-decoration: none;
    transition: all 0.15s ease;
}
.side-wa-link:hover {
    background: #d1fae5;
    transform: translateY(-1px);
}
.side-wa-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-wa-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.side-wa-txt {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.side-wa-title {
    font-size: 10px;
    font-weight: 900;
    color: #064e3b;
    line-height: 1.1;
}
.side-wa-phone {
    font-size: 9px;
    font-weight: 800;
    color: #047857;
    line-height: 1.1;
}
.side-wa-dot {
    display: flex;
    width: 8px;
    height: 8px;
    position: relative;
}
.side-wa-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: #34d399;
    opacity: 0.75;
    animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.side-wa-core {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 8px;
    width: 8px;
    background: #10b981;
}
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 3. Kurum & Lisans Özeti Kartı */
.side-school-card {
    margin: 12px 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(239, 246, 255, 0.6);
    border: 1px solid #dbeafe;
    flex-shrink: 0;
}
.side-school-badge {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2563eb;
}
.side-school-name {
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-school-lic {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
}
.side-lic-pill {
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 10px;
}
.side-lic-pill.ok {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.side-lic-pill.bad {
    background: #ffe4e6;
    color: #9f1239;
    border: 1px solid #fecdd3;
}
.side-lic-days {
    font-weight: 600;
    color: #64748b;
    font-size: 10px;
}

/* 4. Navigasyon */
.side-nav {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}
.side-nav-heading {
    padding: 12px 12px 4px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}
.side-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #334155;
    transition: all 0.15s ease;
}
.side-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.side-nav-item.on {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.side-nav-item.on .side-item-icon {
    color: #ffffff;
}
.side-nav-item.on .side-item-sub {
    color: rgba(255, 255, 255, 0.85);
}
.side-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: color 0.15s;
}
.side-item-labels {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    line-height: 1.25;
}
.side-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12.5px;
}
.side-item-sub {
    font-size: 10.5px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.side-item-badge {
    padding: 2px 7px;
    border-radius: 9999px;
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}
.side-ext-icon {
    color: #94a3b8;
}

/* 5. Alt Profil Barı */
.side-user-bar {
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}
.side-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.side-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    flex-shrink: 0;
}
.side-user-meta {
    min-width: 0;
    flex: 1;
}
.side-user-name {
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-user-school {
    font-size: 10px;
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-logout-btn {
    padding: 8px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.side-logout-btn:hover {
    background: #ffe4e6;
    color: #e11d48;
}

/* Ana İçerik ve Üst Navbar */
.shell-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
}
.shell-header {
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}
.shell-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    margin-right: 12px;
}
.header-toggle-btn {
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-collapse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.header-collapse-btn:hover {
    color: #2563eb;
    background: #eff6ff;
    border-color: #bfdbfe;
}
.shell-header-titles {
    min-width: 0;
    flex: 1;
}
.shell-page-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}
.shell-page-sub {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shell-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-top-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-top-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    border: 1px solid #1d4ed8;
}
.btn-top-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.btn-top-soft {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
.btn-top-soft:hover {
    background: #dbeafe;
    color: #1e40af;
}
.btn-top-portal {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.btn-top-portal:hover {
    background: #dcfce7;
    color: #166534;
}

.shell-content {
    flex: 1;
    padding: 24px;
    max-width: 1750px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Mobil Menü */
@media (max-width: 1023px) {
    .side {
        position: fixed;
        z-index: 50;
        inset: 0 auto 0 0;
        width: 288px;
        max-width: 86vw;
        transform: translateX(-100%);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    .side.mobile-open {
        transform: translateX(0);
    }
    .side-scrim {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 45;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
    }
    .side-scrim.open {
        display: block;
    }
    .lg-hide {
        display: flex !important;
    }
    .hidden-sm {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    .lg-hide {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hidden-md {
        display: none !important;
    }
}
@media (max-width: 640px) {
    .hidden-xs {
        display: none !important;
    }
    .shell-content {
        padding: 16px 12px;
    }
}

/* =======================================================
   DERSİNO - Yeni Dashboard & Kısayol Merkezi Tasarımı
   ======================================================= */
.home-dash-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. Hoşgeldin Kartı */
.dash-welcome-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.dash-welcome-left {
    min-width: 0;
    flex: 1;
}
.dash-welcome-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.dash-welcome-date {
    font-weight: 700;
    color: #64748b;
}
.dash-status-pill {
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
}
.dash-status-pill.ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.dash-status-pill.warn {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.dash-status-pill.bad {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}
.dash-school-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 6px 0 2px;
}
.dash-school-sub {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}
.dash-welcome-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-dash-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s;
}
.btn-dash-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.btn-dash-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
}
.btn-dash-soft:hover {
    background: #f8fafc;
    color: #2563eb;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}
.school-pick-card {
    max-width: 420px;
    padding: 14px 18px;
}

/* 2. KPI Metrik Kartları */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.dash-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.dash-kpi-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.08);
}
.dash-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all 0.2s;
}
.dash-kpi-icon.bg-blue { background: #eff6ff; color: #2563eb; }
.dash-kpi-icon.bg-indigo { background: #eef2ff; color: #4f46e5; }
.dash-kpi-icon.bg-emerald { background: #ecfdf5; color: #059669; }
.dash-kpi-icon.bg-cyan { background: #ecfeff; color: #0891b2; }

.dash-kpi-card:hover .dash-kpi-icon.bg-blue { background: #2563eb; color: #ffffff; }
.dash-kpi-card:hover .dash-kpi-icon.bg-indigo { background: #4f46e5; color: #ffffff; }
.dash-kpi-card:hover .dash-kpi-icon.bg-emerald { background: #059669; color: #ffffff; }
.dash-kpi-card:hover .dash-kpi-icon.bg-cyan { background: #0891b2; color: #ffffff; }

.dash-kpi-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all 0.2s;
}
.dash-kpi-card:hover .dash-kpi-arrow {
    background: #eff6ff;
    color: #2563eb;
    transform: translateX(2px);
}
.dash-kpi-body {
    margin-top: 14px;
}
.dash-kpi-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    display: block;
}
.dash-kpi-num {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 2px 0;
    letter-spacing: -0.02em;
}
.dash-kpi-num small {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}
.dash-kpi-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: block;
}

/* 3. Kısayol Merkezi */
.dash-shortcut-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-section-title {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}
.dash-section-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 4px 0 0;
}
.dash-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.dash-shortcut-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}
.dash-shortcut-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}
.sc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.sc-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.sc-icon.bg-blue { background: #eff6ff; color: #2563eb; }
.sc-icon.bg-indigo { background: #eef2ff; color: #4f46e5; }
.sc-icon.bg-cyan { background: #ecfeff; color: #0891b2; }
.sc-icon.bg-emerald { background: #ecfdf5; color: #059669; }
.sc-icon.bg-amber { background: #fffbeb; color: #d97706; }

.dash-shortcut-card:hover .sc-icon.bg-blue { background: #2563eb; color: #ffffff; }
.dash-shortcut-card:hover .sc-icon.bg-indigo { background: #4f46e5; color: #ffffff; }
.dash-shortcut-card:hover .sc-icon.bg-cyan { background: #0891b2; color: #ffffff; }
.dash-shortcut-card:hover .sc-icon.bg-emerald { background: #059669; color: #ffffff; }
.dash-shortcut-card:hover .sc-icon.bg-amber { background: #d97706; color: #ffffff; }

.sc-badge {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.03em;
}
.bg-blue-badge { background: #eff6ff; color: #1d4ed8; }
.bg-indigo-badge { background: #eef2ff; color: #4338ca; }
.bg-cyan-badge { background: #ecfeff; color: #0e7490; }
.bg-emerald-badge { background: #ecfdf5; color: #047857; }
.bg-amber-badge { background: #fffbeb; color: #b45309; }

.sc-title {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    transition: color 0.15s;
}
.dash-shortcut-card:hover .sc-title {
    color: #2563eb;
}
.sc-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 16px;
    flex: 1;
}
.sc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 800;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.text-blue { color: #2563eb; }
.text-indigo { color: #4f46e5; }
.text-cyan { color: #0891b2; }
.text-emerald { color: #059669; }
.text-amber { color: #d97706; }

.sc-arrow {
    transition: transform 0.15s;
}
.dash-shortcut-card:hover .sc-arrow {
    transform: translateX(3px);
}

/* Diğer Kısayollar (Açılır Detay) */
.dash-more-shortcuts {
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    overflow: hidden;
}
.sc-more-summary {
    list-style: none;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}
.sc-more-summary::-webkit-details-marker {
    display: none;
}
.sc-more-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sc-more-count {
    padding: 2px 7px;
    border-radius: 9999px;
    background: #e2e8f0;
    font-size: 10px;
    color: #475569;
}
.sc-more-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}
.hide-txt {
    display: none;
}
.group\/more[open] .show-txt {
    display: none;
}
.group\/more[open] .hide-txt {
    display: inline;
}
.group\/more[open] .sc-more-chevron {
    transform: rotate(180deg);
}
.sc-more-chevron {
    transition: transform 0.2s;
}
.dash-more-grid {
    padding: 14px 18px 18px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.dash-mini-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    text-decoration: none;
    transition: all 0.15s;
}
.dash-mini-shortcut:hover {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}
.mini-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mini-icon.bg-purple { background: #f5f3ff; color: #7c3aed; }
.mini-icon.bg-blue { background: #eff6ff; color: #2563eb; }
.mini-icon.bg-rose { background: #fff1f2; color: #e11d48; }
.mini-icon.bg-amber { background: #fffbeb; color: #d97706; }
.mini-icon.bg-emerald { background: #ecfdf5; color: #059669; }

.mini-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}
.mini-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

/* 4. Kademe & Sınıf Sekmeleri */
.dash-kademe-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.dash-kademe-tab {
    display: flex;
    flex-direction: column;
    padding: 10px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
    transition: all 0.15s;
    white-space: nowrap;
}
.dash-kademe-tab:hover {
    border-color: #93c5fd;
    color: #2563eb;
}
.dash-kademe-tab.on {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.dash-kademe-tab b {
    font-size: 13px;
    font-weight: 800;
}
.dash-kademe-tab small {
    font-size: 11px;
    opacity: 0.8;
}

.dash-grade-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
}
.dash-grade-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.15s;
}
.dash-grade-pill:hover {
    border-color: #93c5fd;
    color: #2563eb;
}
.dash-grade-pill.on {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}
.dash-grade-pill.empty {
    opacity: 0.65;
}
.pill-title {
    font-weight: 800;
}
.pill-score {
    color: #2563eb;
    font-weight: 900;
}
.pill-none {
    color: #94a3b8;
    font-weight: 600;
    font-size: 11px;
}

/* 5. Odak Deneme Kartı */
.dash-focus-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}
.dash-focus-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.dash-focus-title-block {
    min-width: 0;
    flex: 1;
}
.dash-focus-tag {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #2563eb;
    letter-spacing: 0.05em;
}
.dash-focus-name {
    font-size: 20px;
    font-weight: 900;
    margin: 4px 0 2px;
    letter-spacing: -0.02em;
}
.dash-focus-name a {
    color: #0f172a;
    text-decoration: none;
}
.dash-focus-name a:hover {
    color: #2563eb;
}
.dash-focus-meta {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}
.dash-focus-note {
    font-size: 11.5px;
    color: #d97706;
    margin: 4px 0 0;
}
.dash-focus-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-focus-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.15s;
}
.btn-focus-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.btn-focus-soft {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}
.btn-focus-soft:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dash-series-nav {
    display: flex;
    gap: 6px;
    margin: 16px 0;
    overflow-x: auto;
}
.dash-series-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}
.dash-series-tab.on {
    background: #2563eb;
    color: #ffffff;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.dash-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.stat-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}
.stat-val {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 4px 0;
    letter-spacing: -0.02em;
}
.stat-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.dash-deep-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 18px;
}
@media (max-width: 860px) {
    .dash-deep-cols {
        grid-template-columns: 1fr;
    }
}
.dash-sub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}
.dash-card-h3 {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.dash-card-h3 small {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}


/* Öğrenciler, profil, notlar, kadro (private/lgs_people.php) */
.hero-sm .eyebrow a { text-decoration: none; }
.st-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 16px 20px; }
.st-filter .field { margin: 0; flex: 1 1 170px; min-width: 0; }
.st-filter .field:first-of-type { flex: 2 1 240px; }
.st-filter input, .st-filter select { width: 100%; }
.st-nophone { color: var(--weak); font-weight: 700; font-size: 12px; }
.sub-cell { font-size: 12px; color: var(--ink-soft); max-width: 260px; }
.table th[data-sort] { cursor: pointer; }
.table th.sorted { color: var(--brand-700); }
.st-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.st-grid > .card { min-width: 0; }
@media (max-width: 900px) { .st-grid { grid-template-columns: 1fr; gap: 0; } }
.st-contact, .cns-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.st-contact input, .cns-form input, .note-form input, .note-form select, .note-form textarea, .st-import textarea { width: 100%; box-sizing: border-box; }
.st-danger { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.st-danger form { margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.st-import { display: flex; flex-direction: column; gap: 14px; }
.st-import textarea { font-family: "JetBrains Mono", monospace; font-size: 12px; }
.st-import-help pre { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: var(--line-soft); font-size: 11.5px; overflow-x: auto; }
.st-import-help p { margin: 0; font-size: 12px; }
.st-import-go { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
tr.st-skip td { color: var(--muted); background: #fcfcfd; }
.note-new { margin-bottom: 16px; }
.note-new > summary { list-style: none; display: inline-flex; cursor: pointer; }
.note-new > summary::-webkit-details-marker { display: none; }
.note-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.note-form .wide { grid-column: 1 / -1; }
.note-form button { justify-self: start; }
@media (max-width: 560px) { .note-form { grid-template-columns: 1fr; } }
.notes { display: grid; gap: 12px; }
.note { border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 12px; padding: 12px 16px; background: var(--surface); }
.note-onemli { border-left-color: var(--warn); }
.note-acil { border-left-color: var(--bad); }
.note.closed { opacity: .65; }
.note h3 { margin: 2px 0 4px; font-size: 15px; }
.note-stu { font-weight: 800; text-decoration: none; color: var(--brand-700); font-size: 13px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; color: var(--muted); }
.pill.pr-rutin { color: var(--off); background: var(--off-bg); border-color: var(--off-line); }
.pill.pr-onemli { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.pill.pr-acil { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.pill.pr-vis { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.pill.pr-closed { color: var(--muted); background: var(--line-soft); border-color: var(--line); }
.note-body { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; white-space: normal; }
.note-tasks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.note-tasks li { display: flex; align-items: center; gap: 8px; }
.note-tasks li form { margin: 0; }
.note-tasks li.done span:last-child { text-decoration: line-through; color: var(--muted); }
.task-box { border: 0; background: none; padding: 0; font-size: 16px; line-height: 1; cursor: pointer; color: var(--brand-700); }
.note-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.note-actions form { margin: 0; }
.cns-list { display: grid; gap: 8px; }
.cns { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px; flex-wrap: wrap; }
.cns-who { flex: 1; min-width: 160px; line-height: 1.3; }
.cns-who small { display: block; color: var(--muted); font-size: 12px; }
.cns form { margin: 0; }
.cns-act[open] { flex-basis: 100%; order: 5; }
.cns-act > summary { list-style: none; cursor: pointer; }
.cns-act form { display: flex; gap: 6px; margin-top: 8px; }
.cns-act input { flex: 1; }
.st-account { max-width: 560px; }
.st-mypw { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.st-mypw summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--brand-700); }
.st-mypw form { max-width: 360px; margin-top: 12px; }
.st-grid .table.compact { min-width: 0; }
.cns-who { min-width: 120px; }
/* Ana sayfa: kademe → sınıf düzeyi → seri */
.home-kademe { display: flex; gap: 6px; padding: 5px; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow-x: auto; }
.home-kademe a { flex: 1 0 auto; display: flex; flex-direction: column; padding: 9px 16px; border-radius: 12px; text-decoration: none; line-height: 1.25; }
.home-kademe a b { font-size: 14px; }
.home-kademe a small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.home-kademe a:hover { background: var(--line-soft); }
.home-kademe a.on { background: var(--brand); color: #fff; }
.home-kademe a.on small { color: #e0e7ff; }
.home-level-h { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 10px; }
.home-level-h h2 { font-size: 17px; }
.home-level-h span { font-size: 12px; }
.home-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 22px; }
.home-grade { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.home-grade:hover { border-color: #c7d2fe; }
.home-grade.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50), var(--shadow); }
.home-grade.empty { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 10px, #fafbfc 10px, #fafbfc 20px); }
.hg-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hg-h b { font-size: 16px; letter-spacing: -.01em; }
.hg-target { font-size: 10.5px; font-weight: 800; color: var(--brand-700); background: var(--brand-50); border: 1px solid #c7d2fe; padding: 1px 8px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.empty .hg-target { color: var(--muted); background: var(--line-soft); border-color: var(--line); }
.hg-s { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.hg-v .delta { vertical-align: middle; }
.hg-f { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.hg-none { margin-top: 8px; font-weight: 700; color: var(--ink-soft); }
.home-grade .spark { position: absolute; right: 16px; top: 52px; }
.home-focus-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.home-focus-top h2 { font-size: 20px; }
.home-series { display: flex; flex-wrap: wrap; gap: 6px; }
.home-series a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 800; font-size: 13px; }
.home-series a small { font-weight: 600; font-size: 11px; color: var(--muted); }
.home-series a.cat-okul { border-style: dashed; }
.home-series a:hover { border-color: #c7d2fe; }
.home-series a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.home-series a.on small { color: #cbd5e1; }
.home-alert { display: flex; align-items: center; gap: 12px; margin: -6px 0 18px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn); text-decoration: none; font-size: 13px; }
.home-alert.bad { border-color: var(--bad-line); background: var(--bad-bg); color: var(--bad); }
.home-alert b { white-space: nowrap; }
.home-alert span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); }
.home-alert i { font-style: normal; font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) { .home-alert span { display: none; } }

/* Sınav notları (öğretmen not girişi) */
.cns-act form.cns-form { display: grid; gap: 10px; }
.pill.pr-priv { color: #6d28d9; background: #f5f3ff; border-color: #ddd6fe; }
.table th.center, .table td.center { text-align: center; }
.gr-sheet { min-width: 820px; }
.gr-in { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font: 600 14px "JetBrains Mono", monospace; background: var(--surface); }
.gr-in:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.gr-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.gr-term { margin: 18px 0 8px; font-size: 14px; color: var(--ink-soft); }
.gr-table { min-width: 0; }
.gr-lo { color: var(--weak); font-weight: 700; }
.gr-hi { color: var(--good); font-weight: 700; }
.gr-g { color: var(--muted); font-weight: 700; }

/* Karne: durum analizi (private/lgs_report.php) */
.rp-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.rp-subj { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; border-top: 4px solid var(--s4); }
.rp-subj.is-strong { border-top-color: var(--ok); }
.rp-subj.is-weak { border-top-color: var(--bad); }
.rp-subj-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13px; }
.rp-subj-v strong { font-size: 22px; }
.rp-subj .meter { margin: 6px 0 8px; }
.rp-subj.is-strong .meter i { background: var(--ok); }
.rp-subj.is-weak .meter i { background: var(--bad); }
.rp-subj.is-mid .meter i { background: var(--s4); }
.rp-subj-f { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 11px; }
.rp-badge { font-weight: 800; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); }
.is-strong .rp-badge { background: var(--ok-bg); color: var(--ok); }
.is-weak .rp-badge { background: var(--bad-bg); color: var(--bad); }
.rp-tr { font-size: 11px; }
.rp-tr.up { color: var(--ok); }
.rp-tr.down { color: var(--bad); }
.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .rp-grid { grid-template-columns: 1fr; } }
.rp-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; border-left: 4px solid var(--line); }
.rp-box h3, .rp-tips h3 { font-size: 14px; margin: 0 0 10px; }
.rp-good { border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-bg), #fff 40%); }
.rp-miss { border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-bg), #fff 40%); }
.rp-focus { border-left-color: var(--brand); background: linear-gradient(90deg, var(--brand-50), #fff 40%); }
.rp-risk { border-left-color: var(--bad); background: linear-gradient(90deg, var(--bad-bg), #fff 40%); }
.rp-box ul, .rp-box ol { margin: 0; padding-left: 18px; font-size: 13px; }
.rp-box li { margin: 0 0 7px; }
.rp-box li > span { color: var(--ink-soft); }
.rp-box li > b { display: block; }
.rp-risk li.lv-high::marker { color: var(--bad); }
.rp-risk li.lv-mid::marker { color: var(--warn); }
.rp-rep { font-style: normal; font-size: 10px; font-weight: 800; color: var(--bad); background: var(--bad-bg); padding: 1px 6px; border-radius: 6px; }
.rp-sub { font-size: 12px; font-weight: 700; color: var(--muted); margin: 10px 0 6px; }
.rp-box ul.rp-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.rp-tags li { margin: 0; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.rp-more { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.rp-goal { margin: 8px 0 0; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px dashed var(--brand); }
.rp-tips { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.rp-tips ol { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.55; }
.rp-tips li { margin-bottom: 6px; }
@media print { .rp-box, .rp-subj, .rp-tips { break-inside: avoid; } .rp-grid { grid-template-columns: 1fr 1fr; } .card.rp { break-inside: auto; } .card.rp .card-head { break-after: avoid; } }

/* Karne: puan ve net kartları */
@media (min-width: 900px) { .ks-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.ks { display: flex; flex-direction: column; gap: 10px; }
.ks-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.ks-main strong { font-size: 30px; margin: 0; line-height: 1.1; }
.ks-main .of { font-size: 14px; }
.ks-main .delta { font-size: 12px; padding: 2px 8px; }
.ks-score { border-color: #c7d2fe; background: linear-gradient(180deg, #fff, var(--brand-50)); }
.ks-score .ks-main strong { color: var(--brand-700); }
.ks-cmp { display: grid; gap: 6px; }
.ks-row { display: grid; grid-template-columns: 74px 1fr 62px; align-items: center; gap: 8px; font-size: 12px; }
.ks-row span { color: var(--muted); font-weight: 600; }
.ks-row b { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.ks-track { height: 8px; border-radius: 6px; background: rgba(148, 163, 184, .18); overflow: hidden; }
.ks-track i { display: block; height: 100%; border-radius: 6px; }
.ks-me .ks-track i { background: var(--brand); }
.ks-me span, .ks-me b { color: var(--brand-700); font-weight: 800; }
.ks-s2 .ks-track i { background: var(--s2); }
.ks-s3 .ks-track i { background: var(--s3); }
.ks-s4 .ks-track i { background: var(--s4); }
.ks-seg { position: relative; display: flex; height: 12px; border-radius: 7px; background: var(--line-soft); overflow: visible; }
.ks-seg i { display: block; height: 100%; }
.ks-seg i:first-child { border-radius: 7px 0 0 7px; }
.ks-seg i:last-child { border-radius: 0 7px 7px 0; }
.ks-seg .d, .ks-dyb .d::before { background: var(--ok); }
.ks-seg .y, .ks-dyb .y::before { background: var(--bad); }
.ks-seg .b, .ks-dyb .b::before { background: #cbd5e1; }
.ks-seg .mk { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: var(--s4); border-radius: 2px; box-shadow: 0 0 0 2px #fff; }
.ks-dyb { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-soft); }
.ks-dyb span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ks-refs { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-refs span { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--line-soft); border-radius: 999px; padding: 2px 9px; }
.ks-refs b { color: var(--ink); font-family: 'JetBrains Mono', monospace; }
.ks-refs span:last-child { background: var(--warn-bg); }

/* Durum analizi ekleri */
.rp-subj .meter { width: 100%; }
.rp-subj-r { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--muted); margin-top: 6px; }
.rp-subj-r .delta { font-size: 10px; padding: 0 5px; }
.rp-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-soft); background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.rp-gap { display: block; margin-top: 2px; font-size: 11.5px; color: var(--warn); font-weight: 600; }

/* Öneriler: gerekçeli planlar */
.rp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
.rp-plan { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.rp-plan-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 6px; }
.rp-no { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.rp-plan-g { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; padding: 2px 9px; }
.rp-k { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.rp-k2 { margin-top: 4px; }
.rp-plan ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.rp-plan li { margin-bottom: 4px; }
.rp-plan li b { color: var(--ink); }
.rp-plan ul.rp-do li::marker { content: "→  "; color: var(--brand); }

/* Ders (branş) karnesi (private/lgs_subject.php) */
.sk-tag { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 800; letter-spacing: 0; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; margin-left: 6px; }
.sk-pick select { min-width: 160px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 13px; }
.hero .sk-pick select { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; }
.hero .sk-pick option { color: var(--ink); }
.sk-rank { display: flex; flex-direction: column; gap: 8px; }
.sk-rank > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sk-rank > div span { color: var(--muted); font-weight: 700; font-size: 13px; }
.sk-rank strong { font-size: 24px; margin: 0; }
.sk-bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sk-band { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: grid; gap: 1px; }
.sk-band small { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.sk-band small .muted { font-weight: 600; font-size: 10.5px; }
.sk-band strong { font-size: 22px; }
.sk-band em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.sk-band-easy { border-left: 4px solid var(--ok); }
.sk-band-mid { border-left: 4px solid var(--s4); }
.sk-band-hard { border-left: 4px solid var(--bad); }
.sk-cells { margin-bottom: 10px; }
.sk-qtable td { vertical-align: middle; }
.sk-qtable .center, .table .center { text-align: center; }
.sk-qtable tr.sk-q-bad td:first-child { box-shadow: inset 3px 0 0 var(--weak); }
.sk-qtable tr.sk-q-blank td:first-child { box-shadow: inset 3px 0 0 #cbd5e1; }
.sk-rate { display: inline-block; width: 70px; height: 7px; border-radius: 4px; background: var(--line-soft); overflow: hidden; vertical-align: middle; border: 0; padding: 0; }
.sk-rate i { display: block; height: 100%; background: var(--muted); }
.sk-rate.q-hi i { background: var(--ok); }
.sk-rate.q-mid i { background: var(--s4); }
.sk-rate.q-lo i { background: var(--bad); }
.sk-note { font-size: 12px; color: var(--ink-soft); }
.table tr.sk-grp td { background: var(--line-soft); font-weight: 800; font-size: 12px; }
.line-chart .sk-sch-line { fill: none; stroke: var(--s3); stroke-width: 2; stroke-dasharray: 2 4; }
.line-chart .sk-sch-dot { fill: var(--s3); stroke: #fff; stroke-width: 2; }
.rp-plan .rp-badge + .rp-tr { margin-left: 2px; }
.sk-batch-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 12px; align-items: end; }
.sk-batch-form select { width: 100%; }
@media (max-width: 760px) { .sk-batch-form { grid-template-columns: 1fr; } }
.print-only { display: none; }
.sk-lines i { display: block; height: 28px; border-bottom: 1px solid var(--line); }
.sk-sign { display: flex; justify-content: space-between; margin-top: 26px; font-size: 12px; color: var(--muted); font-weight: 700; }
.sk-sign span { width: 40%; border-top: 1px solid var(--line); padding-top: 4px; text-align: center; }
.sk-batch .sk + .sk { margin-top: 32px; padding-top: 32px; border-top: 2px dashed var(--line); }
@media print {
    .print-only { display: block; }
    .sk-tag { background: none; color: var(--ink); border: 1.5px solid var(--ink); }
    .sk-stats { grid-template-columns: 1.3fr 1.2fr 1fr; }
    .sk-sec .card-head { break-after: avoid; }
    .sk-qs, .sk-sec { break-inside: auto; }
    .sk-qtable tr, .sk-band, .rp-plan { break-inside: avoid; }
    .sk-cells .acell { padding: 1px; }
    .sk-batch .sk + .sk { margin-top: 0; padding-top: 0; border-top: 0; break-before: page; }
    .sk-note-box { break-inside: avoid; }
    .sk-cells { break-inside: avoid; }
}
.sk-qgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; align-items: start; }
@media (min-width: 1100px) { .sk-qgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.table.compact.sk-qtable { min-width: 480px; }
.table.compact.sk-qtable th, .table.compact.sk-qtable td { padding: 7px 8px; }
.sk-qtable .sk-rate { width: 44px; }
.sk-qtable .pct-val { width: 34px; }
@media print {
    .sk-qgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
    .table.compact.sk-qtable { min-width: 0; }
    .sk-sec .table.compact th, .sk-sec .table.compact td { padding: 4px 6px; font-size: 10px; }
    .table.compact.sk-qtable th, .table.compact.sk-qtable td { padding: 3px 4px; font-size: 9px; }
    .sk-qtable .sk-rate { width: 30px; }
    .sk-note { font-size: 8px; }
    .sk-qgrid .table-wrap { overflow: visible; }
    .sk-qtable .sk-rate { width: 24px; }
    .sk-qtable .pct-val { width: 28px; }
    .sk .card { padding: 12px 16px; margin-bottom: 10px; }
    .sk .stats { margin-bottom: 10px; gap: 10px; }
    .sk .stat { padding: 10px 14px; }
    .sk .card-head { margin-bottom: 8px; }
    .sk .rp-plan { padding: 8px 12px; }
    .sk .rp-box { padding: 8px 14px; margin-top: 8px; }
    .sk-note-box { padding-top: 10px; padding-bottom: 10px; }
    .sk-note-box .card-head { margin-bottom: 4px; }
    .sk-lines i { height: 22px; }
    .sk-sign { margin-top: 18px; }
    .sk-bands { margin-bottom: 8px; }
    .sk-band { padding: 5px 10px; }
    .sk-band strong { font-size: 18px; }
}
.sk-qtable th { white-space: nowrap; }
.sk-note { white-space: nowrap; }
/* Toplu ders karnesinde tek öğrenci yazdırma */
.sk-batch .sk-hero .btn-ghost { white-space: nowrap; }
@media print {
    body.sk-one .sk-batch .sk:not(.sk-sel) { display: none; }
    body.sk-one .sk-batch .sk.sk-sel { break-before: auto; }
}
/* Ders analizi (private/lgs_subject_analysis.php) */
.sa-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.sa-form select { width: 100%; }
@media (max-width: 760px) { .sa-form { grid-template-columns: 1fr; } }
.sa-stats { grid-template-columns: 1.3fr 1.2fr 1fr; }
@media (max-width: 900px) { .sa-stats { grid-template-columns: 1fr; } }
.sa-dist { display: flex; flex-direction: column; }
.sa-bars { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; min-height: 110px; margin-top: 8px; }
.sa-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.sa-bar b { font-size: 12px; }
.sa-bar i { display: block; width: 100%; min-height: 2px; border-radius: 5px 5px 0 0; background: var(--s1); }
.sa-bar.sa-b0 i { background: var(--bad); }
.sa-bar.sa-b1 i { background: #f97316; }
.sa-bar.sa-b2 i { background: var(--s4); }
.sa-bar.sa-b3 i { background: #84cc16; }
.sa-bar.sa-b4 i { background: var(--ok); }
.sa-bar small { font-size: 10px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.sa-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sa-notes li { padding: 8px 12px 8px 34px; border-radius: 10px; background: var(--line-soft); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); position: relative; }
.sa-notes li b { color: var(--ink); }
.sa-notes li::before { position: absolute; left: 12px; top: 8px; font-weight: 800; }
.sa-notes .sa-nup { background: var(--ok-bg); }
.sa-notes .sa-nup::before { content: "▲"; color: var(--ok); font-size: 11px; top: 10px; }
.sa-notes .sa-ndown { background: var(--bad-bg); }
.sa-notes .sa-ndown::before { content: "!"; color: var(--bad); }
.sa-notes .sa-nflat::before { content: "•"; color: var(--muted); }
.sa-books { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sa-worst h3, .sa-list h3 { font-size: 13px; margin: 0 0 8px; }
.sa-wl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sa-w { border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 10px; padding: 7px 10px; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; }
.sa-w > b { font-size: 18px; }
.sa-w span { font-size: 12px; color: var(--ink-soft); }
.sa-w small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.sa-w em { grid-column: 1 / -1; font-style: normal; font-size: 10px; font-weight: 800; color: var(--bad); }
.sa-cells .acell b { font-size: 11px; }
.sa-seg { display: flex; width: 110px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line-soft); }
.sa-seg i { display: block; height: 100%; }
.sa-seg .d { background: var(--ok); }
.sa-seg .y { background: var(--bad); }
.sa-seg .b { background: #cbd5e1; }
.sa-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.sa-list { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.sa-list ul { margin: 0; padding: 0; list-style: none; }
.sa-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.sa-list li:last-child { border-bottom: 0; }
.sa-list li b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sa-l-sup { border-top: 3px solid var(--bad); }
.sa-l-up { border-top: 3px solid var(--ok); }
.sa-l-down { border-top: 3px solid var(--s4); }
.sa-all summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--brand-700); margin-bottom: 8px; }
@media print {
    .sa-all:not([open]) > *:not(summary) { display: block; }
    .sa-all summary { display: none; }
    .sa .card { padding: 12px 16px; margin-bottom: 10px; }
    .sa .stat { padding: 10px 14px; }
    .sa .card-head { margin-bottom: 8px; break-after: avoid; }
    .sa-stats { grid-template-columns: 1.3fr 1.2fr 1fr; }
    .sa .table.compact th, .sa .table.compact td { padding: 3px 6px; font-size: 10px; }
    .sa-qgrid, .sa .sk-qgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
    .sa .table.compact.sk-qtable { min-width: 0; }
    .sa-seg { width: 60px; }
    .sa-notes li, .sa-w, .sa-list, .sa tr { break-inside: avoid; }
    .sa-cells { break-inside: avoid; }
}

/* Ana sayfa v2 (2026-10-08): iki sütun — analiz + yan panel */
.home-hero { padding-top: 22px; padding-bottom: 22px; align-items: center; }
.home-hero h1 { font-size: clamp(22px, 3vw, 28px); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); color: #e2e8f0; border: 1px solid rgba(255, 255, 255, .18); }
.hp-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }
.hp-chip.ok::before { background: #34d399; }
.hp-chip.warn::before { background: #fbbf24; }
.hp-chip.bad { background: rgba(244, 63, 94, .18); border-color: rgba(251, 113, 133, .45); color: #fff; }
.hp-chip.bad::before { background: #fb7185; }
.hp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.hp-main { min-width: 0; container-type: inline-size; }
.hp-side { display: grid; gap: 16px; min-width: 0; position: sticky; top: 16px; }
.hp-side .card, .hp-main > .card { margin-bottom: 0; }
@media (max-width: 1180px) { .hp-layout { grid-template-columns: 1fr; } .hp-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; } }

.hp-grades { display: flex; gap: 6px; padding: 5px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow-x: auto; }
.hp-grade { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.hp-grade b { font-size: 14px; }
.hp-grade .mono { font-weight: 700; color: var(--ink-soft); }
.hp-grade small { color: var(--muted); font-weight: 600; }
.hp-grade .delta { margin: 0; }
.hp-grade:hover { background: var(--line-soft); }
.hp-grade.on { background: var(--ink); color: #fff; }
.hp-grade.on .mono, .hp-grade.on small { color: #cbd5e1; }
.hp-grade.empty b { color: var(--muted); }
.hp-grade.on.empty b { color: #fff; }

.home-focus { padding: 22px 24px; }
.hp-focus-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }
.hp-title { min-width: 0; }
.hp-title .eyebrow { margin: 0 0 4px; }
.hp-title h2 { font-size: 22px; letter-spacing: -.02em; }
.hp-title h2 a { text-decoration: none; }
.hp-title h2 a:hover { color: var(--brand); }
.hp-title p { margin: 4px 0 0; font-size: 13px; }
.hp-note { font-size: 12px !important; }
.home-focus .home-series { margin-top: 14px; }
.hp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 6px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hp-stats > div { padding: 12px 16px; min-width: 0; border-left: 1px solid var(--line); }
.hp-stats > div:first-child { border-left: 0; background: var(--brand-50); }
.hp-stats small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.hp-stats strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.hp-stats > div:first-child strong { color: var(--brand-700); }
.hp-stats em { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-stats em .delta { margin-left: 2px; }
.hp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.hp-cols > div { min-width: 0; }
.hp-h3 { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 800; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.hp-h3 small { font-size: 12px; font-weight: 600; color: var(--muted); }
.hp-empty { font-size: 13px; margin: 0; }
.hp-people { list-style: none; margin: 0; padding: 0; display: grid; }
.hp-people li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.hp-people li:last-child { border-bottom: 0; }
.hp-people a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-people a:hover { color: var(--brand); }
.hp-people small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hp-people .mono { font-weight: 700; min-width: 48px; text-align: right; }
.hp-people .delta { margin: 0; min-width: 48px; text-align: center; }
.hp-arrow { font-size: 10px; text-align: center; }
.hp-arrow.up { color: var(--good); }
.hp-arrow.down { color: var(--weak); }
.home-focus .home-weak { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@container (max-width: 720px) {
    .hp-cols { grid-template-columns: 1fr; }
    .hp-stats { grid-template-columns: 1fr 1fr; }
    .hp-stats > div:nth-child(3) { border-left: 0; }
    .hp-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.hp-card { padding: 18px 20px; }
.hp-card-h { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }
.hp-card-h small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hp-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bad-bg); color: var(--bad); font-size: 12px; font-weight: 800; }
.hp-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp-kpis a { display: grid; grid-template-columns: 1fr auto; gap: 0 6px; padding: 10px 12px; border-radius: 12px; background: var(--line-soft); text-decoration: none; border: 1px solid transparent; }
.hp-kpis a:hover { border-color: #c7d2fe; background: var(--brand-50); }
.hp-kpis span { font-size: 12px; font-weight: 700; color: var(--muted); grid-column: 1 / -1; }
.hp-kpis b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.hp-kpis small { align-self: end; padding-bottom: 3px; font-size: 11.5px; color: var(--muted); font-weight: 600; text-align: right; }
.hp-kpi-wide { grid-column: 1 / -1; }
.hp-kpis .meter { grid-column: 1 / -1; display: block; width: 100%; margin-top: 6px; }
.hp-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hp-todo li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.hp-todo li.todo-bad { background: var(--bad-bg); }
.hp-todo li.todo-warn { background: var(--warn-bg); }
.hp-todo .todo-ic { width: 22px; height: 22px; font-size: 12px; }
.hp-todo li > div { min-width: 0; }
.hp-todo li a { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 800; color: var(--brand-700); text-decoration: none; }
.hp-todo li a:hover { text-decoration: underline; }
.hp-side .home-feed { gap: 12px; }
@media (max-width: 560px) {
    .home-focus { padding: 18px 16px; }
    .hp-title h2 { font-size: 19px; }
    .hp-focus-h .hero-actions { width: 100%; }
    .hp-stats strong { font-size: 20px; }
    .hp-kpis b { font-size: 18px; }
}
.hp-stats em { white-space: normal; overflow: visible; line-height: 1.4; }
.hp-todo li a { display: table; }
.home-focus .hs-row { grid-template-columns: minmax(96px, 140px) minmax(60px, 1fr) 64px 56px; }
@container (max-width: 480px) {
    .home-focus .hs-row { grid-template-columns: 1fr auto 56px; row-gap: 4px; }
    .home-focus .hs-row .hs-track { grid-column: 1 / -1; grid-row: 2; }
    .home-focus .home-subj { gap: 10px; }
    .home-rank li { grid-template-columns: 18px 48px 1fr 48px 50px; }
}

/* Ana sayfa: sözel açıklamalar (2026-10-08) */
.hp-story { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.hp-story-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.hp-story ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hp-story li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.hp-story li b { color: var(--ink); }
.hp-story li::before { content: "•"; position: absolute; left: 4px; top: 0; font-weight: 800; color: var(--muted); }
.hp-story li.st-good::before { content: "▲"; font-size: 10px; top: 3px; color: var(--good); }
.hp-story li.st-bad::before { content: "!"; left: 6px; color: var(--weak); }
.hp-help-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.hp-help-toggle:hover { border-color: #c7d2fe; color: var(--brand-700); }
.hp-help { margin: -4px 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.hp-stats + .hp-help { margin: 8px 0 0; }
.hp-nohelp .hp-help { display: none; }
@media print { .hp-help-toggle { display: none; } }

/* Okul analizi (?okulanaliz=1, private/lgs_deep.php) */
.hp-story-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.hp-story-more:hover { text-decoration: underline; }
.dp-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.dp-toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; text-decoration: none; }
.dp-toc a:hover { border-color: #c7d2fe; color: var(--brand-700); }
.dp-sec { padding: 22px 24px; margin-bottom: 18px; scroll-margin-top: 16px; }
.dp-sec > h2 { font-size: 18px; margin: 0 0 6px; }
.dp-sec > .hp-help { margin: 0 0 14px; font-size: 13px; max-width: 900px; }
.dp-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dp-notes li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.dp-notes li b { color: var(--ink); }
.dp-notes li::before { content: "•"; position: absolute; left: 4px; top: 0; font-weight: 800; color: var(--muted); }
.dp-notes li.st-good::before { content: "▲"; font-size: 10px; top: 3px; color: var(--good); }
.dp-notes li.st-bad::before { content: "!"; left: 6px; color: var(--weak); }
.dp-map { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 13px; min-width: 560px; }
.dp-map th, .dp-map td { padding: 7px 8px; text-align: left; white-space: nowrap; }
.dp-map thead th { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.dp-map .num { text-align: right; }
.dp-map tbody th a { text-decoration: none; font-weight: 800; }
.dp-map tbody th a:hover { color: var(--brand); }
.dp-cell { border-radius: 8px; background: var(--line-soft); }
.dp-cell[data-s="up"] { background: color-mix(in srgb, #10b981 calc(var(--v) * 45%), #f8fafc); }
.dp-cell[data-s="down"] { background: color-mix(in srgb, #f43f5e calc(var(--v) * 45%), #f8fafc); }
.dp-cell span { display: block; font-weight: 700; }
.dp-cell small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.dp-map tr.total th, .dp-map tr.total td { border-top: 2px solid var(--line); font-weight: 800; }
.dp-small { font-size: 10px; font-weight: 700; color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 0 5px; border-radius: 999px; }
.dp-dyb { display: flex; width: 160px; max-width: 100%; height: 10px; border-radius: 5px; overflow: hidden; background: var(--line-soft); vertical-align: middle; }
.dp-dyb i, .dp-legend i { display: block; height: 100%; }
.dp-dyb i.d, .dp-legend i.d { background: #10b981; }
.dp-dyb i.y, .dp-legend i.y { background: #f43f5e; }
.dp-dyb i.b, .dp-legend i.b { background: #cbd5e1; }
.dp-loss td small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.dp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 10px 0 0; font-size: 12px; }
.dp-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.dp-legend i { width: 12px; height: 10px; border-radius: 3px; }
.dp-legend i.now { background: var(--s1); }
.dp-legend i.prev { background: #cbd5e1; }
.dp-bar { display: inline-block; width: 90px; height: 8px; border-radius: 4px; background: var(--line-soft); overflow: hidden; vertical-align: middle; }
.dp-bar i { display: block; height: 100%; background: var(--weak); opacity: .7; }
.dp-bands { display: grid; gap: 8px; max-width: 720px; }
.dp-band { display: grid; grid-template-columns: 110px 1fr 110px; gap: 12px; align-items: center; font-size: 13px; }
.dp-band-l { font-weight: 700; }
.dp-band-bars { display: grid; gap: 3px; }
.dp-band-bars i { display: block; height: 10px; border-radius: 0 5px 5px 0; min-width: 2px; }
.dp-band-bars i.now { background: var(--s1); }
.dp-band-bars i.prev { height: 5px; background: #cbd5e1; }
.dp-band-v b { font-size: 15px; }
.dp-pill { display: inline-block; margin: 0 4px 2px 0; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ok-bg); color: var(--good); font-family: var(--mono, ui-monospace, monospace); }
.dp-pill.bad { background: var(--bad-bg); color: var(--weak); }
.dp-chronic th small { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.dp-why { font-size: 13px; color: var(--ink-soft); white-space: normal; }
.dp-streak small { white-space: nowrap; }
@media (max-width: 560px) { .dp-sec { padding: 18px 16px; } .dp-band { grid-template-columns: 84px 1fr 70px; } .dp-band-v small { display: none; } }
@media print { .dp-toc, .dp-print, .hp-grades { display: none; } .dp-sec { break-inside: avoid; box-shadow: none; } .dp-cell { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.dp-sec .table tbody th { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.dp-chronic tbody th small { text-transform: uppercase; }
.dp-sec .table-wrap + .dp-notes { margin-top: 14px; }

/* =======================================================
   DERSİNO - Tüm Alt Sayfalar Tasarım & Görsel İyileştirme
   (program.dersino.com ile tam uyumlu modern SaaS görünümü)
   ======================================================= */

.shell-content .hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: #0f172a;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 20px;
}
.shell-content .hero h1 {
    color: #0f172a;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.shell-content .hero-text {
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 6px;
}
.shell-content .hero-text b {
    color: #0f172a;
    font-weight: 700;
}
.shell-content .hero-text .muted {
    color: #64748b;
}
.shell-content .hero .eyebrow {
    color: #2563eb;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.shell-content .hero .eyebrow a {
    color: #2563eb;
    text-decoration: none;
}
.shell-content .hero .eyebrow a:hover {
    text-decoration: underline;
}
.shell-content .hero .btn-soft {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.shell-content .hero .btn-soft:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.shell-content .hero .btn-accent {
    background: #2563eb;
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.shell-content .hero .btn-accent:hover {
    background: #1d4ed8;
}
.shell-content .hero .btn-ghost {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}
.shell-content .hero .btn-ghost:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* Kartlar */
.shell-content .card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}
.shell-content .card-head {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.shell-content .card-head h2 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* Tablolar */
.shell-content .table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow-x: auto;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.shell-content .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.shell-content .table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.shell-content .table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.shell-content .table tbody tr:hover td {
    background: #f8fafc;
}
.shell-content .table tbody tr:last-child td {
    border-bottom: none;
}
.shell-content .table .school-name {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}
.shell-content .table .school-name:hover {
    color: #2563eb;
}
.shell-content .table .sub {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
}

/* İstatistik Metrikleri */
.shell-content .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.shell-content .stat {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.shell-content .stat small {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}
.shell-content .stat strong {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 4px;
    display: block;
}
.shell-content .stat em {
    font-size: 11.5px;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* Şube Çipleri / Filtreler */
.shell-content .chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.shell-content .chip {
    padding: 5px 13px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    transition: all 0.15s ease;
}
.shell-content .chip:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
.shell-content .chip.on {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Okul Testleri Afişi */
.shell-content .qt-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 16px 22px;
    text-decoration: none;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shell-content .qt-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.shell-content .qt-banner b {
    font-size: 15px;
    color: #1e40af;
    font-weight: 800;
}
.shell-content .qt-banner span {
    font-size: 13px;
    color: #3b82f6;
    font-weight: 500;
    flex: 1;
}
.shell-content .qt-banner i {
    font-size: 18px;
    font-weight: 800;
    color: #2563eb;
    font-style: normal;
}

/* Yükleme Alanı */
.shell-content .drop {
    background: #f8fafc;
    border: 2px dashed #93c5fd;
    border-radius: 18px;
    padding: 42px 24px;
    text-align: center;
    transition: all 0.15s ease;
    cursor: pointer;
}
.shell-content .drop:hover, .shell-content .drop.over {
    background: #eff6ff;
    border-color: #2563eb;
}
.shell-content .drop strong {
    font-size: 15px;
    color: #1e40af;
    font-weight: 800;
}

/* Form Elemanları & Butonlar */
.shell-content input[type="text"],
.shell-content input[type="search"],
.shell-content input[type="password"],
.shell-content input[type="tel"],
.shell-content select,
.shell-content textarea {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.shell-content input:focus,
.shell-content select:focus,
.shell-content textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.shell-content .btn {
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
    text-decoration: none;
    cursor: pointer;
}
.shell-content .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 8px;
}
.shell-content .btn-accent {
    background: #2563eb;
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}
.shell-content .btn-accent:hover {
    background: #1d4ed8;
}
.shell-content .btn-soft {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.shell-content .btn-soft:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.shell-content .btn-ghost {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}
.shell-content .btn-ghost:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* Üst çubuk: iki satırlı PDF yükleme butonları (başlık + "PDF yükle") */
.btn-top-2l { padding: 5px 12px 5px 6px; gap: 8px; }
.btn-top-2l .btn-top-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 9px;
    background: rgba(255, 255, 255, 0.2);
}
.btn-top-2l .btn-top-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-top-2l .btn-top-txt b { font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; }
.btn-top-2l .btn-top-txt small { font-size: 10.5px; font-weight: 600; opacity: 0.82; }
.btn-top-violet {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #ffffff;
    border: 1px solid #6d28d9;
    box-shadow: 0 2px 6px rgba(109, 40, 217, 0.25);
}
.btn-top-violet:hover { background: #6d28d9; transform: translateY(-1px); }
.btn-top-primary.btn-top-2l { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.btn-top-primary.btn-top-2l:hover { background: #1d4ed8; }
@media (max-width: 640px) {
    .btn-top-2l { padding: 4px 9px 4px 4px; gap: 6px; }
    .btn-top-2l .btn-top-ico { width: 24px; height: 24px; }
    .btn-top-2l .btn-top-txt b { font-size: 11.5px; }
}


/* ==========================================================================
   SINAVLAR YÖNETİM MASASI & TOPLU SİLME LİSTESİ STİLLERİ
   ========================================================================== */

/* Araç Çubuğu (Toolbar) */
.exam-manage-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 12px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.exam-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}
.exam-search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
    max-width: 380px;
    flex: 1;
}
.exam-search-box svg {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    pointer-events: none;
}
.exam-search-box input {
    width: 100%;
    padding: 9px 34px 9px 38px;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.exam-search-box input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.exam-search-clear {
    position: absolute;
    right: 10px;
    background: #e2e8f0;
    border: none;
    color: #475569;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}
.exam-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}
.exam-filter-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.exam-filter-pill {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.exam-filter-pill:hover {
    color: #0f172a;
    background: #e2e8f0;
}
.exam-filter-pill.active {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Görünüm Sekmeleri (Liste vs Kartlar) */
.exam-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.exam-view-tabs {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.exam-view-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.exam-view-tab:hover {
    color: #0f172a;
}
.exam-view-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Toplu İşlem Çubuğu (Bulk Bar) */
.exam-bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    animation: slideDownBulk 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDownBulk {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.bulk-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bulk-select-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}
.bulk-select-text {
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
}
.bulk-select-text b {
    color: #60a5fa;
    font-weight: 900;
    font-size: 14px;
}
.btn-bulk-clear {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-bulk-clear:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.btn-bulk-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    border: none;
    font-size: 12.5px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
    transition: all 0.15s ease;
}
.btn-bulk-delete:hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.4);
}

/* Master Sınavlar Tablosu */
.exam-table-card {
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.exam-master-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.exam-master-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 13px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.exam-master-table td {
    padding: 13px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.exam-master-table tr.exam-row:hover td {
    background: #f8fafc;
}
.th-cb, .td-cb {
    width: 36px;
    text-align: center;
    padding-left: 14px !important;
    padding-right: 6px !important;
}
.th-cb input[type="checkbox"], .td-cb input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
    cursor: pointer;
    margin: 0;
}
.exam-link {
    font-weight: 800;
    color: #0f172a;
    font-size: 13.5px;
    transition: color 0.15s;
}
.exam-link:hover {
    color: #2563eb;
    text-decoration: underline;
}
.exam-date-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.badge-student-count {
    display: inline-block;
    padding: 3px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
}
.exam-actions-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.btn-exam-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
.btn-exam-detail:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.btn-row-delete {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
    color: #be123c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-row-delete:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}
.exam-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.exam-empty-search {
    padding: 36px 20px;
    text-align: center;
}

/* ==========================================================================
   GENEL BAKIŞ: SON EKLENEN DENEME SINAVLARI KARTI STİLLERİ
   ========================================================================== */
.dash-recent-card {
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    padding: 0;
}
.dash-recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
}
.dash-recent-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-recent-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dash-recent-h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.dash-recent-badge {
    padding: 2px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 800;
}
.dash-recent-desc {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.dash-recent-table {
    width: 100%;
    margin: 0;
}
.dash-recent-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.dash-recent-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}
.dash-recent-table tr:hover td {
    background: #f8fafc;
}
.dash-recent-footer {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.dash-recent-more-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}
.dash-recent-more-link:hover {
    text-decoration: underline;
}

/* ===== Sade ana sayfa (2026-10-12) ===== */
.hm { max-width: 1040px; margin: 0 auto; display: grid; gap: 18px; }
.hm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 4px 2px; }
.hm-greet { margin: 0 0 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.hm-school { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-todo { display: grid; gap: 6px; }
.hm-fold summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--brand-700); padding: 6px 2px; list-style: none; }
.hm-fold summary::-webkit-details-marker { display: none; }
.hm-fold summary::before { content: "▸ "; }
.hm-fold[open] summary::before { content: "▾ "; }
.hm-fold > ul { margin-top: 6px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hm-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink-soft); font-size: 13px; font-weight: 700; text-decoration: none; }
.hm-chips a:hover { border-color: #c7d2fe; color: var(--brand-700); }
.hm-chips a.on { background: var(--ink, #0f172a); border-color: var(--ink, #0f172a); color: #fff; }
.hm-chips a.empty { opacity: .6; }
.hm-chips-sm { margin-top: 14px; }
.hm-chips-sm a { padding: 5px 12px; font-size: 12px; }
.hm-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.hm-focus-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hm-stats > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); display: grid; gap: 2px; min-width: 0; }
.hm-stats span { font-size: 12px; font-weight: 700; color: var(--muted); }
.hm-stats b { font-size: 26px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-stats b small { font-size: 14px; color: var(--muted); font-weight: 600; }
.hm-stats > div > small { font-size: 12px; color: var(--muted); }
.hm .hp-story { margin-top: 16px; }
.hm .hp-story .hm-fold summary { padding-left: 0; }
.hm-more { margin-top: 14px; }
.hm-more > summary { padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.hm-more[open] > summary { margin-bottom: 12px; }
.hm-recent { padding: 18px 20px; }
.hm-recent-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hm-recent-h h2 { margin: 0; font-size: 16px; font-weight: 800; }
.hm-recent-h a { font-size: 13px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.hm-recent ul { list-style: none; margin: 0; padding: 0; }
.hm-recent li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft, #f1f5f9); }
.hm-recent li a { display: grid; text-decoration: none; color: var(--ink); min-width: 0; }
.hm-recent li a:hover b { color: var(--brand-700); }
.hm-recent li b { font-size: 14px; font-weight: 700; }
.hm-recent li small { font-size: 12px; color: var(--muted); }
.hm-recent li .mono { font-weight: 800; color: var(--ink); }
@media (max-width: 640px) {
    .hm-stats { grid-template-columns: 1fr 1fr; }
    .hm-stats > div:last-child { grid-column: span 2; }
    .hm-school { font-size: 20px; }
    .hm-actions { width: 100%; }
    .hm-actions a { flex: 1; justify-content: center; }
}
/* Yan menü: alt açıklama satırları kaldırıldı, öğeler daha sık */
.side-nav-item { padding-top: 8px; padding-bottom: 8px; }
.hm-fav h2 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hm-fav-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hm-fav-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hm-fav-grid a:hover { border-color: #c7d2fe; box-shadow: 0 2px 8px rgba(37, 99, 235, .08); color: var(--brand-700); }
.hm-fav-ic { width: 34px; height: 34px; min-width: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #eff6ff; color: #2563eb; }
@media (max-width: 900px) { .hm-fav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-fav-grid { grid-template-columns: 1fr 1fr; } }
.card.hm-todo-box { padding: 0; }
.hm-todo-box > summary { display: flex; align-items: center; gap: 8px; padding: 14px 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; color: var(--ink); }
.hm-todo-box > summary::-webkit-details-marker { display: none; }
.hm-todo-box > summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .15s; }
.hm-todo-box:not([open]) > summary::after { transform: rotate(-90deg); }
.hm-todo-box > ul { padding: 0 16px 16px; }
.hm-badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: var(--ink-soft); }
.hm-badge.warn { background: var(--warn-bg, #fef3c7); color: #92400e; }

/* Kadro: ders programı bağlantısı (private/lgs_people.php) */
.pl-line { display: block; margin-top: 2px; }
.pl-status .card-head form { margin: 0; }
.th-down { color: var(--weak); font-weight: 700; }

/* Öğretmen ana sayfası (private/lgs_teacher_home.php) */
.th { --th-me: #2563eb; --th-sch: #94a3b8; --th-ok: #059669; --th-bad: #e11d48; }
.th h2 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.th h3 { margin: 0 0 12px; font-size: 13px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.th .card { border-radius: 20px; }

.th-hero { position: relative; overflow: hidden; border-radius: 24px; padding: 26px 28px 22px; margin-bottom: 18px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #60a5fa 0%, rgba(96, 165, 250, 0) 45%), linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #4f46e5 100%);
    box-shadow: 0 18px 40px -18px rgba(37, 99, 235, .55); }
.th-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.th-hero-top { display: flex; gap: 16px; align-items: center; position: relative; z-index: 1; }
.th-avatar { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 20px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); }
.th-hello { min-width: 0; }
.th-hello small { display: block; font-size: 12px; font-weight: 600; color: #c7d2fe; }
.th-hello h1 { margin: 2px 0 8px; font-size: clamp(20px, 3.2vw, 28px); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.th-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.th-tags span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); white-space: nowrap; }
.th-quick { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.th-quick a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: #fff; font-weight: 700; font-size: 13.5px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); transition: background .15s, transform .15s; }
.th-quick a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.th-quick a:first-child { background: #fff; color: #1d4ed8; border-color: #fff; }
.th-quick svg { flex: none; }

.th-mine { margin: -4px 2px 18px; font-size: 13px; color: var(--ink-soft); }
.th-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 2px 10px; }
.th-sec-head span { font-size: 12px; }

.th-series { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 18px; }
.th-sc { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.th-sc:hover { border-color: #bfdbfe; transform: translateY(-1px); }
.th-sc.on { border-color: var(--th-me); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12), var(--shadow); }
.th-sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.th-sc-top b { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--brand-700); background: var(--brand-50); padding: 3px 9px; border-radius: 8px; }
.th-sc-name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-sc-num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.th-sc-num small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.th-sc-foot { font-size: 11.5px; color: var(--muted); }
.th-bars { display: grid; gap: 4px; }

.th-bar { position: relative; display: block; height: 8px; border-radius: 999px; background: #eef2f7; overflow: visible; }
.th-bar i { display: block; height: 100%; border-radius: 999px; background: var(--th-me); }
.th-bar.sch i { background: var(--th-sch); }
.th-bar.ok i { background: linear-gradient(90deg, #10b981, var(--th-ok)); }
.th-bar.bad i { background: linear-gradient(90deg, #fb7185, var(--th-bad)); }
.th-bar.mini { height: 4px; }
.th-bar u { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #0f172a; border-radius: 2px; opacity: .55; }
.th-delta { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.th-delta.up { color: #047857; background: #ecfdf5; }
.th-delta.down { color: #be123c; background: #fff1f2; }

.th-focus { padding: 22px; }
.th-focus-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.th-focus-head small { font-size: 12px; font-weight: 700; color: var(--brand-700); }
.th-focus-head h2 { margin-top: 2px; }
.th-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.th-kpis > div { padding: 12px 14px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line-soft); min-width: 0; }
.th-kpis small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.th-kpis b { display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-right: 6px; }
.th-kpis b i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.th-kpis em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.th-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
.th-cols > div, .th-grid > .card { min-width: 0; }
.th-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.th-rows a { display: grid; grid-template-columns: 96px 1fr 104px; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; text-decoration: none; color: inherit; }
.th-rows a:hover { background: #f8fafc; }
.th-row-name { font-weight: 800; line-height: 1.2; }
.th-row-name em { font-style: normal; font-size: 10px; font-weight: 800; color: #4338ca; background: #eef2ff; padding: 1px 6px; border-radius: 6px; vertical-align: 2px; }
.th-row-name small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.th-row-val { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.th-row-val b { font-size: 15px; }
.th-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 8px 0; font-size: 11.5px; color: var(--muted); }
.th-key { display: inline-block; width: 12px; height: 6px; border-radius: 3px; background: var(--th-me); }
.th-key.sch { width: 2px; height: 12px; background: #0f172a; opacity: .55; margin-left: 8px; }
.th-weak { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.th-weak li { display: grid; grid-template-columns: 1fr 80px 38px; align-items: center; gap: 10px; font-size: 13px; }
.th-weak-t { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.th-weak b { text-align: right; color: var(--th-bad); }
.th-more { margin-top: 16px; }

.th-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.th-grid > .card, .th-stack > .card { margin: 0; }
.th-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.th-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.th-card-head a { font-size: 13px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.th-progress { margin-bottom: 16px; }
.th-progress-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 8px; }
.th-progress-num b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--th-ok); }
.th-progress-num span { font-size: 12px; color: var(--muted); }
.th-subj { margin: 16px 0 8px !important; }
.th-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.th-tile { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.th-tile:hover { border-color: #bfdbfe; background: #f8fbff; }
.th-tile b { font-size: 14px; }
.th-tile small { font-size: 11px; color: var(--muted); font-weight: 600; }
.th-tile .th-bar i { background: var(--th-sch); }
.th-tile.part { border-color: var(--warn-line); background: var(--warn-bg); }
.th-tile.part .th-bar i { background: var(--warn); }
.th-tile.done { border-color: var(--ok-line); background: var(--ok-bg); }
.th-tile.done .th-bar i { background: var(--th-ok); }
.th-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.th-mini a { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line-soft); text-decoration: none; color: inherit; min-height: 74px; }
.th-mini a:hover { border-color: #bfdbfe; }
.th-mini b { font-size: 22px; font-weight: 800; line-height: 1.1; }
.th-mini svg { color: var(--brand); }
.th-mini small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.th-tests { list-style: none; margin: 0; padding: 0; }
.th-tests li + li { border-top: 1px solid var(--line-soft); }
.th-tests a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; text-decoration: none; color: inherit; }
.th-tests a:hover .th-test-name { color: var(--brand-700); }
.th-test-name { min-width: 0; font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-test-name small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.th-st { flex: none; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--off-bg); color: var(--off); }
.th-st.pub { background: var(--ok-bg); color: var(--ok); }
.th-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.th-empty { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 18px; border-radius: 20px; border: 1px dashed #cbd5e1; background: var(--surface); }
.th-empty-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.th-empty p { margin: 2px 0 0; font-size: 13px; }
.th-empty .btn { margin-left: auto; flex: none; }

@media (max-width: 1100px) { .th-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (max-width: 900px) { .th-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
    .th-hero { padding: 20px 18px 16px; border-radius: 20px; }
    .th-avatar { width: 48px; height: 48px; border-radius: 15px; font-size: 17px; }
    .th-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
    .th-quick a { flex-direction: column; gap: 5px; padding: 10px 4px; font-size: 11.5px; text-align: center; border-radius: 12px; }
    .th-series { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -12px 18px; padding: 2px 12px 8px; scrollbar-width: none; }
    .th-series::-webkit-scrollbar { display: none; }
    .th-sc { flex: 0 0 78%; scroll-snap-align: start; }
    .th-focus { padding: 16px; }
    .th-focus-head { flex-direction: column; }
    .th-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .th-rows a { grid-template-columns: 70px 1fr 88px; gap: 8px; padding: 9px 4px; }
    .th-weak li { grid-template-columns: 1fr 56px 34px; }
    .th-mini b { font-size: 19px; }
    .th-empty { flex-wrap: wrap; }
    .th-tiles { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
    .th-tile { padding: 8px 9px; }
    .th-tile b { font-size: 13px; }
    .th-empty .btn { margin-left: 0; }
}


/* Kalıcı Toplu İşlem & Seçim Kontrol Paneli */
.exam-bulk-control-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.bulk-ctrl-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.master-select-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    user-select: none;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}
.master-select-label:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
.master-select-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
    cursor: pointer;
    margin: 0;
}
.badge-select-status {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    padding: 3px 10px;
    background: #f1f5f9;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.badge-select-status.has-selected {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
    font-weight: 800;
}
.btn-clear-selection {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-clear-selection:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}
.bulk-ctrl-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-bulk-delete:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
}
.btn-bulk-delete:not(:disabled) {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
    opacity: 1;
}
.btn-bulk-delete:not(:disabled):hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.45);
}

/* Student Table Enhancements (Selection, Edit & Delete) */
.btn-st-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-st-edit:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}
.st-name-link {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}
.st-name-link:hover {
    color: #2563eb;
    text-decoration: underline;
}
.st-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.st-row:hover td {
    background-color: #f8fafc;
}
.st-master-table .td-cb input[type="checkbox"],
.st-master-table .th-cb input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
    cursor: pointer;
    vertical-align: middle;
}

/* Okul özeti (lgs_home.php): sınıf düzeyleri → son sınav → dersler/şubeler → öğrenciler → sonraki adımlar */
.ho { display: flex; flex-direction: column; gap: 16px; }
.ho > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.ho-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.ho-kpi { margin: 0; font-size: 13px; color: var(--muted); }
.ho-kpi b { color: var(--ink); font-weight: 800; }
.ho-sec { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ho-sec small { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12.5px; }
.ho-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ho-grade { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.ho-grade:hover { border-color: var(--brand); }
.ho-grade.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; background: var(--brand-50, #eff6ff); }
.ho-grade.empty { opacity: .75; }
.ho-g-top { display: flex; align-items: center; gap: 6px; min-height: 22px; }
.ho-g-top b { font-size: 15px; font-weight: 800; }
.ho-g-type { font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.ho-g-spark { margin-left: auto; display: flex; }
.ho-g-val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; }
.ho-g-val > b { font-size: 22px; font-weight: 800; line-height: 1.15; }
.ho-g-unit { font-size: 12px; color: var(--muted); font-weight: 600; }
.ho-g-chg { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ho-g-chg.up { color: var(--good); }
.ho-g-chg.down { color: var(--weak); }
.ho-g-chg.flat { color: var(--muted); font-weight: 600; }
.ho-g-foot { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ho-loading { opacity: .6; transition: opacity .15s; pointer-events: none; }

.ho-focus { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ho-fhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.ho-fhead h2 { margin: 2px 0; font-size: 20px; font-weight: 800; }
.ho-fhead h2 a { color: var(--ink); text-decoration: none; }
.ho-fhead h2 a:hover { color: var(--brand); }
.ho-fhead .muted { margin: 0; font-size: 12.5px; }
.ho-tag { margin: 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.ho-focus .hm-chips { margin: 0; }
.ho-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ho-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.ho-stats span { font-size: 12px; font-weight: 700; color: var(--muted); }
.ho-stats b { font-size: 24px; font-weight: 800; color: var(--ink); }
.ho-stats b small { font-size: 13px; color: var(--muted); font-weight: 600; }
.ho-stats > div > small { font-size: 12px; color: var(--muted); }
.ho-story { margin: 0; }

.ho-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ho-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ho-card { padding: 16px 18px; min-width: 0; margin: 0; }
.ho-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.ho-h h3 { margin: 0; font-size: 15px; font-weight: 800; }
.ho-h small { font-size: 12px; color: var(--muted); }
.ho-all { margin-left: auto; font-size: 13px; font-weight: 700; }
.ho-help { margin-left: auto; position: relative; }
.ho-help summary { list-style: none; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; }
.ho-help summary::-webkit-details-marker { display: none; }
.ho-help[open] summary { border-color: var(--brand); color: var(--brand); }
.ho-help .hp-help { position: absolute; right: 0; top: 28px; z-index: 5; width: min(320px, 80vw); margin: 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); font-size: 12.5px; line-height: 1.5; }
.ho-card .home-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }
.ho-card .hp-people { margin: 0; }

.ho-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ho-next a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink);
    transition: border-color .15s, background .15s; }
.ho-next a:hover { border-color: var(--brand); background: var(--brand-50, #eff6ff); }
.ho-next a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ho-next b { font-size: 14px; }
.ho-next small { font-size: 12px; color: var(--muted); }
.ho-arrow { color: var(--muted); font-weight: 700; }
.ho .hm-recent ul { margin: 0; }

@media (max-width: 1100px) {
    .ho-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ho-cols-3 > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .ho-cols, .ho-cols-3 { grid-template-columns: 1fr; }
    .ho-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ho-grades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ho-g-chg { margin-left: 0; }
    .ho-g-foot { white-space: normal; }
    .ho-g-spark { display: none; }
    .ho-focus { padding: 14px; }
    .ho-fhead .btn { width: 100%; justify-content: center; }
    .ho-stats b { font-size: 20px; }
}

/* Okul özeti yorum motoru (2026-10-14): uyarı tonu, gruplu ek yorumlar, okul geneli satırları */
.hp-story li.st-warn::before { content: "!"; left: 6px; color: #b45309; }
.ho-more summary small { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ho-more h4 { margin: 12px 0 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ho-school { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.ho-school li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.ho-school li b { color: var(--ink); }
.ho-school li::before { content: "•"; position: absolute; left: 4px; top: 0; font-weight: 800; color: var(--muted); }
.ho-school li.st-good::before { content: "▲"; font-size: 9px; top: 3px; color: var(--good); }
.ho-school li.st-bad::before { content: "!"; left: 6px; color: var(--weak); }
.ho-school-h { margin: 14px 0 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.ho-school-h small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.ho-school-h + ul.ho-school { margin-top: 6px; }
ul.ho-school li { margin-bottom: 2px; }
.ho-school-h { display: flex; align-items: center; gap: 6px; }
.ho-help-i { margin-left: 0; font-weight: 500; }
.ho-help-i summary { width: 18px; height: 18px; font-size: 11px; font-family: Georgia, serif; font-style: italic; }
.ho-help-i .hp-help { left: 0; right: auto; top: 24px; }
.ho-school-more { margin-top: 4px; }
.ho-school-more summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--brand); padding-left: 20px; }
.ho-school-more > ul.ho-school { margin-top: 4px; }

/* Okul özeti: deneme seçimi + seçilen denemelerin karşılaştırması (2026-10-14) */
.hc { display: flex; flex-direction: column; gap: 12px; }
.hc-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.hc-chip { position: relative; display: inline-flex; width: auto; flex: 0 1 auto; justify-content: flex-start; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface, #fff); cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); max-width: 100%; }
.hc-chip input[type=checkbox] { margin: 0; padding: 0; width: 15px; height: 15px; min-width: 0; flex: none; border: 0; box-shadow: none; accent-color: var(--brand-700, #4338ca); }
.hc-chip span { text-align: left; }
.hc-chip span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-chip small { font-size: 10.5px; font-weight: 600; opacity: .75; }
.hc-chip:has(input:checked) { border-color: var(--brand-700, #4338ca); background: color-mix(in srgb, var(--brand-700, #4338ca) 9%, transparent); color: var(--ink, #0f172a); }
.hc-note { margin: 0; font-size: 12.5px; }
.hc-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hc-table th, .hc-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.hc-table thead th { position: sticky; top: 0; background: var(--surface, #fff); vertical-align: bottom; font-size: 12px; }
.hc-table thead th a { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; margin-left: auto; color: inherit; font-weight: 800; text-decoration: none; }
.hc-table thead th a:hover { color: var(--brand-700); text-decoration: underline; }
.hc-table thead th small { display: block; font-weight: 600; color: var(--ink-soft); }
.hc-table tbody th { text-align: left; font-weight: 700; position: sticky; left: 0; background: var(--surface, #fff); }
.hc-table tbody th small { font-weight: 600; color: var(--ink-soft); }
.hc-table td small { font-size: 11px; }
.hc-table tr.hc-main td .mono { font-weight: 800; font-size: 14px; }
.hc-table tr.hc-sec th { background: color-mix(in srgb, var(--line) 35%, var(--surface, #fff)); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); padding: 6px 10px; }
.hc-table tbody tr:last-child th, .hc-table tbody tr:last-child td { border-bottom: 0; }
.hc-table .hc-chg { background: color-mix(in srgb, var(--line) 18%, transparent); }
.hc-table td.hc-chg { display: table-cell; }
.hc-table td.hc-chg .spark { vertical-align: middle; margin-left: 6px; }
@media (max-width: 640px) {
    .hc-chip { font-size: 12px; }
    .hc-table th, .hc-table td { padding: 6px 8px; }
}
/* Deneme kartı: "Bu deneme" + "Önceki denemelere göre genel değerlendirme" (2026-10-14) */
.ho-storybox { display: flex; flex-direction: column; gap: 12px; }
.ho-story-h { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--ink, #0f172a); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ho-story-h small { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.ho-story-all { border-left: 3px solid var(--brand-700, #4338ca); }
/* Deneme şeridi + satır içi kıyas seçimi (2026-10-14) */
.ho-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.ho-vs { display: inline-flex; align-items: center; gap: 4px; margin: 0; cursor: pointer; }
.ho-vs span { color: var(--ink-soft); }
.ho-vs select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236366f1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 2px center; padding: 0 16px 0 0; width: auto; min-width: 0; max-width: 260px; font: inherit; font-weight: 700; color: var(--brand-700, #4338ca); cursor: pointer; text-overflow: ellipsis; box-shadow: none; height: auto; }
.ho-vs select:focus-visible { outline: 2px solid var(--brand-700, #4338ca); outline-offset: 2px; border-radius: 4px; }
.ho-strip { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ho-strip-pre { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.ho-strip-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 6px; scroll-behavior: smooth; }
.ho-strip-row a { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; min-width: 76px; max-width: 170px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); color: var(--ink, #0f172a); text-decoration: none; transition: border-color .15s, background .15s; }
.ho-strip-row a:hover { border-color: #c7d2fe; }
.ho-strip-row a.on { background: var(--ink, #0f172a); border-color: var(--ink, #0f172a); color: #fff; }
.ho-strip-row a.vs:not(.on) { border-style: dashed; border-color: var(--brand-700, #4338ca); }
.ho-strip-n { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ho-strip-m { font-size: 11px; font-weight: 600; opacity: .7; white-space: nowrap; }
.ho-strip-tag { position: absolute; top: -7px; right: 8px; padding: 0 6px; border-radius: 999px; background: var(--brand-700, #4338ca); color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 15px; letter-spacing: .03em; }
.ho-strip-row a.on .ho-strip-tag { background: #fff; color: var(--ink, #0f172a); }
.ho-strip-row { padding-top: 8px; }
