:is(.lm-app--staff, body:has(.lm-app--staff)) {
    --lmt-red: #B42318;          --lmt-red-bg: #FDECEA;
    --lmt-orange: #9A5B00;       --lmt-orange-bg: #FFF1D6;
    --lmt-green: #12805C;        --lmt-green-text: #0B6B4E;  --lmt-green-bg: #E3F5EE;  --lmt-green-line: #BFE6D2;  --lmt-live-bg: #F0FAF5;
    --lmt-arena-bg: #E4F3F7;     --lmt-arena-text: #0E5A73;  --lmt-arena-line: #14929F;
    --lmt-info-bg: #EEEBFF;      --lmt-info-text: #4B3BC9;
    --lmt-muted-bg: #F0EEF6;     --lmt-muted-text: #5F5B73;
    --lmt-planned-bg: #F6F4FF;   --lmt-planned-line: #6C5CE7;
    --lmt-due-bg: #FFF6E5;       --lmt-due-line: #E8A400;
    --lmt-done-bg: #F3F8F5;      --lmt-done-line: #7BC4A0;
    --lmt-makeup-bg: #F3F2F6;    --lmt-makeup-line: #9E99B3;
    --lmt-now: #E5484D;          --lmt-ring: #C9C2F5;        --lmt-badge: #B42318;
    --lmt-on-fill: #FFFFFF;
    --lmt-hover: rgb(31 27 58 / .04);  --lmt-press: rgb(31 27 58 / .08);  --lmt-medal: #FFC93C;  --lmt-medal-text: #1F1B3A;
    --lmt-image-bg: #EEF4FF;     --lmt-image-text: #1F4FB8;
}
html[data-bs-theme=dark] :is(.lm-app--staff, body:has(.lm-app--staff)) {
    --lmt-red: #FF8C91;          --lmt-red-bg: #2A1416;
    --lmt-orange: #F7C46A;       --lmt-orange-bg: #2A2012;
    --lmt-green: #1F9E72;        --lmt-green-text: #6EE2A6;  --lmt-green-bg: #14271E;  --lmt-green-line: #22543F;  --lmt-live-bg: #102119;
    --lmt-arena-bg: #10262C;     --lmt-arena-text: #7FD3E6;  --lmt-arena-line: #2BA7B5;
    --lmt-info-bg: #322D51;      --lmt-info-text: #B3A6F5;
    --lmt-muted-bg: #20202E;     --lmt-muted-text: #A3A3B8;
    --lmt-planned-bg: #1C1A2E;   --lmt-planned-line: #8F7BEF;
    --lmt-due-bg: #2A2012;       --lmt-due-line: #F7A823;
    --lmt-done-bg: #14271E;      --lmt-done-line: #34D17F;
    --lmt-makeup-bg: #20202E;    --lmt-makeup-line: #6E6A85;
    --lmt-now: #FF6168;          --lmt-ring: #4A4280;        --lmt-badge: #B42318;
    --lmt-hover: rgb(255 255 255 / .05);  --lmt-press: rgb(255 255 255 / .09);
    --lmt-image-bg: #16213A;     --lmt-image-text: #9DBBFF;
}

.lm-app--staff .lm-nav-badge--risk { background: var(--lmt-badge); color: var(--lmt-on-fill); }
.lm-app--staff .lm-nav-shell-label {
    margin: 0 1.25rem .75rem; display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .625rem; border-radius: 999px;
    background: var(--lmt-muted-bg); color: var(--lmt-muted-text); font-size: .75rem; font-weight: 800; width: max-content;
}
.lm-app--staff .lm-nav--teacher { display: flex; flex-direction: column; }
.lm-app--staff .lm-nav--teacher .lm-nav-scroll { flex: 1 1 auto; height: auto; min-height: 0; }
.lm-app--staff .lm-nav-foot { display: flex; flex-direction: column; gap: .625rem; padding: .75rem .875rem 1rem; }
.lm-app--staff .lm-nav-tz {
    display: flex; align-items: center; gap: .5rem; margin: 0; padding: .625rem .75rem; border-radius: 12px;
    background: var(--lmp-bg); color: var(--lmp-ink-muted); font-size: .75rem;
}
.lm-app--staff .lm-nav-profile { display: flex; align-items: center; gap: .625rem; padding: .375rem .5rem; }
.lm-app--staff .lm-nav-profile__meta { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.lm-app--staff .lm-nav-profile__name { font-weight: 800; font-size: .875rem; color: var(--lmp-ink-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-app--staff .lm-nav-profile__role { font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-nav-profile__theme { width: 2.75rem; height: 2.75rem; }
.lm-app--staff:has(.lm-nav--teacher) .topbar .lm-theme-toggle { display: none; }

.lm-app--staff .lm-tch-card { background: var(--lmp-surface); border: 1px solid var(--lmp-border); border-radius: 16px; padding: 1.25rem 1.375rem; min-width: 0; }
.lm-app--staff .lm-tch-card__head { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .625rem; margin-bottom: .5rem; }
.lm-app--staff .lm-tch-card__head > .lm-tch-ghost { margin-left: auto; }
.lm-app--staff .lm-tch-h2 { margin: 0; font-size: 1.125rem; font-weight: 800; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-muted { color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-small { font-size: .8125rem; }
.lm-app--staff .lm-tch-empty { margin: .5rem 0 0; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-cap { margin: 1rem 0 .25rem; font-size: .75rem; font-weight: 800; letter-spacing: .05em; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-cap.is-today { color: var(--lmt-red); }
.lm-app--staff .lm-tch-cap.is-later { color: var(--lmt-orange); }
.lm-app--staff .lm-tch-ghost {
    display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0 .625rem; border: 0; border-radius: 10px;
    background: none; color: var(--lmp-primary-text); font-size: .8125rem; font-weight: 800; text-decoration: none; cursor: pointer;
}
.lm-app--staff .lm-tch-ghost:hover { background: var(--lmp-primary-soft); color: var(--lmp-primary-emph); }
.lm-app--staff .lm-tch-linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lm-app--staff .lm-tch-linkbtn:hover { text-decoration: underline; }
.lm-app--staff .lm-tch-note-line { display: flex; align-items: center; gap: .375rem; margin: .875rem 0 0; }

.lm-app--staff .lm-tch-tag {
    display: inline-flex; align-items: center; gap: .3125rem; height: 1.5rem; padding: 0 .5625rem; border-radius: 999px;
    font-size: .75rem; font-weight: 800; white-space: nowrap; background: var(--lmt-muted-bg); color: var(--lmt-muted-text);
}
.lm-app--staff .lm-tch-tag.is-done, .lm-app--staff .lm-tch-tag.is-live { background: var(--lmt-green-bg); color: var(--lmt-green-text); }
.lm-app--staff .lm-tch-tag.is-later { background: var(--lmt-orange-bg); color: var(--lmt-orange); }
.lm-app--staff .lm-tch-tag.is-today, .lm-app--staff .lm-tch-tag.is-forfeited { background: var(--lmt-red-bg); color: var(--lmt-red); }
.lm-app--staff .lm-tch-tag.is-info { background: var(--lmt-info-bg); color: var(--lmt-info-text); }
.lm-app--staff .lm-tch-tag.is-arena { background: var(--lmt-arena-bg); color: var(--lmt-arena-text); }
.lm-app--staff .lm-tch-lvl {
    display: inline-grid; place-items: center; height: 1.375rem; padding: 0 .4375rem; margin-left: .375rem; border-radius: 6px;
    background: var(--lmt-info-bg); color: var(--lmt-info-text); font-size: .6875rem; font-weight: 800; vertical-align: middle;
}
.lm-app--staff .lm-tch-av {
    display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--lmp-primary-soft); color: var(--lmp-primary-text); font-size: .75rem; font-weight: 800;
}
.lm-app--staff .lm-tch-av.is-arena { background: var(--lmt-arena-bg); color: var(--lmt-arena-text); }

.lm-app--staff .lm-tch-due { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-due__left { font-size: .8125rem; font-weight: 800; }
.lm-app--staff .lm-tch-due__at { font-size: .6875rem; color: var(--lmp-ink-muted); }
.lm-app--staff :is(.lm-tch-due, .lm-tch-due-text, .lm-tch-lcard__line).is-today .lm-tch-due__left,
.lm-app--staff :is(.lm-tch-due-text, .lm-tch-lcard__line).is-today,
.lm-app--staff :is(.lm-tch-due-text, .lm-tch-lcard__line).is-forfeited { color: var(--lmt-red); }
.lm-app--staff .lm-tch-due.is-later .lm-tch-due__left,
.lm-app--staff :is(.lm-tch-due-text, .lm-tch-lcard__line).is-later { color: var(--lmt-orange); }
/* Ödev koordinatörü Bugün: "Geciken" geçen süre nötr (ikincil metin); kırmızı yalnız "Kaçırılan"da (is-today). */
.lm-app--staff .lm-tch-due.is-muted .lm-tch-due__left { color: var(--lmt-muted-text); }
.lm-app--staff .lm-tch-lcard__line.is-live { color: var(--lmt-green-text); }
.lm-app--staff .lm-tch-lcard__line.is-muted { color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-due-text { font-size: .75rem; font-weight: 800; white-space: nowrap; }

.lm-app--staff .lm-tch-list { list-style: none; margin: 0; padding: 0; }
.lm-app--staff .lm-tch-line { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--lmp-border-soft); }
.lm-app--staff .lm-tch-line:last-child { border-bottom: 0; }
.lm-app--staff .lm-tch-line__main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.lm-app--staff .lm-tch-line__title { font-weight: 800; font-size: .875rem; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-line__sub { font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-line__note { font-size: .75rem; color: var(--lmp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-app--staff .lm-tch-line__time { flex: none; width: 7.5rem; font-weight: 800; font-size: .875rem; font-variant-numeric: tabular-nums; }

.lm-app--staff .lm-tch-today { display: flex; flex-direction: column; gap: 1.25rem; }
.lm-app--staff .lm-tch-today__top,
.lm-app--staff .lm-tch-today__grid { display: grid; grid-template-columns: minmax(0, 1fr) 25rem; gap: 1.25rem; align-items: start; }
.lm-app--staff .lm-tch-today__top { align-items: stretch; }
.lm-app--staff .lm-tch-today__top.is-solo { grid-template-columns: minmax(0, 1fr); }
.lm-app--staff .lm-tch-today__side { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
@media (max-width: 1100px) {
    .lm-app--staff .lm-tch-today__top,
    .lm-app--staff .lm-tch-today__grid { grid-template-columns: minmax(0, 1fr); }
}

.lm-app--staff .lm-tch-next { display: flex; align-items: center; gap: 1.25rem; border-color: var(--bs-primary-border-subtle); }
.lm-app--staff .lm-tch-next.is-live { border-color: var(--lmt-green-line); background: var(--lmt-live-bg); }
.lm-app--staff .lm-tch-next.is-empty { display: block; }
.lm-app--staff .lm-tch-next__ico { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 12px; background: var(--lmp-primary); color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-next.is-live .lm-tch-next__ico { background: var(--lmt-green); }
.lm-app--staff .lm-tch-next__body { flex: 1 1 auto; min-width: 0; }
.lm-app--staff .lm-tch-next .lm-tch-cap { margin: 0; color: var(--lmp-primary-text); text-transform: uppercase; }
.lm-app--staff .lm-tch-next.is-live .lm-tch-cap { color: var(--lmt-green-text); }
.lm-app--staff .lm-tch-next__title { margin: .125rem 0 0; font-size: 1.375rem; font-weight: 800; color: var(--lmp-ink-strong); font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-next__focus { margin: .375rem 0 0; font-size: .8125rem; color: var(--lmp-ink); }
.lm-app--staff .lm-tch-next__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .375rem; }
.lm-app--staff .lm-tch-next__join { min-width: 10.5rem; min-height: 2.75rem; }
@media (max-width: 760px) {
    .lm-app--staff .lm-tch-next { flex-wrap: wrap; }
    .lm-app--staff .lm-tch-next__actions { align-items: stretch; width: 100%; }
}

.lm-app--staff .lm-tch-flow__list { list-style: none; margin: .5rem 0 0; padding: 0; }
.lm-app--staff .lm-tch-flow__item { display: grid; grid-template-columns: 3.625rem 1.125rem minmax(0, 1fr); gap: 0 1rem; align-items: stretch; }
.lm-app--staff .lm-tch-flow__time { display: flex; flex-direction: column; align-items: flex-end; padding-top: .875rem; font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-flow__start { font-weight: 800; font-size: .9375rem; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-flow__end { font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-flow__dot { position: relative; display: flex; justify-content: center; }
.lm-app--staff .lm-tch-flow__dot::before { content: ""; position: absolute; top: 2rem; bottom: 0; width: 2px; background: var(--lmp-border); }
.lm-app--staff .lm-tch-flow__dot::after {
    content: ""; position: relative; margin-top: 1.125rem; width: .75rem; height: .75rem; border-radius: 50%;
    border: 2px solid var(--lmt-ring); background: var(--lmp-surface); box-sizing: border-box;
}
.lm-app--staff .lm-tch-flow__item.is-done .lm-tch-flow__dot::after { border-color: var(--lmt-green); background: var(--lmt-green); }
.lm-app--staff .lm-tch-flow__item.is-due .lm-tch-flow__dot::after { border-color: var(--lmt-due-line); background: var(--lmt-due-line); }
.lm-app--staff .lm-tch-flow__item.is-live .lm-tch-flow__dot::after { border-color: var(--lmt-green); background: var(--lmt-green); box-shadow: 0 0 0 4px var(--lmt-green-bg); }
.lm-app--staff .lm-tch-flow__item.is-next .lm-tch-flow__dot::after { width: 1rem; height: 1rem; margin-top: 1rem; border: 3px solid var(--lmp-primary); }
.lm-app--staff .lm-tch-flow__card {
    display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; margin-bottom: .625rem; padding: .75rem 1rem;
    border: 1px solid var(--lmp-border); border-radius: 14px; background: var(--lmp-surface);
}
.lm-app--staff .lm-tch-flow__item.is-next .lm-tch-flow__card { border: 2px solid var(--lmp-primary); }
.lm-app--staff .lm-tch-flow__item.is-live .lm-tch-flow__card { border: 2px solid var(--lmt-green); }
.lm-app--staff .lm-tch-flow__who {
    display: flex; flex-direction: column; flex: 1 1 12rem; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.lm-app--staff .lm-tch-flow__name { font-weight: 800; font-size: .9375rem; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-flow__sub { font-size: .8125rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-flow__now { display: grid; grid-template-columns: 3.625rem 1.125rem minmax(0, 1fr); gap: 0 1rem; align-items: center; margin: 0 0 .625rem; }
.lm-app--staff .lm-tch-flow__now-time { text-align: right; font-size: .75rem; font-weight: 800; color: var(--lmt-red); font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-flow__now-dot { justify-self: center; width: .625rem; height: .625rem; border-radius: 50%; background: var(--lmt-now); }
.lm-app--staff .lm-tch-flow__now-line { height: 2px; background: var(--lmt-now); opacity: .6; }

.lm-app--staff .lm-tch-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .375rem; list-style: none; margin: .75rem 0 0; padding: 0; text-align: center; }
.lm-app--staff .lm-tch-week__day { display: flex; flex-direction: column; padding: .5rem 0; border-radius: 10px; background: var(--lmp-bg); }
.lm-app--staff .lm-tch-week__day.is-today { background: var(--lmp-primary); color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-week__name { font-size: .6875rem; font-weight: 700; }
.lm-app--staff .lm-tch-week__date { font-size: .9375rem; font-weight: 800; }
.lm-app--staff .lm-tch-week__n { font-size: .6875rem; font-weight: 800; color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-week__day.is-today .lm-tch-week__n { color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-other { list-style: none; margin: .5rem 0 0; padding: 0; }
.lm-app--staff .lm-tch-other__link {
    display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; padding: .375rem 0; border-bottom: 1px solid var(--lmp-border-soft);
    color: inherit; text-decoration: none; font-size: .875rem;
}
.lm-app--staff .lm-tch-other li:last-child .lm-tch-other__link { border-bottom: 0; }
.lm-app--staff .lm-tch-other__link > span:nth-child(2) { flex: 1 1 auto; }
.lm-app--staff .lm-tch-other__ico { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; }
.lm-app--staff .lm-tch-other__ico.is-info { background: var(--lmt-arena-bg); color: var(--lmt-arena-text); }
.lm-app--staff .lm-tch-other__ico.is-brand { background: var(--lmt-info-bg); color: var(--lmt-info-text); }
.lm-app--staff .lm-tch-other__ico.is-warn { background: var(--lmt-orange-bg); color: var(--lmt-orange); }

.lm-app--staff .lm-tch-liveband {
    display: flex; align-items: center; flex-wrap: wrap; gap: .875rem; margin-bottom: 1rem; padding: .875rem 1.125rem;
    border: 1px solid var(--lmt-green-line); border-radius: 14px; background: var(--lmt-live-bg);
}
.lm-app--staff .lm-tch-liveband__ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--lmt-green); color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-liveband__body { flex: 1 1 14rem; min-width: 0; }
.lm-app--staff .lm-tch-liveband__title { margin: 0; font-weight: 800; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-liveband__sub { margin: 0; font-size: .8125rem; color: var(--lmt-green-text); }

.lm-app--staff .lm-tch-tabs { display: flex; gap: 1.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--lmp-border); }
.lm-app--staff .lm-tch-tabs__tab {
    display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 .125rem; border: 0; border-bottom: 3px solid transparent;
    background: none; color: var(--lmp-ink-muted); font-size: .9375rem; font-weight: 700; cursor: pointer;
}
.lm-app--staff .lm-tch-tabs__tab[aria-selected="true"] { border-bottom-color: var(--lmp-primary); color: var(--lmp-primary-text); font-weight: 800; }
.lm-app--staff .lm-tch-tabs__tab .lm-nav-badge { margin-left: 0; }

.lm-app--staff .lm-tch-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; margin-bottom: 1rem; }
.lm-app--staff .lm-tch-toolbar__title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-iconbtn { display: inline-grid; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0; }
.lm-app--staff .lm-tch-seg { display: inline-flex; gap: .25rem; margin-left: auto; padding: .25rem; border-radius: 11px; background: var(--lmp-surface-sunk); }
.lm-app--staff .lm-tch-seg > button {
    min-height: 2.5rem; padding: 0 .875rem; border: 0; border-radius: 8px; background: none;
    color: var(--lmp-ink-muted); font-size: .8125rem; font-weight: 700; cursor: pointer;
}
.lm-app--staff .lm-tch-seg > button[aria-pressed="true"] { background: var(--lmp-surface); color: var(--lmp-primary-text); box-shadow: 0 1px 2px rgb(31 27 58 / .12); }
.lm-app--staff .lm-tch-check { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.lm-app--staff .lm-tch-check .form-check-input { margin: 0; width: 1.125rem; height: 1.125rem; }

.lm-app--staff .lm-tch-weekgrid { display: grid; grid-template-columns: repeat(7, minmax(7.25rem, 1fr)); gap: .625rem; overflow-x: auto; margin: -4px; padding: 4px 4px .375rem; }
.lm-app--staff .lm-tch-daycol { display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.lm-app--staff .lm-tch-daycol__head { display: flex; flex-direction: column; align-items: center; padding: .5rem 0; border-radius: 10px; }
.lm-app--staff .lm-tch-daycol__head.is-today { background: var(--lmp-primary); color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-daycol__name { font-size: .75rem; font-weight: 700; }
.lm-app--staff .lm-tch-daycol__date { font-size: 1.125rem; font-weight: 800; }
.lm-app--staff .lm-tch-daycol__empty { margin: .25rem 0; text-align: center; font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-lcard {
    display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: .5rem .625rem; border: 0; border-left: 3px solid var(--lmt-planned-line);
    border-radius: 9px; background: var(--lmt-planned-bg); color: var(--lmp-ink); text-align: left; cursor: pointer;
}
.lm-app--staff .lm-tch-lcard:hover { background-image: linear-gradient(var(--lmt-hover), var(--lmt-hover)); }
.lm-app--staff .lm-tch-lcard:active { background-image: linear-gradient(var(--lmt-press), var(--lmt-press)); }
.lm-app--staff .lm-tch-lcard.is-live { background: var(--lmt-green-bg); border-left-color: var(--lmt-green); }
.lm-app--staff .lm-tch-lcard.is-due { background: var(--lmt-due-bg); border-left-color: var(--lmt-due-line); }
.lm-app--staff .lm-tch-lcard.is-done { background: var(--lmt-done-bg); border-left-color: var(--lmt-done-line); }
.lm-app--staff .lm-tch-lcard.is-makeup { background: var(--lmt-makeup-bg); border-left-color: var(--lmt-makeup-line); }
.lm-app--staff .lm-tch-lcard.is-arena { background: var(--lmt-arena-bg); border-left-color: var(--lmt-arena-line); }
.lm-app--staff .lm-tch-lcard.is-forfeited { background: var(--lmt-red-bg); border-left-color: var(--lmt-red); }
.lm-app--staff .lm-tch-lcard.is-cancelled { background: var(--lmp-bg); border-left-color: var(--lmp-border); color: var(--lmp-ink-muted); text-decoration: line-through; }
.lm-app--staff .lm-tch-lcard__time { font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-lcard__who { font-size: .8125rem; font-weight: 700; line-height: 1.3; }
.lm-app--staff .lm-tch-lcard__line { font-size: .6875rem; font-weight: 800; }
.lm-app--staff .lm-tch-lcard__tag { font-size: .6875rem; font-weight: 700; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-lcard.is-arena .lm-tch-lcard__tag { color: var(--lmt-arena-text); }
.lm-app--staff .lm-tch-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; margin: 1rem 0 0; padding: 0; font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-legend__item { display: inline-flex; align-items: center; gap: .375rem; }
.lm-app--staff .lm-tch-legend__dot { width: .625rem; height: .625rem; border-radius: 3px; background: var(--lmt-planned-line); }
.lm-app--staff .lm-tch-legend__item.is-live .lm-tch-legend__dot { background: var(--lmt-green); }
.lm-app--staff .lm-tch-legend__item.is-due .lm-tch-legend__dot { background: var(--lmt-due-line); }
.lm-app--staff .lm-tch-legend__item.is-done .lm-tch-legend__dot { background: var(--lmt-done-line); }
.lm-app--staff .lm-tch-legend__item.is-makeup .lm-tch-legend__dot { background: var(--lmt-makeup-line); }
.lm-app--staff .lm-tch-legend__item.is-arena .lm-tch-legend__dot { background: var(--lmt-arena-line); }

.lm-app--staff .lm-tch-pending { display: flex; flex-direction: column; gap: 1.25rem; }
.lm-app--staff .lm-tch-collapse {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0; border: 0; background: none;
    color: inherit; font: inherit; cursor: pointer;
}

.lm-app--staff .lm-sheet.lm-tch-sheet { width: min(35rem, 100%); }
.lm-app--staff .lm-tch-sheet__head { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.lm-app--staff .lm-tch-sheet__meta { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .8125rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-sheet__meta .lm-tch-lvl { margin: 0 .375rem 0 0; }
.lm-app--staff .lm-tch-sheet__foot { flex: 1 1 14rem; align-self: center; font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-menu { position: relative; }
.lm-app--staff .lm-tch-menu__list {
    position: absolute; right: 0; top: calc(100% + .25rem); z-index: 5; display: flex; flex-direction: column; min-width: 16rem; padding: .375rem;
    border: 1px solid var(--lmp-border); border-radius: 12px; background: var(--lmp-surface); box-shadow: var(--lmp-shadow-pop);
}
.lm-app--staff .lm-tch-menu__item {
    display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .75rem; border: 0; border-radius: 8px;
    background: none; color: var(--lmp-ink); font-size: .875rem; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer;
}
.lm-app--staff .lm-tch-menu__item:hover:not(:disabled) { background: var(--lmp-primary-soft); color: var(--lmp-primary-emph); }
.lm-app--staff .lm-tch-menu__item:disabled { color: var(--lmp-ink-muted); cursor: not-allowed; }
.lm-app--staff .lm-tch-menu__hint { margin: 0 .75rem .375rem; font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-note { margin: 0 0 1rem; padding: .75rem .875rem; border-radius: 12px; background: var(--lmp-bg); color: var(--lmp-ink); }
.lm-app--staff .lm-tch-note .btn { margin-top: .5rem; }
.lm-app--staff .lm-tch-band { display: flex; gap: .625rem; margin: 0 0 1rem; padding: .75rem .875rem; border-radius: 12px; background: var(--lmt-orange-bg); color: var(--lmt-orange); }
.lm-app--staff .lm-tch-band.is-today { background: var(--lmt-red-bg); color: var(--lmt-red); }
.lm-app--staff .lm-tch-band__title { margin: 0; font-weight: 800; font-size: .875rem; }
.lm-app--staff .lm-tch-band__sub { margin: .125rem 0 0; font-size: .75rem; color: var(--lmp-ink); }
.lm-app--staff .lm-tch-burned { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; margin: 0 0 1rem; }
.lm-app--staff .lm-tch-burned p { margin: 0; font-size: .8125rem; }
.lm-app--staff .lm-tch-prev { display: flex; gap: .5rem; margin: 0 0 1rem; padding: .625rem .75rem; border-radius: 12px; background: var(--lmt-info-bg); color: var(--lmp-ink); font-size: .8125rem; }
.lm-app--staff .lm-tch-prev > svg { flex: none; margin-top: .125rem; color: var(--lmt-info-text); }
.lm-app--staff .lm-tch-step { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--lmp-border); border-radius: 14px; }
.lm-app--staff .lm-tch-step.is-active { border: 2px solid var(--lmp-primary); }
.lm-app--staff .lm-tch-step__head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.lm-app--staff .lm-tch-step__n {
    display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: var(--lmp-primary-soft); color: var(--lmp-primary-text); font-size: .75rem; font-weight: 800;
}
.lm-app--staff .lm-tch-step__title { margin: 0; font-size: .9375rem; font-weight: 800; color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-step__head .lm-tch-muted { font-size: .75rem; }
.lm-app--staff .lm-tch-att { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.lm-app--staff .lm-tch-att__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; border: 1px solid var(--lmp-input-border);
    border-radius: 12px; background: var(--lmp-surface); color: var(--lmp-ink); font-size: .9375rem; font-weight: 800; cursor: pointer;
}
.lm-app--staff .lm-tch-att__btn:disabled { opacity: .55; cursor: not-allowed; }
.lm-app--staff .lm-tch-att__btn.is-yes[aria-checked="true"] { border-color: var(--lmt-green); background: var(--lmt-green-bg); color: var(--lmt-green-text); }
.lm-app--staff .lm-tch-att__btn.is-no[aria-checked="true"] { border-color: var(--lmt-red); background: var(--lmt-red-bg); color: var(--lmt-red); }
.lm-app--staff .lm-tch-attdone { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-weight: 700; }
.lm-app--staff .lm-tch-nudge { margin: 0 0 .75rem; padding: .5rem .75rem; border-radius: 10px; background: var(--lmt-orange-bg); color: var(--lmt-orange); font-size: .8125rem; }
.lm-app--staff .lm-tch-eval { border: 0; margin: 0; padding: 0; min-width: 0; }
.lm-app--staff .lm-tch-rate { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.lm-app--staff .lm-tch-rate__label { font-weight: 700; font-size: .875rem; }
.lm-app--staff .lm-tch-rate__stars { display: inline-flex; gap: .125rem; }
.lm-app--staff .lm-tch-star { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--lmp-input-border); cursor: pointer; }
.lm-app--staff .lm-tch-star.is-on { color: var(--lmt-due-line); }
.lm-app--staff .lm-tch-star.is-on svg { fill: currentColor; }
.lm-app--staff .lm-tch-count { display: flex; justify-content: space-between; gap: .5rem; margin-top: .25rem; font-size: .75rem; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.lm-app--staff .lm-tch-ok { margin: .5rem 0 0; font-size: .8125rem; color: var(--lmt-green-text); }
.lm-app--staff .lm-tch-ok:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
    .lm-app--staff .lm-tch-lcard:hover { filter: none; }
}
html[data-bs-theme=dark] .lm-app--staff .lm-cal { --lm-cal-today: rgb(143 123 239 / .10); }

/* ===== Kart 316d: eğitmen paneli v2 görsel cila =====
   Yalnız görünüm: davranış, markup yapısı ve data-* seçicileri değişmez. Renkler --lmt-* / --lmp-* token'larından
   (açık + koyu; metin çiftleri 4.5:1 üstünde ölçüldü). Satır içi stil yok (CSP). */

/* İskelet: eğitmen sol menüsü 248 px (spec §1). Dar telefonda Velok'un 86vw kuralı geçerli kalır. */
@media (min-width: 401px) {
    .lm-app--staff:has(.lm-nav--teacher) { --bs-main-nav-width: 248px; }
}

/* Odak halkası: eğitmen bileşenlerinde tek dil (mor, 2 px, 2 px boşluk). .lm-app global kuralından güçlü. */
.lm-app.lm-app--staff :is(.lm-tch-ghost, .lm-tch-linkbtn, .lm-tch-tabs__tab, .lm-tch-seg > button, .lm-tch-lcard, .lm-tch-flow__who,
    .lm-tch-menu__item, .lm-tch-star, .lm-tch-att__btn, .lm-tch-collapse, .lm-tch-other__link, .lm-avl-chip, .lm-avl-list__range,
    .lm-avl-range, .lm-tch-sheet__block .lm-daily-focus__btn, .lm-arena-v2 .lm-icon-btn, .lm-tch-menu .lm-icon-btn):focus-visible {
    outline: 2px solid var(--lmp-primary); outline-offset: 2px; box-shadow: none;
}
.lm-app.lm-app--staff :is(.lm-avl-range, .lm-tch-lcard):focus-visible { outline-offset: 1px; z-index: 4; }

/* Geri bildirim: hover / basılı (tonal katman; her zemin renginde çalışır) */
.lm-app--staff :is(.lm-tch-ghost, .lm-tch-menu__item):active:not(:disabled) { background-image: linear-gradient(var(--lmt-press), var(--lmt-press)); }
.lm-app--staff .lm-tch-tabs__tab:hover { color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-tabs__tab[aria-selected="true"]:hover { color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-seg > button:hover:not([aria-pressed="true"]):not(:disabled) { color: var(--lmp-ink-strong); background: var(--lmt-hover); }
.lm-app--staff .lm-tch-flow__who:hover .lm-tch-flow__name { color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-collapse:hover { color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-other__link:hover > span:nth-child(2) { color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-att__btn:hover:not(:disabled):not([aria-checked="true"]) { border-color: var(--lmt-planned-line); background: var(--lmt-planned-bg); }
.lm-app--staff .lm-tch-att__btn:active:not(:disabled) { background-image: linear-gradient(var(--lmt-press), var(--lmt-press)); }
.lm-app--staff .lm-tch-att__btn.is-yes > svg { color: var(--lmt-green); }
.lm-app--staff .lm-tch-att__btn.is-no > svg { color: var(--lmt-red); }
.lm-app--staff .lm-tch-star:hover:not(:disabled):not(.is-on) { color: var(--lmt-due-line); }
.lm-app--staff .lm-avl-chip:hover:not(:disabled):not([aria-pressed=true]) { border-color: var(--lmt-planned-line); color: var(--lmp-primary-text); }
.lm-app--staff .lm-avl-range:hover:not(:disabled) { border-color: var(--lmt-planned-line); }
.lm-app--staff .lm-avl-list__range:hover:not(:disabled) { border-color: var(--lmt-planned-line); }
.lm-app--staff .lm-arena-order__row:hover:not(.is-absent) { border-color: var(--lmt-ring); }
.lm-app--staff .lm-arena-v2__camp:hover:not(.is-selected) { border-color: var(--lmt-ring); }

/* Devre dışı / yükleniyor: tıklanamaz görünür, hover tepkisi vermez */
.lm-app--staff :is(.lm-tch-ghost, .lm-tch-seg > button, .lm-avl-chip, .lm-avl-list__range, .lm-avl-range, .lm-tch-star, .lm-tch-collapse,
    .lm-tch-lcard, .lm-tch-flow__who, .lm-tch-linkbtn):disabled { opacity: .55; cursor: not-allowed; }
.lm-app--staff .lm-tch-ghost:disabled:hover { background: none; color: var(--lmp-primary-text); }
.lm-app--staff .lm-tch-eval:disabled .lm-tch-star { opacity: .45; cursor: not-allowed; }
.lm-app--staff [aria-busy="true"] { cursor: progress; }

/* Dokunma alanı ≥ 40 px */
.lm-app--staff :is(.lm-tch-menu, .lm-arena-order__moves, .lm-avl-formrow, .lm-avl-ex, .lm-pool__menu) .lm-icon-btn { width: 2.5rem; height: 2.5rem; }
.lm-app--staff .lm-tch-line__title.lm-tch-linkbtn { display: inline-flex; align-items: center; min-height: 2.5rem; }
.lm-app--staff :is(.lm-tstudents__filters, .lm-prog-act__block) .lm-daily-focus__btn { min-height: 2.5rem; }
.lm-app--staff .lm-tch-lcard { min-height: 2.75rem; gap: .0625rem; }

/* — Bugün — */
.lm-app--staff .lm-tch-card > .lm-tch-h2 { margin-bottom: .375rem; }
.lm-app--staff .lm-tch-flow__now-dot { box-shadow: 0 0 0 3px var(--lmp-surface); }
.lm-app--staff .lm-tch-flow__card { transition: border-color .15s ease; }
.lm-app--staff .lm-tch-flow__item.is-done .lm-tch-flow__card { background: var(--lmp-surface-soft); }
.lm-app--staff .lm-tch-flow__item.is-due .lm-tch-flow__card { border-color: var(--lmt-due-line); }
.lm-app--staff .lm-tch-next__title .lm-tch-lvl { vertical-align: .25em; }
.lm-app--staff .lm-tch-week__day { min-height: 4.25rem; justify-content: center; gap: .125rem; }

/* — Derslerim: gün sütunu kartları + blok — */
.lm-app--staff .lm-tch-daycol__name { opacity: .85; }
.lm-app--staff .lm-tch-daycol__head:not(.is-today) .lm-tch-daycol__name { opacity: 1; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-tch-lcard__line.is-info, .lm-app--staff .lm-tch-lcard__tag.is-info { color: var(--lmt-info-text); }
.lm-app--staff .lm-tch-legend__item.is-forfeited .lm-tch-legend__dot { background: var(--lmt-red); }
.lm-app--staff .lm-tch-plist .lm-tch-cap:first-child { margin-top: 0; }
.lm-app--staff .lm-tch-liveband__sub { font-weight: 700; }
.lm-app--staff .lm-tch-liveband .btn { min-height: 2.5rem; }

/* — Bekleyenler — */
.lm-app--staff .lm-tch-pending .lm-tch-cap { display: flex; align-items: center; gap: .5rem; text-transform: uppercase; }
.lm-app--staff .lm-tch-pending .lm-tch-cap.is-today::before,
.lm-app--staff .lm-tch-pending .lm-tch-cap.is-later::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.lm-app--staff .lm-tch-line .btn-sm { min-height: 2.5rem; white-space: nowrap; }
.lm-app--staff .lm-tch-line .lm-tch-due { min-width: 6.5rem; }

/* — Ders sheet'i (560 px): blok ders 1./2. ders sekmesi + adım kartları — */
.lm-app--staff .lm-tch-sheet .lm-sheet__header { flex-wrap: wrap; }
.lm-app--staff .lm-tch-sheet__block {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .25rem; width: 100%; margin-top: .875rem;
    padding: .25rem; border-radius: 11px; background: var(--lmp-surface-sunk);
}
.lm-app--staff .lm-tch-sheet__block .lm-daily-focus__btn {
    justify-content: center; min-height: 2.5rem; padding: 0 .75rem; border: 0; border-radius: 8px; background: none;
    color: var(--lmp-ink-muted); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.lm-app--staff .lm-tch-sheet__block .lm-daily-focus__btn:hover:not(:disabled):not([aria-pressed=true]) { background: var(--lmt-hover); color: var(--lmp-ink-strong); }
.lm-app--staff .lm-tch-sheet__block .lm-daily-focus__btn[aria-pressed=true] {
    border: 0; background: var(--lmp-surface); color: var(--lmp-primary-text); font-weight: 800; box-shadow: 0 1px 2px rgb(31 27 58 / .12);
}
.lm-app--staff .lm-tch-sheet__block .lm-daily-focus__btn:disabled { opacity: .6; cursor: not-allowed; }
.lm-app--staff .lm-tch-sheet__head .lm-tch-av { width: 2.75rem; height: 2.75rem; font-size: .875rem; }
.lm-app--staff .lm-tch-step { background: var(--lmp-surface); }
.lm-app--staff .lm-tch-step.is-active { padding: calc(1rem - 1px); }
.lm-app--staff .lm-tch-step.is-active .lm-tch-step__n { background: var(--lmp-primary); color: var(--lmt-on-fill); }
.lm-app--staff .lm-tch-band__title { font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tch-sheet__meta .lm-tch-tag { margin-left: .375rem; }
.lm-app--staff .lm-tch-menu__list { z-index: 6; }

/* — Müsaitliğim: popover ızgarada, düzenlenen aralığın yanında — */
.lm-app--staff .lm-avl-stage { position: relative; }
.lm-app--staff .lm-avl-day__head { justify-content: flex-start; gap: 0; padding-top: .125rem; line-height: 1.3; }
.lm-app--staff .lm-avl-range { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.lm-app--staff .lm-avl-day__name { font-size: .875rem; }
.lm-app--staff .lm-avl-grid__hour { font-weight: 700; }
.lm-app--staff .lm-avl-range__time { display: block; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-app--staff .lm-avl-lesson { gap: .3125rem; }
.lm-app--staff .lm-avl-lesson > svg { flex: none; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-avl-lesson.is-outside { border-style: dashed; border-color: var(--lmt-orange); }
.lm-app--staff .lm-avl-lesson.is-outside > svg { color: var(--lmt-orange); }
.lm-app--staff .lm-avl-pop .lm-tch-actions { margin-top: .75rem; }
@media (min-width: 761px) {
    .lm-app--staff .lm-avl-pop.is-anchored {
        --pop-w: 19rem;
        position: absolute; z-index: 8; width: var(--pop-w); margin: 0;
        top: clamp(0px, calc(3.25rem + var(--pop-top) * var(--avl-px) - .5rem), calc(100% - 22rem));
    }
    .lm-app--staff .lm-avl-pop.is-anchored.is-right {
        left: clamp(0px, calc(3.75rem + var(--pop-col) * ((100% - 5.25rem) / 7 + .25rem) + .25rem), calc(100% - var(--pop-w)));
    }
    .lm-app--staff .lm-avl-pop.is-anchored.is-left {
        left: clamp(0px, calc(3.75rem + var(--pop-col) * ((100% - 5.25rem) / 7 + .25rem) - var(--pop-w) - .5rem), calc(100% - var(--pop-w)));
    }
    .lm-app--staff .lm-avl-pop.is-anchored .lm-avl-formrow > * { flex-basis: 7rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .lm-app--staff .lm-avl-pop.is-anchored { animation: lm-dialog-in 160ms var(--lm-ease-out); }
}
.lm-app--staff .lm-avl-chip { transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.lm-app--staff .lm-avl-chip[aria-pressed=true] { font-weight: 800; }

/* — Ödevler: 480 px panel, gri şerit, "Eklendi" soluk ama okunur — */
.lm-app--staff .lm-hwt__grading-note { border: 1px solid var(--lmp-border-soft); color: var(--lmp-ink); }
.lm-app--staff .lm-hwt__grading-note > svg { flex: none; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-hwt__group--overdue .lm-hwt__group-title { color: var(--lmt-red); }
.lm-app--staff .lm-hwt__group--upcoming .lm-hwt__group-title { color: var(--lmp-ink-muted); }
.lm-app--staff .lm-hwt__group--overdue .lm-hwt__item { border-left: 3px solid var(--lmt-red); }
.lm-app--staff .lm-docs-pool__item.is-added { opacity: 1; background: var(--lmp-surface-soft); border-style: dashed; cursor: default; }
.lm-app--staff .lm-docs-pool__item.is-added .lm-docs-pool__title { color: var(--lmp-ink-muted); }
.lm-app--staff .lm-docs-pool__added {
    display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .5625rem; border-radius: 999px;
    background: var(--lmt-green-bg); color: var(--lmt-green-text); font-size: .75rem; font-weight: 800;
}

.lm-app--staff .lm-hwt__tabs button.lm-tabs__link { border: 0; background: none; font-family: inherit; cursor: pointer; }
.lm-app--staff .lm-hwt__tabs button.lm-tabs__link:hover { background: var(--lmp-surface-soft); }
.lm-app--staff .lm-hwt__tabs button.lm-tabs__link.is-active { color: var(--lmp-primary-text); font-weight: 800; }
.lm-app--staff .lm-hwt__tabs .lm-hwt__chip-n { margin-left: .375rem; }
.lm-app--staff .lm-hwt__remind { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0; font-weight: 700; text-decoration: none; }
.lm-app--staff .lm-hwt__remind:disabled { color: var(--lmp-ink-muted); opacity: 1; }

/* — Materyal havuzu: 4 sütun kart, tür önizlemesi — */
.lm-app--staff .lm-pool__items--grid .lm-pool__title { font-weight: 800; }
.lm-app--staff .lm-pool__items--grid .lm-pool__item { grid-template-columns: minmax(0, 1fr); gap: .625rem; padding: .875rem; border-color: var(--lmp-border); box-shadow: none; }
.lm-app--staff .lm-pool__items--grid .lm-pool__icon { width: 100%; height: 6rem; border-radius: 11px; }
.lm-app--staff .lm-pool__items--grid .lm-pool__icon svg { width: 2.125rem; height: 2.125rem; stroke-width: 1.6; }
.lm-app--staff .lm-pool__items--grid .lm-pool__actions { flex-wrap: wrap; gap: .375rem; margin-top: auto; }
.lm-app--staff .lm-pool__items--grid .lm-pool__send { flex: 1 1 auto; justify-content: center; }
.lm-app--staff .lm-pool__items--grid .lm-pool__actions .btn { min-height: 2.5rem; }
.lm-app--staff .lm-pool__items--grid .lm-pool__item:hover { border-color: var(--lmt-ring); }
.lm-app--staff .lm-pool__icon.is-pdf { background: var(--lmt-red-bg); color: var(--lmt-red); }
.lm-app--staff .lm-pool__icon.is-audio { background: var(--lmt-info-bg); color: var(--lmt-info-text); }
.lm-app--staff .lm-pool__icon.is-video { background: var(--lmt-arena-bg); color: var(--lmt-arena-text); }
.lm-app--staff .lm-pool__icon.is-doc { background: var(--lmt-muted-bg); color: var(--lmt-muted-text); }
.lm-app--staff .lm-pool__icon.is-image { background: var(--lmt-image-bg); color: var(--lmt-image-text); }

/* — Arena: kamp kartı, 8 parçalı çubuk, sürükleme tutamacı, 1. sarı rozet — */
.lm-app--staff .lm-arena-v2__camp.is-selected { border-width: 2px; padding: calc(1rem - 1px); box-shadow: none; }
.lm-app--staff .lm-arena-v2__camp.is-due:not(.is-selected) { border-color: var(--lmt-red-bg); }
.lm-app--staff .lm-arena-seg { margin-top: .125rem; }
.lm-app--staff .lm-arena-order__row { min-height: 3.5rem; padding: .5rem .875rem; }
.lm-app--staff .lm-arena-order__grip { display: inline-flex; color: var(--lmp-ink-muted); }
.lm-app--staff .lm-arena-order__row[draggable=true]:active { cursor: grabbing; }
.lm-app--staff .lm-arena-order .lm-arena-teach__medal { width: 1.75rem; height: 1.75rem; flex: none; background: var(--lmt-info-bg); color: var(--lmt-info-text); font-size: .8125rem; font-weight: 800; box-shadow: none; }
.lm-app--staff :is(.lm-arena-order, .lm-arena-teach__rows) .lm-arena-teach__medal.is-first { background: var(--lmt-medal); color: var(--lmt-medal-text); box-shadow: none; }
.lm-app--staff .lm-arena-order__row.is-absent .lm-arena-teach__medal { background: var(--lmt-muted-bg); }
.lm-app--staff .lm-arena-order__row .lm-tch-av { width: 2rem; height: 2rem; }
.lm-app--staff .lm-arena-order__who .lm-arena-teach__name { flex: none; font-weight: 800; }   /* sütun yönünde 8rem esas = 128 px yükseklikti */
.lm-app--staff .lm-arena-order__row .lm-arena-teach__pts { min-width: 2.5rem; text-align: right; }

/* — Öğrenci detayı — */
.lm-app--staff .lm-tsd-hero .lm-tch-av { width: 3.5rem; height: 3.5rem; font-size: 1.125rem; }
.lm-app--staff .lm-tsd__lesson.is-next { border-color: var(--lmt-planned-line); background: var(--lmt-planned-bg); }
.lm-app--staff .lm-tsd__when { font-weight: 800; font-size: .8125rem; color: var(--lmp-ink-strong); font-variant-numeric: tabular-nums; }
.lm-app--staff .lm-tsd__text { min-width: 0; font-size: .875rem; color: var(--lmp-ink); }
.lm-app--staff .lm-tsd__focus { color: var(--lmp-ink-muted); }

/* — Raporum — */
.lm-app--staff .lm-rpt-stat.is-forfeited { border-color: var(--lmt-red-bg); }
.lm-app--staff .lm-rpt-rate__fill { border-radius: 3px; }
.lm-app--staff .lm-rpt-month .btn { min-width: 2.5rem; min-height: 2.5rem; }

/* — Koordinatör: müsait aralıklar açık mor, müsaitlik dışı işaret, blok kartı — */
.lm-app--staff .lm-cal__bg { background: var(--lmt-planned-bg); box-shadow: inset 2px 0 0 var(--lmt-ring); }
.lm-app--staff .lm-prog-legend__sw--avail { background: var(--lmt-planned-bg); border-color: var(--lmt-ring); }
.lm-app--staff .lm-cal__ev.is-off-avail { border-style: dashed; border-color: var(--lmt-orange); }
.lm-app--staff .lm-cal__ev.is-off-avail .lm-cal__evsub { color: var(--lmt-orange); font-weight: 700; }
.lm-app--staff .lm-cal__ev.is-block { border-left-width: 3px; border-left-color: var(--ev-accent); }
.lm-app--staff .lm-cal__ev.is-block .lm-cal__evsub { display: block; color: var(--lmt-info-text); font-weight: 700; }
.lm-app--staff .lm-cal__ev.is-block.is-off-avail .lm-cal__evsub { color: var(--lmt-orange); }
.lm-app--staff :is(.lm-appeal__item, .lm-shift__item) { transition: border-color .15s ease; }
.lm-app--staff :is(.lm-appeal__item, .lm-shift__item):hover { border-color: var(--lmt-ring); }

/* — Mobil (≤ 575 px): 16 px kenar, yatay taşma yok, satırlar kırılır — */
@media (max-width: 575.98px) {
    .lm-app--staff .lm-tch-card { padding: 1rem; }
    .lm-app--staff .lm-tch-earlier .lm-tch-line { flex-wrap: wrap; justify-content: flex-end; row-gap: .5rem; }
    .lm-app--staff .lm-tch-earlier .lm-tch-line > .lm-tch-line__main { flex: 1 1 11rem; }
    .lm-app--staff .lm-tch-line.is-row { flex-wrap: wrap; justify-content: flex-end; row-gap: .5rem; }
    .lm-app--staff .lm-tch-line.is-row > .lm-tch-line__main { flex: 1 1 11rem; }
    .lm-app--staff .lm-tch-line.is-row > .lm-tch-line__time { width: 100%; }
    .lm-app--staff .lm-tch-flow__item, .lm-app--staff .lm-tch-flow__now { grid-template-columns: 3rem .75rem minmax(0, 1fr); gap: 0 .5rem; }
    .lm-app--staff .lm-tch-tabs { gap: 1rem; overflow-x: auto; scrollbar-width: none; }
    .lm-app--staff .lm-tch-tabs__tab { flex: none; }
    .lm-app--staff .lm-tch-toolbar .lm-tch-seg { margin-left: 0; }
    .lm-app--staff .lm-tch-sheet__block { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
    .lm-app--staff .lm-tch-att { gap: .5rem; }
    .lm-app--staff .lm-arena-order__row { flex-wrap: wrap; }
    .lm-app--staff .lm-arena-order__who { flex: 1 1 8rem; }
    .lm-app--staff .lm-arena-order__row > .lm-arena-teach__seg { flex: 1 1 100%; }
    .lm-app--staff .lm-rpt-stat__n { font-size: 1.5rem; }
    .lm-app--staff .lm-avl-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
    .lm-app--staff .lm-avl-chip { flex: none; }
    .lm-app--staff .lm-avl-tools__actions { width: 100%; }
    .lm-app--staff .lm-avl-tools__actions .btn { flex: 1 1 auto; min-height: 2.5rem; }
    .lm-app--staff .lm-tsd-hero__actions { width: 100%; }
    .lm-app--staff .lm-tsd-hero__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .lm-app--staff :is(.lm-tch-flow__card, .lm-avl-chip, .lm-appeal__item, .lm-shift__item) { transition: none; }
    .lm-app--staff .lm-avl-pop.is-anchored { animation: none; }
}

/* Kart 316d sonrası: Derslerim gün kartında blok etiketi tasarımdaki gibi mor (vardiyalı/telafi gri kalır). */
.lm-tch-lcard__tag.is-block { color: var(--lmp-primary-text); font-weight: 700; }
