/* Uzem360 arayuzu. Sinif oneki: uzem-
   Duzen: solda sabit kenar cubugu (.uzem-side), sagda icerik (.uzem-content).
   Dar ekranda kenar cubugu cekmeceye doner (#uzem-nav-toggle isaret kutusuyla, JavaScript'siz). */

:root {
    --uzem-bg: #f3f5f8;
    --uzem-surface: #ffffff;
    --uzem-text: #18212d;
    --uzem-muted: #5f6b7a;
    --uzem-line: #e1e6ed;
    --uzem-line-strong: #cdd5df;
    --uzem-primary: #0d6e64;
    --uzem-primary-dark: #095249;
    --uzem-primary-soft: #e3f3f0;
    --uzem-side: #0f1c2e;
    --uzem-side-2: #17273d;
    --uzem-side-text: #c3cedc;
    --uzem-side-muted: #8a98ac;
    --uzem-danger: #a52727;
    --uzem-danger-bg: #fdeeee;
    --uzem-success: #1a6a3c;
    --uzem-success-bg: #e6f5ec;
    --uzem-info: #1c4f93;
    --uzem-info-bg: #e9f1fc;
    --uzem-radius: 12px;
    --uzem-radius-sm: 8px;
    --uzem-shadow: 0 1px 2px rgba(16, 28, 45, .05), 0 4px 14px rgba(16, 28, 45, .05);
    --uzem-side-width: 264px;
}

* { box-sizing: border-box; }


body {
    margin: 0;
    background: var(--uzem-bg);
    color: var(--uzem-text);
    font: 15px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; line-height: 1.3; margin: 1.8rem 0 .8rem; }
h1 small, h2 small { font-size: .82rem; font-weight: 400; }
p { margin: 0 0 .9rem; }
a { color: var(--uzem-primary); }
a:hover { color: var(--uzem-primary-dark); }
code { background: #eef1f5; padding: 1px 6px; border-radius: 5px; font-size: .9em; }
:focus-visible { outline: 2px solid var(--uzem-primary); outline-offset: 2px; }
[hidden] { display: none !important; }

.uzem-muted { color: var(--uzem-muted); }
.uzem-icon { flex: 0 0 auto; }

/* ------------------------------------------------------------------ kabuk */
.uzem-shell { min-height: 100vh; }
.uzem-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.uzem-side {
    position: fixed; inset: 0 auto 0 0; width: var(--uzem-side-width); z-index: 40;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--uzem-side) 0%, #0c1726 100%);
    color: var(--uzem-side-text);
}
.uzem-content { margin-left: var(--uzem-side-width); min-height: 100vh; display: flex; flex-direction: column; }

.uzem-brand {
    display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em;
}
.uzem-brand:hover { color: #fff; }
.uzem-brand-mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #17a393, var(--uzem-primary)); color: #fff; font-size: 1.1rem;
}
.uzem-brand-text { display: grid; line-height: 1.15; }
.uzem-brand-text small { font-weight: 500; font-size: .72rem; color: var(--uzem-side-muted); letter-spacing: .04em; text-transform: uppercase; }

.uzem-nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; }
.uzem-nav-group {
    padding: 16px 10px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--uzem-side-muted);
}
.uzem-nav a {
    display: flex; align-items: center; gap: 11px; padding: 9px 10px; margin-bottom: 2px;
    border-radius: var(--uzem-radius-sm); color: var(--uzem-side-text); text-decoration: none; font-weight: 500;
}
.uzem-nav a:hover { background: var(--uzem-side-2); color: #fff; }
.uzem-nav a.is-active { background: var(--uzem-primary); color: #fff; }
.uzem-nav a:focus-visible { outline-color: #7fe0d3; }
.uzem-nav a > span { min-width: 0; }
.uzem-nav a.uzem-nav-course { align-items: flex-start; }
.uzem-nav-course > span { display: grid; line-height: 1.3; flex: 1; gap: 2px; }
.uzem-nav-course small { color: var(--uzem-side-muted); font-weight: 400; font-size: .78rem; }
.uzem-nav-course.is-active small { color: #d3f1ec; }
.uzem-nav-course-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uzem-nav-course.is-done .uzem-icon { color: #6fd3a0; }
.uzem-nav-course.is-active.is-done .uzem-icon { color: #fff; }
.uzem-nav-progress {
    display: block; width: 100%; height: 3px; margin-top: 5px; border: 0; border-radius: 99px; overflow: hidden;
    background: rgba(255, 255, 255, .12); -webkit-appearance: none; appearance: none;
}
.uzem-nav-progress::-webkit-progress-bar { background: rgba(255, 255, 255, .12); }
.uzem-nav-progress::-webkit-progress-value { background: #2bb5a4; }
.uzem-nav-progress::-moz-progress-bar { background: #2bb5a4; }
.uzem-nav-course.is-active .uzem-nav-progress::-webkit-progress-value { background: #fff; }
.uzem-nav-course.is-active .uzem-nav-progress::-moz-progress-bar { background: #fff; }

.uzem-side-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.uzem-side-foot form { margin: 0; }
.uzem-user { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; }
.uzem-avatar {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--uzem-side-2); color: #fff; font-weight: 600; flex: 0 0 auto;
}
.uzem-user-text { display: grid; line-height: 1.25; color: #fff; font-weight: 600; font-size: .9rem; min-width: 0; overflow-wrap: anywhere; }
.uzem-user-text small { color: var(--uzem-side-muted); font-weight: 400; font-size: .78rem; }
.uzem-side-btn {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
    border: 0; border-radius: var(--uzem-radius-sm); background: transparent; color: var(--uzem-side-text);
    font: inherit; font-weight: 500; cursor: pointer; text-align: left;
}
.uzem-side-btn:hover { background: var(--uzem-side-2); color: #fff; }

.uzem-topbar {
    display: none; align-items: center; gap: 12px; padding: 10px 14px;
    background: var(--uzem-surface); border-bottom: 1px solid var(--uzem-line); position: sticky; top: 0; z-index: 20;
}
.uzem-topbar-title { font-weight: 600; }
.uzem-menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--uzem-radius-sm); cursor: pointer; color: var(--uzem-text); }
.uzem-menu-btn:hover { background: var(--uzem-bg); }
.uzem-backdrop { display: none; }

.uzem-main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 28px 48px; }
.uzem-main-narrow { max-width: 920px; }

@media (max-width: 900px) {
    .uzem-side { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
    .uzem-content { margin-left: 0; }
    .uzem-topbar { display: flex; }
    .uzem-nav-toggle:checked ~ .uzem-side { transform: none; }
    .uzem-nav-toggle:checked ~ .uzem-backdrop { display: block; position: fixed; inset: 0; background: rgba(12, 20, 32, .5); z-index: 30; }
    .uzem-main { padding: 18px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .uzem-side { transition: none; }
}

/* ---------------------------------------------------------------- dugmeler */
.uzem-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 16px; border: 1px solid var(--uzem-primary); border-radius: var(--uzem-radius-sm);
    background: var(--uzem-primary); color: #fff; font: inherit; font-weight: 600; line-height: 1.3;
    cursor: pointer; text-decoration: none; white-space: nowrap;
}
.uzem-btn:hover { background: var(--uzem-primary-dark); border-color: var(--uzem-primary-dark); color: #fff; }
.uzem-btn-ghost { background: var(--uzem-surface); color: var(--uzem-primary); border-color: var(--uzem-line-strong); padding: 7px 12px; }
.uzem-btn-ghost:hover { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); border-color: var(--uzem-primary); }
.uzem-btn-danger { color: var(--uzem-danger); border-color: #e3b9b9; }
.uzem-btn-danger:hover { background: var(--uzem-danger-bg); color: var(--uzem-danger); border-color: var(--uzem-danger); }
button.uzem-btn-danger:not(.uzem-btn-ghost) { background: var(--uzem-danger); border-color: var(--uzem-danger); color: #fff; }
.uzem-btn[disabled], .uzem-btn.is-disabled { opacity: .45; cursor: not-allowed; }

/* ------------------------------------------------------------- bildirimler */
.uzem-alert { padding: 11px 14px; border-radius: var(--uzem-radius-sm); margin-bottom: 16px; border: 1px solid transparent; overflow-wrap: anywhere; }
.uzem-alert-danger { background: var(--uzem-danger-bg); color: var(--uzem-danger); border-color: #f3caca; }
.uzem-alert-success { background: var(--uzem-success-bg); color: var(--uzem-success); border-color: #bfe3cd; }
.uzem-alert-info { background: var(--uzem-info-bg); color: var(--uzem-info); border-color: #c5d9f5; }
.uzem-alert ul { margin: 6px 0 0; padding-left: 20px; }

.uzem-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef1f5; color: var(--uzem-muted); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.uzem-tag-ok { background: var(--uzem-success-bg); color: var(--uzem-success); }
.uzem-tag-danger { background: var(--uzem-danger-bg); color: var(--uzem-danger); }

/* ------------------------------------------------------------ kart ve pano */
.uzem-card, .uzem-form {
    background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius);
    padding: 20px; margin-bottom: 18px; box-shadow: var(--uzem-shadow);
}
.uzem-card > h2:first-child, .uzem-form > h2:first-child { margin-top: 0; }
.uzem-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 1rem; }
.uzem-head h1, .uzem-head h2 { margin: 0; }

.uzem-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.uzem-kpi {
    background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius);
    padding: 18px 20px; box-shadow: var(--uzem-shadow); border-left: 4px solid var(--uzem-primary);
}
.uzem-kpi-value { font-size: 1.6rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.uzem-kpi-label { color: var(--uzem-muted); font-size: .88rem; margin-top: 2px; }

/* ------------------------------------------------------------------- tablo */
.uzem-table-wrap {
    overflow-x: auto; background: var(--uzem-surface); border: 1px solid var(--uzem-line);
    border-radius: var(--uzem-radius); box-shadow: var(--uzem-shadow); margin-bottom: 18px;
}
.uzem-table { width: 100%; border-collapse: collapse; }
.uzem-table th, .uzem-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--uzem-line); vertical-align: middle; }
.uzem-table th { font-size: .76rem; color: var(--uzem-muted); font-weight: 600; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; background: #f8fafc; }
.uzem-table tbody tr:hover td { background: #fafbfd; }
.uzem-table tbody tr:last-child td { border-bottom: 0; }
.uzem-empty { text-align: center; color: var(--uzem-muted); padding: 32px 14px !important; }
.uzem-actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.uzem-actions form { margin: 0; }
td.uzem-actions { white-space: nowrap; }
.uzem-inline-details > summary { list-style: none; margin: 0; }
.uzem-inline-details > summary::-webkit-details-marker { display: none; }
.uzem-inline-details form { display: flex; gap: 6px; margin-top: 6px; }
.uzem-inline-details input { padding: 7px 10px; border: 1px solid var(--uzem-line-strong); border-radius: var(--uzem-radius-sm); font: inherit; min-width: 180px; }

/* -------------------------------------------------------------------- form */
.uzem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 16px; }
.uzem-form label, .uzem-row label, .uzem-filter label { display: block; font-weight: 600; font-size: .9rem; }
.uzem-form > label { margin-bottom: 14px; }
.uzem-form input:not([type=checkbox]):not([type=radio]), .uzem-form select, .uzem-form textarea,
.uzem-row input:not([type=checkbox]):not([type=radio]), .uzem-row select, .uzem-row textarea,
.uzem-filter input, .uzem-filter select, .uzem-auth input {
    display: block; width: 100%; margin-top: 5px; padding: 9px 12px;
    border: 1px solid var(--uzem-line-strong); border-radius: var(--uzem-radius-sm);
    font: inherit; font-weight: 400; color: var(--uzem-text); background: #fff;
}
.uzem-form textarea, .uzem-row textarea { resize: vertical; line-height: 1.5; }
.uzem-form input:focus, .uzem-form select:focus, .uzem-form textarea:focus,
.uzem-row input:focus, .uzem-row select:focus, .uzem-row textarea:focus,
.uzem-filter input:focus, .uzem-filter select:focus, .uzem-auth input:focus {
    outline: none; border-color: var(--uzem-primary); box-shadow: 0 0 0 3px rgba(13, 110, 100, .16);
}
.uzem-form small, .uzem-row small { display: block; margin-top: 4px; font-weight: 400; color: var(--uzem-muted); font-size: .82rem; }
.uzem-form-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.uzem-form-inline { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.uzem-form-inline label { flex: 1 1 240px; }
.uzem-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 12px; }
.uzem-row label { flex: 1 1 220px; }
.uzem-row label.uzem-narrow { flex: 0 1 140px; }
.uzem-row label.uzem-wide { flex: 1 1 100%; }
.uzem-check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 400 !important; font-size: .95rem !important; }
.uzem-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--uzem-primary); flex: 0 0 auto; }
.uzem-check-inline { display: inline-flex !important; margin: 0 16px 6px 0; }
.uzem-check-help { margin: 2px 0 14px 25px; font-size: .85rem; }
.uzem-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; }
.uzem-fieldset { border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius-sm); padding: 12px 16px; margin: 0 0 14px; }
.uzem-fieldset legend { padding: 0 6px; font-weight: 600; font-size: .88rem; }
.uzem-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.uzem-filter input, .uzem-filter select { width: auto; flex: 1 1 200px; margin-top: 0; }
details > summary { cursor: pointer; color: var(--uzem-primary); font-weight: 600; margin: 8px 0; }

/* ------------------------------------------------------- giris ve hata */
.uzem-auth-body {
    min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
    background: radial-gradient(1100px 500px at 15% -10%, #dff1ee 0%, rgba(223, 241, 238, 0) 60%), var(--uzem-bg);
}
.uzem-auth-wrap { width: 100%; max-width: 420px; }
.uzem-auth {
    background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: 16px;
    padding: 30px; box-shadow: 0 10px 34px rgba(16, 28, 45, .08); margin-bottom: 16px;
}
.uzem-auth h1 { color: var(--uzem-primary); margin-bottom: 4px; }
.uzem-auth h2 { margin-top: 0; }
.uzem-auth-sub { margin: 0 0 20px; color: var(--uzem-muted); }
.uzem-auth label { display: block; margin: 14px 0 0; font-weight: 600; font-size: .9rem; }
.uzem-auth form .uzem-btn { width: 100%; margin-top: 20px; padding: 11px 16px; }
.uzem-auth-inline { max-width: 460px; margin-left: auto; margin-right: auto; }
.uzem-shell .uzem-auth-inline { margin-top: 12px; }
.uzem-auth-wrap:has(.uzem-verify) { max-width: 540px; }
.uzem-dl { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 8px 14px; margin: 14px 0; }
.uzem-dl dt { color: var(--uzem-muted); }
.uzem-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.uzem-hash { font-size: .72rem; word-break: break-all; }

.uzem-error-body { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.uzem-error { text-align: center; max-width: 480px; }
.uzem-error-code { font-size: 4.5rem; font-weight: 800; color: var(--uzem-primary); line-height: 1; }
.uzem-error-link { color: var(--uzem-primary); font-weight: 600; }

/* ----------------------------------------------------- icerik studyosu */
.uzem-step { border-top: 1px solid var(--uzem-line); padding: 14px 0; }
.uzem-step-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.uzem-qlist { margin: 0 0 8px; padding-left: 20px; }
.uzem-qlist li { margin-bottom: 8px; }
.uzem-qlist form { display: inline; margin-left: 8px; }
.uzem-body { line-height: 1.7; }

/* ---------------------------------------------------- calisan: egitim */
/* Calisan ana ekrani (/egitim) */
.uzem-home-title { margin: 0 0 16px; }
.uzem-home-h { font-size: 1.05rem; margin: 26px 0 12px; }
.uzem-home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uzem-home-stat {
    display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
    background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius); box-shadow: var(--uzem-shadow);
}
.uzem-home-stat strong { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.uzem-home-stat span { color: var(--uzem-muted); font-size: .88rem; }
.uzem-home-stat.is-ok strong { color: var(--uzem-success); }

.uzem-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.uzem-home-card {
    display: flex; flex-direction: column; gap: 8px; margin: 0; color: inherit; text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.uzem-home-card:hover { color: inherit; border-color: var(--uzem-primary); box-shadow: 0 6px 22px rgba(13, 110, 100, .12); }
.uzem-home-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.uzem-home-company { font-size: .82rem; color: var(--uzem-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uzem-home-badge { flex: 0 0 auto; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--uzem-info-bg); color: var(--uzem-info); }
.uzem-home-badge.is-started { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); }
.uzem-home-card-title { font-size: 1.08rem; line-height: 1.35; }
.uzem-home-card-desc {
    color: var(--uzem-muted); font-size: .9rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.uzem-home-card-foot { display: flex; align-items: flex-end; gap: 14px; margin-top: auto; padding-top: 8px; }
.uzem-home-progress { flex: 1; min-width: 0; }
.uzem-home-progress-head { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.uzem-home-progress progress {
    display: block; width: 100%; height: 6px; border: 0; border-radius: 99px; overflow: hidden;
    background: var(--uzem-line); -webkit-appearance: none; appearance: none;
}
.uzem-home-progress progress::-webkit-progress-bar { background: var(--uzem-line); border-radius: 99px; }
.uzem-home-progress progress::-webkit-progress-value { background: var(--uzem-primary); border-radius: 99px; }
.uzem-home-progress progress::-moz-progress-bar { background: var(--uzem-primary); border-radius: 99px; }
.uzem-home-card-foot .uzem-btn { flex: 0 0 auto; }

.uzem-home-done { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.uzem-home-done li + li { border-top: 1px solid var(--uzem-line); }
.uzem-home-done a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: inherit; text-decoration: none; }
.uzem-home-done a:hover { background: #f7faf9; }
.uzem-home-done-icon { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--uzem-success-bg); color: var(--uzem-success); }
.uzem-home-done-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uzem-home-done-body .uzem-muted { font-size: .86rem; }
.uzem-home-done-link { flex: 0 0 auto; font-size: .86rem; font-weight: 600; color: var(--uzem-primary); }
.uzem-home-empty h2 { margin: 0 0 6px; font-size: 1.05rem; }
.uzem-home-empty p { margin: 0; }
@media (max-width: 600px) {
    .uzem-home-stats { gap: 8px; }
    .uzem-home-stat { padding: 10px 12px; }
    .uzem-home-stat strong { font-size: 1.3rem; }
    .uzem-home-stat span { font-size: .78rem; }
    .uzem-home-grid { grid-template-columns: 1fr; }
    .uzem-home-card-foot { flex-direction: column; align-items: stretch; }
    .uzem-home-card-foot .uzem-btn { text-align: center; }
    .uzem-home-done a { padding: 12px 14px; }
    .uzem-home-done-link { display: none; }
}
.uzem-bar { height: 8px; background: #e6eaf0; border-radius: 999px; overflow: hidden; margin: 10px 0; }
.uzem-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #17a393, var(--uzem-primary)); transition: width .4s; }

/* ---------------------------------------------------- calisan kurs sayfasi */
.uzem-back { margin: 0 0 12px; font-size: .92rem; }
.uzem-back a { text-decoration: none; font-weight: 600; }
.uzem-back a:hover { text-decoration: underline; }
.uzem-course-hero { padding: 24px; }
.uzem-course-hero h1 { margin: 0 0 8px; font-size: 1.55rem; line-height: 1.25; }
.uzem-course-desc { margin: 0 0 18px; color: var(--uzem-muted); line-height: 1.6; max-width: 72ch; }
.uzem-course-progress { margin: 0 0 18px; }
.uzem-course-progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: .92rem; }
.uzem-course-progress progress {
    display: block; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden;
    background: var(--uzem-line); -webkit-appearance: none; appearance: none;
}
.uzem-course-progress progress::-webkit-progress-bar { background: var(--uzem-line); border-radius: 99px; }
.uzem-course-progress progress::-webkit-progress-value { background: var(--uzem-primary); border-radius: 99px; }
.uzem-course-progress progress::-moz-progress-bar { background: var(--uzem-primary); border-radius: 99px; }
.uzem-course-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.uzem-course-cta .uzem-btn { padding: 11px 20px; }
.uzem-course-hero > .uzem-alert { margin-bottom: 12px; }
.uzem-course-note { margin: 12px 0 0; font-size: .9rem; }

.uzem-unit { padding: 0; overflow: hidden; margin-bottom: 14px; }
.uzem-unit-head {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--uzem-line); background: #fafbfd;
}
.uzem-unit-head h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.uzem-unit-count { font-size: .82rem; font-weight: 600; color: var(--uzem-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uzem-unit.is-done .uzem-unit-count { color: var(--uzem-success); }

.uzem-lessons { list-style: none; margin: 0; padding: 0; }
.uzem-lesson { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--uzem-line); position: relative; }
.uzem-lesson:first-child { border-top: 0; }
.uzem-lesson-icon {
    flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--uzem-bg); color: var(--uzem-muted);
}
.uzem-lesson-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uzem-lesson-title { font-weight: 600; color: var(--uzem-text); text-decoration: none; overflow-wrap: anywhere; }
a.uzem-lesson-title::after { content: ""; position: absolute; inset: 0; }   /* tum satir tiklanir */
.uzem-lesson-meta { font-size: .84rem; color: var(--uzem-muted); }
.uzem-lesson-state { flex: 0 0 auto; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--uzem-bg); color: var(--uzem-muted); white-space: nowrap; }
.uzem-lesson:has(a.uzem-lesson-title):hover { background: #f7faf9; }
.uzem-lesson:has(a.uzem-lesson-title):hover .uzem-lesson-title { color: var(--uzem-primary); }

.uzem-lesson.is-done .uzem-lesson-icon { background: var(--uzem-success-bg); color: var(--uzem-success); }
.uzem-lesson.is-done .uzem-lesson-state { background: var(--uzem-success-bg); color: var(--uzem-success); }
.uzem-lesson.is-current .uzem-lesson-icon { background: var(--uzem-primary); color: #fff; }
.uzem-lesson.is-current .uzem-lesson-state { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); }
.uzem-lesson.is-locked .uzem-lesson-title { color: var(--uzem-muted); font-weight: 500; }
.uzem-lesson.is-locked .uzem-lesson-icon { color: #9aa6b5; }
.uzem-lesson-exam { background: #fbfcfe; }

@media (max-width: 600px) {
    .uzem-course-hero { padding: 18px 14px; }
    .uzem-course-hero h1 { font-size: 1.3rem; }
    .uzem-unit { padding: 0; }
    .uzem-unit-head, .uzem-lesson { padding-left: 14px; padding-right: 14px; }
    .uzem-lesson { gap: 12px; }
    .uzem-lesson { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
    .uzem-lesson-state { grid-column: 2; justify-self: start; }
    .uzem-course-cta .uzem-btn { width: 100%; text-align: center; }
}

.uzem-consent-body {
    max-height: 300px; overflow: auto; padding: 14px 16px; margin-bottom: 14px; line-height: 1.65;
    border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius-sm); background: #fafbfd;
}

/* ---------------------------------------------------------- oynatici */
.uzem-video { position: relative; background: #000; border-radius: var(--uzem-radius); overflow: hidden; box-shadow: var(--uzem-shadow); }
.uzem-video video { display: block; width: 100%; max-height: 70vh; cursor: pointer; }

/* Video denetim cubugu (ozel; tarayicinin ileri sarmali cubugu yok) */
.uzem-vc { background: #0b1420; color: #e8eef5; padding: 4px 10px 8px; transition: opacity .25s; }
.uzem-vc-row { display: flex; align-items: center; gap: 4px; }
.uzem-vc-spacer { flex: 1; }
.uzem-vc-btn {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
    background: transparent; color: inherit; cursor: pointer;
}
.uzem-vc-btn:hover { background: rgba(255, 255, 255, .12); }
.uzem-vc-btn:focus-visible { outline: 2px solid #5fd3c4; outline-offset: 0; }
.uzem-vc-cc { opacity: .55; }
.uzem-vc-cc.is-on { opacity: 1; color: #5fd3c4; }
.uzem-video video::cue { background: rgba(0, 0, 0, .78); color: #fff; font-size: 1.05em; line-height: 1.4; }
.uzem-vc-time { font-size: .86rem; font-variant-numeric: tabular-nums; padding: 0 6px; white-space: nowrap; color: #c9d4e0; }

/* Simge degisimi: durum sinifina gore */
.uzem-ic-pause, .uzem-ic-replay, .uzem-ic-muted, .uzem-ic-fsx { display: none; }
.uzem-video.is-playing .uzem-ic-play { display: none; }
.uzem-video.is-playing .uzem-ic-pause { display: contents; }
.uzem-video.is-ended .uzem-ic-play { display: none; }
.uzem-video.is-ended .uzem-ic-replay { display: contents; }
.uzem-video.is-muted .uzem-ic-vol { display: none; }
.uzem-video.is-muted .uzem-ic-muted { display: contents; }
.uzem-video.is-fullscreen .uzem-ic-fs { display: none; }
.uzem-video.is-fullscreen .uzem-ic-fsx { display: contents; }

/* Kaydiricilar: konum (oynatilan / izlenmis / kalan) ve ses */
.uzem-vc input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; margin: 0; }
.uzem-vc-seek { display: block; width: 100%; height: 18px; }
.uzem-vc-seek::-webkit-slider-runnable-track {
    height: 5px; border-radius: 99px;
    background: linear-gradient(90deg, #2bb5a4 0 var(--played, 0%), rgba(255, 255, 255, .42) var(--played, 0%) var(--watched, 0%), rgba(255, 255, 255, .16) var(--watched, 0%) 100%);
}
.uzem-vc-seek::-moz-range-track {
    height: 5px; border-radius: 99px;
    background: linear-gradient(90deg, #2bb5a4 0 var(--played, 0%), rgba(255, 255, 255, .42) var(--played, 0%) var(--watched, 0%), rgba(255, 255, 255, .16) var(--watched, 0%) 100%);
}
.uzem-vc-vol { width: 90px; height: 18px; }
.uzem-vc-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, #fff 0 var(--fill, 100%), rgba(255, 255, 255, .25) var(--fill, 100%) 100%); }
.uzem-vc-vol::-moz-range-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, #fff 0 var(--fill, 100%), rgba(255, 255, 255, .25) var(--fill, 100%) 100%); }
.uzem-vc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 0; }
.uzem-vc input.uzem-vc-vol::-webkit-slider-thumb { margin-top: -5px; }
.uzem-vc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.uzem-vc-help { font-size: .84rem; margin: 8px 0 0; }

/* Tam ekran: video ekrani doldurur, cubuk altta ustune biner ve fare durunca gizlenir */
.uzem-video.is-fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; }
.uzem-video.is-fullscreen video { max-height: none; height: 100%; object-fit: contain; }
.uzem-video.is-fullscreen .uzem-vc { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); padding: 30px 18px 12px; }
.uzem-video.is-fullscreen.is-idle:not(:focus-within) .uzem-vc { opacity: 0; pointer-events: none; }
.uzem-video.is-fullscreen.is-idle video { cursor: none; }
.uzem-player-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.uzem-pdf { max-height: 75vh; overflow: auto; border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius); background: #fff; box-shadow: var(--uzem-shadow); }
.uzem-pdf canvas { display: block; width: 100%; height: auto; }
.uzem-option {
    display: block; width: 100%; text-align: left; margin: 8px 0; padding: 12px 14px;
    border: 1px solid var(--uzem-line-strong); border-radius: var(--uzem-radius-sm); background: #fff; font: inherit; cursor: pointer;
}
.uzem-option:hover:not([disabled]) { border-color: var(--uzem-primary); background: var(--uzem-primary-soft); }
.uzem-option.is-correct { border-color: var(--uzem-success); background: var(--uzem-success-bg); }
.uzem-option.is-wrong { border-color: var(--uzem-danger); background: var(--uzem-danger-bg); }
.uzem-modal { position: fixed; inset: 0; background: rgba(12, 20, 32, .62); display: grid; place-items: center; padding: 16px; z-index: 60; }
.uzem-modal-box { background: var(--uzem-surface); border-radius: var(--uzem-radius); padding: 24px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.uzem-modal-box h2 { margin-top: 0; }

/* -------------------------------------------------------------- sinav */
.uzem-rules { margin: 0 0 14px; padding-left: 20px; line-height: 1.8; }
.uzem-exam-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    position: sticky; top: 0; background: var(--uzem-bg); padding: 10px 0; z-index: 5;
}
.uzem-exam-head h1 { margin: 0; }
.uzem-timer { font-weight: 700; font-variant-numeric: tabular-nums; padding: 7px 14px; border-radius: var(--uzem-radius-sm); background: var(--uzem-surface); border: 1px solid var(--uzem-line-strong); }
.uzem-timer.is-low { color: var(--uzem-danger); border-color: var(--uzem-danger); background: var(--uzem-danger-bg); }
/* legend varsayilan olarak fieldset kenarina oturur; float ile kartin icine alinir */
.uzem-exam-q { margin-left: 0; margin-right: 0; min-width: 0; }
.uzem-exam-q legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-weight: 600; line-height: 1.5; }
.uzem-exam-q legend + * { clear: both; }
.uzem-exam-opt {
    display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; margin: 7px 0;
    border: 1px solid var(--uzem-line-strong); border-radius: var(--uzem-radius-sm); cursor: pointer;
}
.uzem-exam-opt:hover { border-color: var(--uzem-primary); background: var(--uzem-primary-soft); }
.uzem-exam-opt input { margin-top: 4px; accent-color: var(--uzem-primary); }
/* Secilen secenek belirgin olsun */
.uzem-exam-opt:has(input:checked) { border-color: var(--uzem-primary); background: var(--uzem-primary-soft); box-shadow: inset 0 0 0 1px var(--uzem-primary); font-weight: 600; }
.uzem-exam-opt:has(input:focus-visible) { outline: 2px solid var(--uzem-primary); outline-offset: 2px; }

/* Sinav bilgi kutulari (giris ekrani) */
.uzem-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 16px; }
.uzem-fact {
    display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
    background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius); box-shadow: var(--uzem-shadow);
}
.uzem-fact span { font-size: .82rem; color: var(--uzem-muted); }
.uzem-fact strong { font-size: 1.3rem; line-height: 1.2; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
    .uzem-exam-head { top: var(--uzem-topbar-h, 61px); }
}
@media print {
    .uzem-side, .uzem-topbar, .uzem-backdrop { display: none !important; }
    .uzem-content { margin-left: 0; }
}

/* Yuz yuze oturum */
.uzem-qr { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius); }
.uzem-qr img { display: block; max-width: 100%; height: auto; }
.uzem-isg-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }

/* Takip, bildirim */
.uzem-badge { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #d94848; color: #fff; font-size: .72rem; font-weight: 700; text-align: center; }
a.uzem-kpi-link { display: block; color: inherit; text-decoration: none; }
a.uzem-kpi-link:hover, a.uzem-kpi-link.is-active { border-color: var(--uzem-primary); background: var(--uzem-primary-soft); color: inherit; }
.uzem-kpi.is-danger { border-left-color: var(--uzem-danger); }
.uzem-kpi.is-danger .uzem-kpi-value { color: var(--uzem-danger); }
.uzem-note { margin-bottom: 10px; }
.uzem-note .uzem-head { margin: 0; }
.uzem-note.is-unread { border-left: 4px solid var(--uzem-danger); }

/* E-imza */
.uzem-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.uzem-input-sm { width: 9.5em; padding: 6px 8px; font-size: 13px; }

/* Sekmeler (paket duzenleme) */
.uzem-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--uzem-line-strong); margin: 18px 0 20px; overflow-x: auto; overflow-y: hidden; }
.uzem-tabs a {
    padding: 10px 16px; text-decoration: none; color: var(--uzem-muted); font-weight: 600; white-space: nowrap;
    border-bottom: 3px solid transparent; margin-bottom: -1px; border-radius: 8px 8px 0 0;
}
.uzem-tabs a:hover { color: var(--uzem-text); background: var(--uzem-surface); }
.uzem-tabs a.is-active { color: var(--uzem-primary-dark); border-bottom-color: var(--uzem-primary); background: var(--uzem-surface); }
.uzem-count { display: inline-block; min-width: 1.6em; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--uzem-line); color: var(--uzem-text); font-size: .78rem; text-align: center; }
.uzem-tabs a.is-active .uzem-count { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); }
.uzem-tab-title { font-size: 1.15rem; margin: 0 0 6px; }
[data-tabpanel][hidden] { display: none; }

/* Paket icerigi: bolum ve adimlar */
.uzem-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.uzem-section-head h3 { margin: 0; font-size: 1.05rem; }
.uzem-section-head h3 small { font-weight: 400; margin-left: 8px; }
.uzem-section-no { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); font-size: .85rem; }
.uzem-section .uzem-step:first-of-type { margin-top: 12px; }
.uzem-fold > summary { font-size: .9rem; margin: 6px 0; }
.uzem-fold[open] { background: var(--uzem-bg); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius-sm); padding: 4px 14px 10px; margin: 8px 0; }
.uzem-fold-row { display: flex; gap: 2px 18px; flex-wrap: wrap; }
.uzem-fold-row > .uzem-fold[open] { flex: 1 1 100%; }
.uzem-fold-add > summary { color: var(--uzem-primary-dark); }
.uzem-card-dashed { border: 1px dashed var(--uzem-line-strong); box-shadow: none; background: transparent; }
.uzem-card-dashed h3 { margin-top: 0; }
.uzem-empty-box { text-align: center; color: var(--uzem-muted); padding: 28px 14px; margin-bottom: 16px; border: 1px dashed var(--uzem-line-strong); border-radius: var(--uzem-radius); }
.uzem-tag-warn { background: #fdf3d7; color: #7a5200; }

/* Sinav kartlari */
.uzem-exam-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.uzem-exam-card { margin: 0; }
.uzem-exam-card.has-exam { border-color: #bfe3cd; }
.uzem-exam-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.uzem-exam-card-head h3 { margin: 0; }
.uzem-exam-when { font-weight: 600; margin: 6px 0 4px; }
.uzem-exam-item { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 10px 0; background: var(--uzem-success-bg); border-radius: var(--uzem-radius-sm); }
.uzem-exam-form { display: block; }
.uzem-exam-form label { margin-bottom: 10px; }
.uzem-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* "Kurs ac" acilir paneli */
.uzem-panel { margin-bottom: 18px; }
.uzem-panel > summary.uzem-btn { display: inline-flex; list-style: none; color: #fff; margin: 0 0 12px; }
.uzem-panel > summary.uzem-btn::-webkit-details-marker { display: none; }

/* ------------------------------------------------------------------ mobil */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, canvas { max-width: 100%; }

@media (max-width: 900px) {
    /* iOS, 16 pikselden kucuk yazili alana dokununca sayfayi yakinlastirir. */
    input, select, textarea { font-size: 16px !important; }

    /* Dokunma hedefleri en az 44 piksel. */
    .uzem-btn, .uzem-btn-ghost, .uzem-side-btn { min-height: 44px; }
    .uzem-nav a { min-height: 44px; }
    details > summary { padding: 11px 0; margin: 0; }
    .uzem-panel > summary.uzem-btn { padding: 9px 16px; margin-bottom: 12px; }
    .uzem-inline-details > summary { padding: 7px 12px; }
    .uzem-tabs a { padding: 13px 14px; }
    .uzem-check { min-height: 44px; align-items: center; }
    .uzem-check input { width: 22px; height: 22px; margin-top: 0; }
    .uzem-check-help { margin-left: 31px; }
    .uzem-check-inline { margin-bottom: 0; }

    .uzem-main { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
    .uzem-topbar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
    .uzem-side { padding-bottom: env(safe-area-inset-bottom); }

    .uzem-head { align-items: flex-start; }
    .uzem-head h1 { font-size: 1.35rem; overflow-wrap: anywhere; }
    .uzem-card, .uzem-form { padding-left: 14px; padding-right: 14px; }
    .uzem-dl { grid-template-columns: 1fr; gap: 2px 0; }
    .uzem-dl dd { margin-bottom: 8px; }
    .uzem-inline-details form { flex-wrap: wrap; }
    .uzem-inline-details input { min-width: 0; flex: 1 1 160px; }
}

@media (max-width: 700px) {
    /* Dugmeler tam genislik: basparmakla kolay basilir. */
    .uzem-form > .uzem-btn, .uzem-form-inline > .uzem-btn, .uzem-row > .uzem-btn, .uzem-auth .uzem-btn { width: 100%; }
    .uzem-row label, .uzem-row label.uzem-narrow, .uzem-form-inline label { flex: 1 1 100%; }
    .uzem-form-pair { grid-template-columns: 1fr; }
    .uzem-exam-grid { grid-template-columns: 1fr; }
    .uzem-player-bar .uzem-btn { flex: 1 1 auto; }
    .uzem-video video { max-height: 56vh; }
    .uzem-vc { padding: 2px 4px 6px; }
    .uzem-vc-row { gap: 0; }
    .uzem-vc-vol { width: 64px; }
    .uzem-vc-time { font-size: .8rem; padding: 0 4px; }
    .uzem-vc-help { display: none; }
    .uzem-pdf { max-height: 68vh; }

    /* Tablo -> kart (panel.js hucrelere data-label yazar; betik calismazsa tablo yana kayar). */
    .uzem-table-wrap.is-stack { overflow: visible; background: transparent; border: 0; box-shadow: none; }
    .uzem-table.is-stack, .uzem-table.is-stack tbody, .uzem-table.is-stack tr, .uzem-table.is-stack td { display: block; width: 100%; }
    .uzem-table.is-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .uzem-table.is-stack tr {
        background: var(--uzem-surface); border: 1px solid var(--uzem-line); border-radius: var(--uzem-radius);
        box-shadow: var(--uzem-shadow); padding: 6px 14px; margin-bottom: 10px;
    }
    .uzem-table.is-stack td { position: relative; border: 0; padding: 7px 0; min-height: 34px; overflow-wrap: anywhere; white-space: normal; }
    .uzem-table.is-stack td[data-label] { padding-left: 40%; }
    .uzem-table.is-stack td[data-label]::before {
        content: attr(data-label); position: absolute; left: 0; top: 7px; width: 37%;
        color: var(--uzem-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.5;
    }
    .uzem-table.is-stack td:empty { display: none; }
    .uzem-table.is-stack tbody tr:hover td { background: transparent; }
    .uzem-table.is-stack td.uzem-actions { display: flex; justify-content: flex-start; white-space: normal; padding-top: 10px; border-top: 1px solid var(--uzem-line); margin-top: 4px; }
    .uzem-table.is-stack td.uzem-actions .uzem-btn { flex: 1 1 auto; }
    .uzem-table.is-stack td.uzem-empty { text-align: center; padding: 20px 0 !important; }
    .uzem-table.is-stack .uzem-input-sm { width: 100%; }
}@media (max-width: 700px) {
    /* Satir ici acilan formlar (ornegin belge iptali) karti tasirmasin. */
    .uzem-table.is-stack td.uzem-actions .uzem-inline-details { flex: 1 1 100%; }
    .uzem-inline-details form .uzem-btn { flex: 1 1 100%; white-space: normal; }
}

/* Sinav sorusu resmi (soru havuzu + resim, 2026-11-04): mobilde ekrana sigar. */
.uzem-exam-img { display: block; max-width: 100%; height: auto; margin: 6px 0 10px; border-radius: 6px; border: 1px solid #e3e7ed; }
.uzem-q-thumb { display: block; max-width: 180px; max-height: 120px; width: auto; height: auto; margin: 4px 0; border-radius: 4px; border: 1px solid #e3e7ed; }
.uzem-qlist .uzem-tag { margin-right: 4px; }

/* ------------------------------------------------ calisan arayuzu: ortak ince ayarlar */
/* Ana ekran genis (kart izgarasi), diger ekranlar okunabilir genislikte */
.uzem-learner-home .uzem-main-narrow { max-width: 1120px; }
.uzem-learner h1 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.3; overflow-wrap: anywhere; }
.uzem-learner .uzem-body { max-width: 72ch; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.uzem-home-h { font-size: 1.125rem; font-weight: 700; margin: 28px 0 14px; }
.uzem-home-card-title { font-size: 1.05rem; line-height: 1.45; }
.uzem-home-card-title, .uzem-home-done-body, .uzem-course-cta > span, .uzem-exam-opt > span { min-width: 0; overflow-wrap: anywhere; }
.uzem-exam-opt input { flex: 0 0 auto; }

/* Ders listesi: yalniz siradaki ders dolu vurgulu; diger acik dersler acik renk */
.uzem-lesson.is-available .uzem-lesson-icon { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); }
.uzem-lesson.is-available .uzem-lesson-state { background: var(--uzem-primary-soft); color: var(--uzem-primary-dark); }
.uzem-lesson:focus-within { outline: 2px solid var(--uzem-primary); outline-offset: -3px; }
.uzem-lesson a.uzem-lesson-title:focus-visible { outline: none; }

/* Icerige gec baglantisi: yalniz klavye odaginda gorunur */
.uzem-skip-link { position: absolute; left: -9999px; top: 0; }
.uzem-skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--uzem-radius-sm); background: var(--uzem-primary); color: #fff; font-weight: 600; text-decoration: none; }
.uzem-main:focus { outline: none; }

/* Ilerleme olcer (ISG sartlari) - satir ici stil yerine <progress> */
.uzem-meter { display: block; width: 100%; height: 8px; margin: 10px 0; border: 0; border-radius: 999px; overflow: hidden; background: #e6eaf0; -webkit-appearance: none; appearance: none; }
.uzem-meter::-webkit-progress-bar { background: #e6eaf0; }
.uzem-meter::-webkit-progress-value { background: var(--uzem-primary); }
.uzem-meter::-moz-progress-bar { background: var(--uzem-primary); }

.uzem-auth-help { margin: 16px 0 0; font-size: .875rem; }
.uzem-learner .uzem-menu-btn { width: 44px; height: 44px; flex: 0 0 44px; }
.uzem-topbar-title { min-width: 0; overflow-wrap: anywhere; }
body.uzem-nav-open { overflow: hidden; }

@media (max-width: 900px) {
    /* genel kart dolgusu ozel listeleri ezmesin */
    .uzem-card.uzem-unit, .uzem-card.uzem-home-done { padding: 0; }
}
@media (max-width: 380px) {
    .uzem-vc-row { flex-wrap: wrap; }
    .uzem-vc-btn { flex: 0 0 44px; }
    .uzem-vc-vol { flex: 1 1 80px; }
    .uzem-home-stats { grid-template-columns: 1fr; }
    .uzem-home-stat span { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
    .uzem-home-card, .uzem-bar span, .uzem-vc { transition: none; }
}
