/* DersTime v1.18.20 — öğretmen bazlı nöbet hedefi, çoklu sınıf öğretmeni ve Raporlar/İstatistikler sekmeleri */

/* Nöbet öğretmen havuzu: seçim kartı ve haftalık gün hedefi aynı satırda, sıkışmadan. */
.duty-pool-card-shell{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:6px;
  padding:0;
  border-radius:13px;
}
.duty-pool-card-shell.selected{background:color-mix(in srgb,var(--primary,#5b5bd6) 4%,transparent)}
.duty-pool-card-shell .duty-pool-card{min-width:0;margin:0}
.duty-weekly-target{
  width:76px;
  min-width:76px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  padding:5px 6px;
  border:1px solid #e1e5ec;
  border-radius:11px;
  background:#f8f9fc;
}
.duty-weekly-target span{font-size:7.5px;font-weight:850;color:#778196;text-align:center;letter-spacing:.03em}
.duty-weekly-target select{width:100%;height:27px;padding:2px 4px;border:1px solid #d6dbe5;border-radius:8px;background:#fff;font-size:9px;font-weight:850;color:#30384c;cursor:pointer}
.duty-weekly-target select:focus{outline:2px solid color-mix(in srgb,var(--primary,#5b5bd6) 22%,transparent);border-color:var(--primary,#5b5bd6)}
.duty-data-modal .duty-teacher-select-copy em{display:block;margin-top:4px;color:var(--primary,#5b5bd6);font-size:8.5px;font-style:normal;font-weight:850}

/* Şube düzenleme formunda çoklu sınıf öğretmeni seçimi. */
.class-teacher-field{padding:12px;border:1px solid #e0e4ec;border-radius:16px;background:#fafbfe}
.class-teacher-field-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.class-teacher-field-head b,.class-teacher-field-head small{display:block}.class-teacher-field-head b{font-size:12px}.class-teacher-field-head small{margin-top:2px;color:var(--muted);font-size:9px}
.class-teacher-field-head>span{padding:5px 8px;border-radius:999px;background:#eef0f7;color:#687188;font-size:8px;font-weight:850;white-space:nowrap}
.class-teacher-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:9px}
.class-teacher-toolbar>label{flex:1;display:flex;align-items:center;gap:7px;min-width:0;padding:0 10px;border:1px solid #dfe3eb;border-radius:10px;background:#fff}
.class-teacher-toolbar input{width:100%;height:34px;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important}
.class-teacher-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;max-height:250px;overflow:auto;padding:1px;scrollbar-gutter:stable}
.class-teacher-picker>label{position:relative;cursor:pointer;min-width:0}
.class-teacher-picker>label>input{position:absolute;opacity:0;pointer-events:none}
.class-teacher-picker>label>span{display:grid;grid-template-columns:6px minmax(0,1fr);column-gap:8px;align-items:center;min-height:48px;padding:7px 9px;border:1px solid #dfe3eb;border-radius:11px;background:#fff}
.class-teacher-picker>label>span i{grid-row:1/3;width:6px;height:31px;border-radius:999px;background:var(--teacher-color)}
.class-teacher-picker>label>span b,.class-teacher-picker>label>span small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.class-teacher-picker>label>span b{font-size:10px;color:#30384c}.class-teacher-picker>label>span small{font-size:8px;color:#7c8597}
.class-teacher-picker>label.selected>span,.class-teacher-picker>label:has(input:checked)>span{border-color:var(--primary,#5b5bd6);box-shadow:inset 0 0 0 1px var(--primary,#5b5bd6);background:color-mix(in srgb,var(--primary,#5b5bd6) 5%,#fff)}
.class-teacher-inline{display:flex;flex-wrap:wrap;gap:4px;max-width:290px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.class-teacher-inline span{display:inline-flex;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:999px;background:#f1f3f8;color:#495267;font-size:8px;font-weight:750}
.class-teacher-inline em{color:#9199a9;font-size:9px;font-style:normal}
.class-teacher-inline:hover span{background:color-mix(in srgb,var(--primary,#5b5bd6) 10%,#f1f3f8);color:var(--primary,#5b5bd6)}

/* Toplu sınıf öğretmeni atama çalışma modalı. */
dialog.class-teacher-bulk-modal{width:min(1400px,calc(100vw - 28px));max-width:none;height:min(860px,calc(100dvh - 28px));max-height:none;padding:0;overflow:hidden;border-radius:22px}
.class-teacher-bulk-dialog{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#fff}
.class-teacher-bulk-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px 16px;border-bottom:1px solid #e0e4eb}.class-teacher-bulk-dialog>header h2{margin:4px 0 5px;font-size:22px}.class-teacher-bulk-dialog>header p{max-width:780px;margin:0;color:#788196;font-size:10px}.class-teacher-bulk-dialog>header>span{padding:7px 10px;border-radius:999px;background:#f0f2f7;color:#667087;font-size:9px;font-weight:850;white-space:nowrap}
.class-teacher-bulk-body{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:0;overflow:hidden}
.class-teacher-bulk-body>aside{min-height:0;padding:14px;border-right:1px solid #e0e4eb;background:#f7f8fb;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
.class-teacher-bulk-body>aside>[data-class-list]{overflow:auto;padding:4px 1px;scrollbar-gutter:stable}
.class-teacher-bulk-search{display:flex;align-items:center;gap:7px;padding:0 10px;margin-bottom:9px;border:1px solid #dfe3eb;border-radius:11px;background:#fff}.class-teacher-bulk-search input{width:100%;height:36px;border:0;background:transparent;outline:0}
.class-teacher-class-row{width:100%;display:grid;grid-template-columns:7px minmax(0,1fr) 28px;align-items:center;gap:9px;margin:0 0 5px;padding:8px 9px;border:1px solid transparent;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.class-teacher-class-row>span{width:7px;height:34px;border-radius:999px;background:var(--class-color)}.class-teacher-class-row b,.class-teacher-class-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-teacher-class-row b{font-size:10px;color:#30384c}.class-teacher-class-row small{margin-top:2px;font-size:8px;color:#7b8497}.class-teacher-class-row em{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eff1f6;color:#697287;font-size:9px;font-style:normal;font-weight:900}.class-teacher-class-row.active{border-color:var(--primary,#5b5bd6);background:color-mix(in srgb,var(--primary,#5b5bd6) 6%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary,#5b5bd6) 30%,transparent)}
.class-teacher-bulk-body>section{min-width:0;min-height:0;padding:15px 18px 20px;overflow:hidden;display:grid;grid-template-rows:auto auto auto minmax(0,1fr)}
.class-teacher-bulk-body [data-active-class-head]{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.class-teacher-bulk-body [data-active-class-head]>div{display:flex;align-items:center;gap:8px;min-width:0}.class-teacher-bulk-body [data-active-class-head] b,.class-teacher-bulk-body [data-active-class-head] small{display:block}.class-teacher-bulk-body [data-active-class-head] b{font-size:14px}.class-teacher-bulk-body [data-active-class-head] small{margin-top:2px;color:#7c8598;font-size:9px}.class-teacher-bulk-body [data-active-class-head] strong{padding:5px 8px;border-radius:999px;background:#f1f3f8;color:#697187;font-size:8px}
.class-teacher-bulk-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}.class-teacher-bulk-tools small{color:#838b9c;font-size:8.5px}
.class-teacher-bulk-picker{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-content:start;gap:7px;padding:1px;scrollbar-gutter:stable}.class-teacher-bulk-teacher{position:relative;cursor:pointer}.class-teacher-bulk-teacher>input{position:absolute;opacity:0;pointer-events:none}.class-teacher-bulk-teacher>span{display:grid;grid-template-columns:7px minmax(0,1fr) 25px;align-items:center;gap:9px;min-height:54px;padding:8px 10px;border:1px solid #dfe3eb;border-radius:12px;background:#fff}.class-teacher-bulk-teacher>span>i{width:7px;height:34px;border-radius:999px;background:var(--teacher-color)}.class-teacher-bulk-teacher b,.class-teacher-bulk-teacher small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.class-teacher-bulk-teacher b{font-size:10px}.class-teacher-bulk-teacher small{font-size:8px;color:#7d8698}.class-teacher-bulk-teacher em{display:grid;place-items:center;width:24px;height:24px;border:2px solid #cbd1dc;border-radius:8px;color:transparent;font-style:normal;font-weight:900}.class-teacher-bulk-teacher.selected>span{border-color:var(--primary,#5b5bd6);background:color-mix(in srgb,var(--primary,#5b5bd6) 5%,#fff)}.class-teacher-bulk-teacher.selected em{border-color:var(--primary,#5b5bd6);background:var(--primary,#5b5bd6);color:#fff}
.class-teacher-bulk-dialog>footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e0e4eb;background:#fff;box-shadow:0 -8px 24px rgba(32,40,65,.06)}

/* Raporlar ve İstatistikler artık iki ayrı ana sekme. */
.report-main-tabs{position:sticky;top:64px;z-index:18;display:flex;gap:7px;margin:0 0 14px;padding:7px;border:1px solid #dfe3eb;border-radius:15px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 7px 22px rgba(35,43,72,.06)}
.report-main-tabs button{flex:0 1 260px;display:flex;align-items:center;gap:9px;min-height:48px;padding:7px 11px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left;cursor:pointer;color:#5d667b}.report-main-tabs button>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f1f3f8;font-size:14px}.report-main-tabs button b,.report-main-tabs button small{display:block}.report-main-tabs button b{font-size:11px;color:#30384c}.report-main-tabs button small{margin-top:2px;font-size:8px;color:#7f889a}.report-main-tabs button.active{border-color:color-mix(in srgb,var(--primary,#5b5bd6) 24%,#dfe3eb);background:color-mix(in srgb,var(--primary,#5b5bd6) 6%,#fff);box-shadow:0 4px 13px color-mix(in srgb,var(--primary,#5b5bd6) 10%,transparent)}.report-main-tabs button.active>span{background:var(--primary,#5b5bd6);color:#fff}.report-main-panel[hidden]{display:none!important}.report-main-panel{display:block}.report-statistics-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 14px;padding:18px 20px;border:1px solid #dfe3eb;border-radius:17px;background:#fff}.report-statistics-intro h2{margin:3px 0 4px;font-size:20px}.report-statistics-intro p{margin:0;color:#7b8497;font-size:9.5px}.report-statistics-intro>span{display:grid;place-items:center;width:74px;height:74px;border-radius:22px;background:color-mix(in srgb,var(--primary,#5b5bd6) 10%,#fff);color:var(--primary,#5b5bd6);font-size:20px;font-weight:950}

@media(max-width:900px){
  .duty-pool-card-shell{grid-template-columns:minmax(0,1fr) 70px}.duty-weekly-target{width:70px;min-width:70px}
  dialog.class-teacher-bulk-modal{width:calc(100vw - 6px);height:calc(100dvh - 6px);border-radius:14px}.class-teacher-bulk-body{grid-template-columns:1fr}.class-teacher-bulk-body>aside{display:none}.class-teacher-bulk-picker{grid-template-columns:1fr}.class-teacher-bulk-dialog>header{padding:16px}.class-teacher-bulk-dialog>header p{display:none}
  .report-main-tabs{top:56px}.report-main-tabs button{flex:1;min-width:0}.report-main-tabs button small{display:none}.report-statistics-intro>span{width:58px;height:58px;border-radius:17px;font-size:16px}
  .class-teacher-picker{grid-template-columns:1fr}
}

body.theme-dark .duty-weekly-target,body[data-theme="dark"] .duty-weekly-target,body.theme-dark .class-teacher-field,body[data-theme="dark"] .class-teacher-field,body.theme-dark .class-teacher-picker>label>span,body[data-theme="dark"] .class-teacher-picker>label>span,body.theme-dark .class-teacher-bulk-dialog,body[data-theme="dark"] .class-teacher-bulk-dialog,body.theme-dark .class-teacher-class-row,body[data-theme="dark"] .class-teacher-class-row,body.theme-dark .class-teacher-bulk-teacher>span,body[data-theme="dark"] .class-teacher-bulk-teacher>span,body.theme-dark .report-main-tabs,body[data-theme="dark"] .report-main-tabs,body.theme-dark .report-statistics-intro,body[data-theme="dark"] .report-statistics-intro{background:#222938;border-color:#3b4356;color:#eef1f8}
body.theme-dark .class-teacher-bulk-body>aside,body[data-theme="dark"] .class-teacher-bulk-body>aside{background:#1d2431;border-color:#394155}
body.theme-dark .class-teacher-bulk-dialog>header,body[data-theme="dark"] .class-teacher-bulk-dialog>header,body.theme-dark .class-teacher-bulk-dialog>footer,body[data-theme="dark"] .class-teacher-bulk-dialog>footer{background:#202634;border-color:#394155}
body.theme-dark .class-teacher-picker>label>span b,body[data-theme="dark"] .class-teacher-picker>label>span b,body.theme-dark .class-teacher-class-row b,body[data-theme="dark"] .class-teacher-class-row b,body.theme-dark .report-main-tabs button b,body[data-theme="dark"] .report-main-tabs button b{color:#eef1f8}
