/* DersTime v1.18.19 — Nöbet alanı görünümünü Ders Dağıtımı ile aynı kompakt ritme yaklaştırır. */

/* Üst alan seçici: şube seçicisi kadar kompakt; uzun adlar kartı büyütmez. */
.duty-focus-bar .schedule-class-picker-wrap{gap:10px}
.duty-area-picker{gap:6px;padding:1px 2px 3px;scrollbar-width:thin}
.duty-area-picker .touch-class-card{
  flex:0 0 126px;
  width:126px;
  min-width:126px;
  max-width:126px;
  min-height:44px;
  padding:5px 7px;
  grid-template-columns:7px minmax(0,1fr) 30px;
  gap:6px;
  border-radius:11px;
}
.duty-area-picker .touch-class-color{width:7px;height:28px}
.duty-area-picker .touch-class-copy b{font-size:10.5px;line-height:1.2}
.duty-area-picker .touch-class-copy small{font-size:7.8px}
.duty-area-picker .touch-class-rate{min-width:29px;padding:3px 4px;font-size:7.8px}
.duty-area-picker .duty-area-filter-all{flex-basis:132px;width:132px;min-width:132px;max-width:132px}

/* Tüm alanlar görünümü: eski 175px sütunlar yerine Ders Dağıtımı gibi yoğun bir tablo. */
.duty-all-areas-board .duty-board-table table{
  width:max-content;
  min-width:100%;
  table-layout:fixed;
}
.duty-all-areas-board .duty-board-table thead th:first-child,
.duty-all-areas-board .duty-board-table tbody th{
  width:128px;
  min-width:128px;
  max-width:128px;
}
.duty-all-areas-board .duty-board-table thead th:not(:first-child),
.duty-all-areas-board .duty-slot-cell{
  width:124px;
  min-width:124px;
  max-width:124px;
}
.duty-all-areas-board .duty-board-table thead th{
  height:48px;
  padding:6px 7px;
  text-align:left;
  vertical-align:middle;
}
.duty-all-areas-board .duty-board-table thead th b{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  white-space:normal;
  overflow-wrap:anywhere;
  font-size:9px;
  line-height:1.18;
}
.duty-all-areas-board .duty-board-table thead th small{font-size:7.5px}
.duty-all-areas-board .duty-board-table tbody th{padding:7px 8px}
.duty-all-areas-board .duty-board-table tbody th b{font-size:9px}
.duty-all-areas-board .duty-board-table tbody th small{font-size:7.4px}
.duty-all-areas-board .duty-slot-cell{height:64px;padding:5px!important}
.duty-all-areas-board .duty-slot-capacity{margin-bottom:3px}
.duty-all-areas-board .duty-slot-people{gap:3px}
.duty-all-areas-board .duty-assigned-person{
  min-width:0;
  max-width:100%;
  gap:4px;
  padding:4px 5px!important;
  border-radius:8px!important;
  font-size:7.9px;
}
.duty-assigned-person{min-width:0;max-width:100%;overflow:hidden}
.duty-assigned-name{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.duty-all-areas-board .duty-assigned-person i{width:5px;height:17px}
.duty-all-areas-board .duty-empty{padding:5px 3px;font-size:7.8px}

/* Tek alan seçilince içerik gereksiz yere 124px'e sıkışmasın. */
.duty-single-area-board .duty-board-table table{min-width:620px;width:100%;table-layout:fixed}
.duty-single-area-board .duty-board-table thead th:first-child,
.duty-single-area-board .duty-board-table tbody th{width:150px;min-width:150px;max-width:150px}
.duty-single-area-board .duty-slot-cell{min-width:0;width:auto;max-width:none}

@media(max-width:1100px){
  .duty-area-picker .touch-class-card{flex-basis:116px;width:116px;min-width:116px;max-width:116px}
  .duty-area-picker .duty-area-filter-all{flex-basis:122px;width:122px;min-width:122px;max-width:122px}
  .duty-all-areas-board .duty-board-table thead th:not(:first-child),
  .duty-all-areas-board .duty-slot-cell{width:116px;min-width:116px;max-width:116px}
}

@media(max-width:820px){
  .duty-focus-bar .schedule-focus-label{min-width:0}
  .duty-area-picker{width:100%}
  .duty-area-picker .touch-class-card{flex-basis:112px;width:112px;min-width:112px;max-width:112px}
  .duty-area-picker .duty-area-filter-all{flex-basis:118px;width:118px;min-width:118px;max-width:118px}
  .duty-all-areas-board .duty-board-table thead th:first-child,
  .duty-all-areas-board .duty-board-table tbody th{width:112px;min-width:112px;max-width:112px}
  .duty-all-areas-board .duty-board-table thead th:not(:first-child),
  .duty-all-areas-board .duty-slot-cell{width:108px;min-width:108px;max-width:108px}
}
