/* ==========================================================================
   ALKOKoç · Tasarım sistemi
   Marka renkleri logodan alınmıştır: #075BAA (mavi), #F58220 (turuncu),
   #FAA61A (sarı alev), #F15B22 (kırmızı alev)
   ========================================================================== */

:root {
    /* Marka */
    --alko-blue:      #075BAA;
    --alko-blue-700:  #05467F;
    --alko-blue-900:  #062B4F;
    --alko-orange:    #F58220;
    --alko-orange-600:#DC6E12;
    --alko-amber:     #FAA61A;
    --alko-ember:     #F15B22;

    /* Nötr */
    --ink:        #16232F;
    --ink-2:      #43566A;
    --ink-3:      #7488A0;
    --line:       #DFE6EE;
    --line-soft:  #EDF1F6;
    --paper:      #F1F5F9;
    --card:       #FFFFFF;

    /* Durum */
    --ok:      #12855C;
    --ok-bg:   #E4F5EE;
    --warn:    #B0740A;
    --warn-bg: #FDF2DC;
    --bad:     #C0392B;
    --bad-bg:  #FBEAE8;
    --info-bg: #E7F0F9;

    --r-sm: 6px;
    --r:    10px;
    --r-lg: 16px;

    --shadow-1: 0 1px 2px rgba(6,43,79,.06), 0 1px 3px rgba(6,43,79,.05);
    --shadow-2: 0 4px 16px rgba(6,43,79,.09);
    --shadow-3: 0 18px 48px rgba(6,43,79,.16);

    --sidebar-w: 256px;

    --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    font-feature-settings: "tnum" 0;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    margin: 0 0 .4em;
    letter-spacing: -.018em;
    line-height: 1.22;
    color: var(--ink);
}
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.22rem; font-weight: 750; }
h3 { font-size: 1.02rem; font-weight: 700; }

a { color: var(--alko-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--alko-amber);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================ Kabuk =================================== */

.shell { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    background: linear-gradient(168deg, var(--alko-blue-900) 0%, var(--alko-blue-700) 62%, #0A64B8 100%);
    color: #DCE8F4;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 40;
}

.sidebar__brand {
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,.11);
}
.sidebar__brand img { width: 100%; max-width: 168px; display: block; }
.sidebar__brand .sysname {
    display: block;
    margin-top: 11px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .96rem;
    color: #fff;
    letter-spacing: -.01em;
}
.sidebar__brand .sysname i {
    font-style: normal;
    color: var(--alko-amber);
}
.sidebar__brand small {
    display: block;
    color: rgba(220,232,244,.62);
    font-size: .715rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav { flex: 1; overflow-y: auto; padding: 12px 10px 20px; }
.nav__group {
    font-size: .66rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(220,232,244,.45);
    margin: 16px 10px 6px;
    font-weight: 700;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: var(--r-sm);
    color: #CBDCEC;
    font-size: .89rem;
    font-weight: 500;
    margin-bottom: 1px;
    transition: background .13s, color .13s;
}
.nav a:hover { background: rgba(255,255,255,.09); color: #fff; text-decoration: none; }
.nav a.is-active {
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 650;
    box-shadow: inset 3px 0 0 var(--alko-orange);
}
.nav a .ico { width: 18px; text-align: center; opacity: .9; flex: 0 0 18px; }

.sidebar__foot {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.11);
    font-size: .74rem;
    color: rgba(220,232,244,.55);
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 26px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 30;
}
.topbar__title { font-family: var(--font-display); font-weight: 750; font-size: 1.02rem; }
.topbar__spacer { flex: 1; }

.userchip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 8px 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
}
.avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--alko-blue) 0%, var(--alko-orange) 130%);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .78rem;
    flex: 0 0 32px;
}
.userchip__meta { line-height: 1.15; }
.userchip__meta b { font-size: .84rem; font-weight: 650; display: block; }
.userchip__meta span { font-size: .7rem; color: var(--ink-3); }

.content { padding: 24px 26px 56px; max-width: 1520px; width: 100%; }

.burger {
    display: none;
    background: none; border: 1px solid var(--line);
    border-radius: var(--r-sm);
    width: 38px; height: 34px;
    font-size: 1.05rem; cursor: pointer;
    color: var(--ink);
}

/* ============================ Bileşenler ============================== */

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.page-head p { margin: 0; color: var(--ink-2); font-size: .9rem; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
    margin-bottom: 18px;
    overflow: hidden;
}
.card__head {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.card__head h2, .card__head h3 { margin: 0; }
.card__head .spacer { flex: 1; }
.card__body { padding: 20px; }
.card__body.tight { padding: 0; }

.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* İstatistik kutusu */
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow-1);
    position: relative;
    overflow: hidden;
}
.stat::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 3px;
    background: var(--alko-blue);
}
.stat.is-orange::after { background: var(--alko-orange); }
.stat.is-amber::after  { background: var(--alko-amber); }
.stat.is-ok::after     { background: var(--ok); }
.stat.is-bad::after    { background: var(--bad); }
.stat__label {
    font-size: .72rem; letter-spacing: .085em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 700;
}
.stat__value {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 800; letter-spacing: -.03em;
    line-height: 1.1; margin-top: 4px;
}
.stat__hint { font-size: .78rem; color: var(--ink-2); margin-top: 2px; }

/* Butonlar */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 16px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    background: var(--alko-blue);
    color: #fff;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .14s, box-shadow .14s, transform .06s;
    white-space: nowrap;
}
.btn:hover { background: var(--alko-blue-700); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--alko-orange); }
.btn--orange:hover { background: var(--alko-orange-600); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--line-soft); color: var(--ink); }
.btn--danger { background: var(--bad); }
.btn--danger:hover { background: #A02D21; }
.btn--sm { padding: 6px 11px; font-size: .8rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Rozetler */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: .715rem;
    font-weight: 700;
    letter-spacing: .015em;
    background: var(--line-soft);
    color: var(--ink-2);
    white-space: nowrap;
}
.badge--ok    { background: var(--ok-bg);   color: var(--ok); }
.badge--warn  { background: var(--warn-bg); color: var(--warn); }
.badge--bad   { background: var(--bad-bg);  color: var(--bad); }
.badge--blue  { background: var(--info-bg); color: var(--alko-blue-700); }
.badge--solid { background: var(--alko-orange); color: #fff; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 8px; }

/* Formlar */
.field { margin-bottom: 15px; }
.field > label, .lbl {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
    color: var(--ink-2);
    margin-bottom: 5px;
}
.field .hint { font-size: .76rem; color: var(--ink-3); margin-top: 4px; }
.req { color: var(--alko-ember); }

input[type=text], input[type=password], input[type=email], input[type=date],
input[type=time], input[type=number], input[type=search], input[type=tel],
input[type=datetime-local], select, textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    font: inherit;
    font-size: .89rem;
    color: var(--ink);
    transition: border-color .13s, box-shadow .13s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--alko-blue);
    box-shadow: 0 0 0 3px rgba(7,91,170,.13);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' stroke='%237488A0' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
input[disabled], select[disabled], textarea[disabled] { background: var(--line-soft); color: var(--ink-3); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 18px; }
.form-grid .span2 { grid-column: 1 / -1; }

.check {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: .87rem;
    background: #fff;
    transition: border-color .12s, background .12s;
}
.check:hover { border-color: var(--alko-blue); background: #F8FBFE; }
.check input { margin-top: 3px; accent-color: var(--alko-blue); flex: 0 0 auto; }
.check.is-on { border-color: var(--alko-blue); background: var(--info-bg); }

.picklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    background: #FAFCFE;
}

/* Segment seçici */
.segments { display: inline-flex; background: var(--line-soft); padding: 3px; border-radius: 9px; gap: 3px; }
.segments label {
    padding: 7px 15px; border-radius: 7px; font-size: .85rem; font-weight: 600;
    cursor: pointer; color: var(--ink-2);
}
.segments input { position: absolute; opacity: 0; pointer-events: none; }
.segments input:checked + label { background: #fff; color: var(--alko-blue-700); box-shadow: var(--shadow-1); }

/* Tablolar */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.tbl th {
    text-align: left;
    padding: 10px 14px;
    background: #F7FAFD;
    border-bottom: 1px solid var(--line);
    font-size: .715rem;
    text-transform: uppercase;
    letter-spacing: .075em;
    color: var(--ink-3);
    font-weight: 700;
    white-space: nowrap;
}
table.tbl td { text-align: left; }
table.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.tbl tbody tr:hover { background: #F9FBFD; }
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl .num { font-variant-numeric: tabular-nums; }

.empty {
    padding: 44px 20px;
    text-align: center;
    color: var(--ink-3);
}
.empty .big { font-size: 1.8rem; margin-bottom: 8px; opacity: .55; }
.empty p { margin: 4px 0 14px; font-size: .9rem; }

/* Uyarı şeritleri */
.note {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 12px 15px;
    border-radius: var(--r);
    font-size: .875rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.note b { font-weight: 700; }
.note--info { background: var(--info-bg); color: var(--alko-blue-900); border-color: #C9DCEF; }
.note--ok   { background: var(--ok-bg);   color: #0C5B3F; border-color: #BEE6D5; }
.note--warn { background: var(--warn-bg); color: #7A5206; border-color: #F2DCAF; }
.note--bad  { background: var(--bad-bg);  color: #8C2318; border-color: #F0C9C4; }

.flashes { position: fixed; top: 74px; left: 26px; z-index: 90; max-width: 420px; }
.flashes .note { box-shadow: var(--shadow-2); animation: slidein .25s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }

/* ====================== İmza öğe: hafta çizelgesi ===================== */

.weekbar {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 12px 16px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-1);
}
.weekbar__label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.02em;
}
.weekbar__sub { font-size: .78rem; color: var(--ink-3); }

.weekgrid {
    display: grid;
    grid-template-columns: repeat(7, minmax(178px, 1fr));
    gap: 10px;
    align-items: start;
}
.daycol {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.daycol.is-today { border-color: var(--alko-orange); box-shadow: 0 0 0 2px rgba(245,130,32,.16); }
.daycol.is-weekend { background: #FBFCFE; }
.daycol__head {
    padding: 9px 11px 8px;
    border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: baseline; gap: 6px;
}
.daycol__head .dname {
    font-family: var(--font-display); font-weight: 750; font-size: .85rem;
}
.daycol__head .dnum { font-size: .74rem; color: var(--ink-3); margin-right: auto; }
.daycol__head .cnt {
    font-size: .68rem; font-weight: 800; color: #fff;
    background: var(--alko-blue); border-radius: 999px; padding: 1px 7px;
}
.daycol.is-empty .cnt { background: var(--line); color: var(--ink-3); }
/* Yoğunluk şeridi: o güne düşen ödev yükü */
.daycol__load { height: 3px; background: var(--line-soft); }
.daycol__load i { display: block; height: 100%; background: linear-gradient(90deg, var(--alko-amber), var(--alko-ember)); }
.daycol__body { padding: 9px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.daycol__body .none { font-size: .78rem; color: var(--ink-3); text-align: center; padding: 14px 0; }

/* Ödev kartı */
.hw {
    border: 1px solid var(--line);
    border-left: 4px solid var(--alko-blue);
    border-radius: 8px;
    padding: 9px 10px;
    background: #fff;
    font-size: .82rem;
    transition: box-shadow .14s, transform .08s;
}
.hw:hover { box-shadow: var(--shadow-2); }
.hw__top { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; flex-wrap: wrap; }
.hw__branch { font-size: .69rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.hw__title { font-weight: 650; line-height: 1.3; color: var(--ink); }
.hw__desc { color: var(--ink-2); font-size: .78rem; margin-top: 3px; line-height: 1.45; }
.hw__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 7px; font-size: .71rem; color: var(--ink-3); }
.hw__acts { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.hw.is-done { background: #F6FBF9; border-left-color: var(--ok); }
.hw.is-done .hw__title { color: var(--ink-2); }
.hw.is-mine { background: #FFFBF5; }

/* İlerleme çubuğu */
.bar { height: 6px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.bar.is-low i { background: var(--alko-ember); }
.bar.is-mid i { background: var(--alko-amber); }

/* Filtre çubuğu */
.filters {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 14px 16px; margin-bottom: 18px; box-shadow: var(--shadow-1);
}
.filters .field { margin: 0; min-width: 150px; }

/* Giriş ekranı */
.login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}
.login-art {
    background:
      radial-gradient(1100px 620px at 12% 8%, rgba(250,166,26,.30), transparent 58%),
      radial-gradient(900px 560px at 92% 96%, rgba(241,91,34,.30), transparent 56%),
      linear-gradient(155deg, var(--alko-blue-900) 0%, var(--alko-blue-700) 55%, #0A64B8 100%);
    color: #fff;
    padding: 52px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.login-art::before {
    content: "";
    position: absolute;
    inset: auto -80px -140px auto;
    width: 460px; height: 460px;
    border: 44px solid rgba(255,255,255,.05);
    border-radius: 50%;
}
.login-art__logo {
    background: #fff; border-radius: 12px; padding: 12px 16px;
    display: inline-block; width: fit-content;
    box-shadow: var(--shadow-3);
}
.login-art__logo img { width: 186px; display: block; }
.login-art h1 {
    color: #fff; font-size: 2.45rem; font-weight: 800; letter-spacing: -.035em;
    margin: 0 0 12px; max-width: 15ch;
}
.login-art h1 em { font-style: normal; color: var(--alko-amber); }
.login-art p { color: rgba(255,255,255,.8); max-width: 44ch; font-size: 1rem; margin: 0; }
.login-art ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.login-art li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: rgba(255,255,255,.86); }
.login-art li span {
    width: 22px; height: 22px; border-radius: 6px; flex: 0 0 22px;
    background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: .72rem;
}
.login-art footer { font-size: .8rem; color: rgba(255,255,255,.55); position: relative; }

.login-form {
    display: grid; place-items: center; padding: 40px 24px; background: #fff;
}
.login-box { width: 100%; max-width: 388px; }
.login-box .mini-logo { display: none; margin-bottom: 22px; }
.login-box .mini-logo img { width: 156px; }

/* Yazdırma görünümü */
.print-only { display: none; }

@media print {
    @page { size: A4 landscape; margin: 11mm; }
    body { background: #fff; font-size: 11px; }
    .sidebar, .topbar, .no-print, .flashes, .btn, .filters { display: none !important; }
    .shell { display: block; }
    .content { padding: 0; max-width: none; }
    .print-only { display: block; }
    .card { box-shadow: none; border: none; margin: 0; }
    .weekgrid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .daycol { border: 1px solid #B9C6D4; min-height: 0; break-inside: avoid; }
    .hw { break-inside: avoid; page-break-inside: avoid; font-size: 10px; padding: 5px 6px; }
    .hw__desc { font-size: 9.5px; }
    a { color: #000; text-decoration: none; }
}

.printhead {
    display: none;
    border-bottom: 3px solid var(--alko-blue);
    padding-bottom: 10px;
    margin-bottom: 12px;
}
.printhead img { height: 42px; }

/* ============================ Duyarlı ================================= */

@media (max-width: 1180px) {
    .grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .weekgrid { grid-template-columns: repeat(7, minmax(158px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
}

@media (max-width: 900px) {
    .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .login-wrap { grid-template-columns: 1fr; }
    .login-art { display: none; }
    .login-box .mini-logo { display: block; }

    .burger { display: grid; place-items: center; }
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        transform: translateX(-100%);
        transition: transform .22s ease;
        box-shadow: var(--shadow-3);
    }
    body.nav-open .sidebar { transform: translateX(0); }
    body.nav-open::after {
        content: ""; position: fixed; inset: 0; background: rgba(6,43,79,.5); z-index: 35;
    }
    .content { padding: 16px 14px 48px; }
    .topbar { padding: 0 14px; }
    .flashes { left: 14px; right: 14px; max-width: none; }
}

@media (max-width: 620px) {
    .grid.c4 { grid-template-columns: 1fr 1fr; }
    .stat__value { font-size: 1.6rem; }
    /* Mobilde hafta: gün gün alt alta */
    .weekgrid { display: flex; flex-direction: column; overflow: visible; }
    .daycol { min-height: 0; }
    .page-head h1 { font-size: 1.32rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ---- Kilitli alan gösterimi (otomatik gelen branş vb.) ---- */
.locked {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 13px; border: 1px solid var(--line);
    border-radius: 10px; background: #F4F8FC;
    font-size: .92rem; color: var(--ink-1);
}
.locked b { font-weight: 700; }
.locked span:last-child {
    margin-left: auto; font-size: .72rem; letter-spacing: .04em;
    text-transform: uppercase; color: var(--ink-3);
}
.opt {
    font-size: .7rem; font-weight: 600; letter-spacing: .03em;
    text-transform: uppercase; color: var(--ink-3); margin-left: 6px;
}

/* ---- Konu başlığı yönetimi ---- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.topic-card {
    border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; background: #fff;
}
.topic-card h4 {
    margin: 0 0 8px; font-family: "Manrope", sans-serif; font-size: .9rem;
    display: flex; align-items: center; gap: 7px;
}
.topic-card ul { margin: 0; padding-left: 17px; font-size: .84rem; color: var(--ink-2); }
.topic-card li { margin-bottom: 3px; }
.topic-card .none { font-size: .82rem; color: var(--ink-3); }
