/* DersTime v1.18.32: kısıt turu güvenliği ve canlı çakılı ders incelemesi */

/* Kapalı hücreler programın görsel ritmini bozmadan, seçimdeki küçük çarpı
   diliyle gösterilir. */
.distribution-constraint-legend{
  gap:4px 9px;
  padding:3px 6px;
  border-color:rgba(190,24,60,.07);
  border-radius:7px 7px 0 0;
  background:rgba(255,248,250,.34);
  color:#806970;
  font-size:8.5px;
}
.distribution-constraint-legend i,
.distribution-constraint-legend>span:last-child i{
  width:11px;
  height:11px;
  border:0;
  border-radius:50%;
  background:rgba(194,48,77,.08);
  color:#bd5268;
  font-size:8px;
  box-shadow:none;
}
.distribution-cell.class-closed,
.class-planner-cell.class-closed,
.distribution-cell.class-closed:hover,
.class-planner-cell.class-closed:hover{
  background:rgba(194,48,77,.032)!important;
  box-shadow:inset 0 0 0 1px rgba(194,48,77,.06)!important;
}
.class-closed-marker{opacity:.66}
.class-closed-marker i{
  width:13px;
  height:13px;
  border:0;
  border-radius:50%;
  background:rgba(194,48,77,.09);
  color:#bd5268;
  font-size:10px;
  font-weight:900;
}
.placement-constraint-chip.is-protected{
  cursor:default;
  opacity:1;
  border-color:#dce8e2;
  background:#f7fbf9;
}
.placement-constraint-chip.is-protected>span{background:#e7f4ee;color:#2f765c}
.placement-constraint-chip.is-protected small{color:#668374}
.placement-protected-availability{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 8px;
  border:1px solid #d6e9df;
  border-radius:8px;
  background:#f0f8f4;
  color:#34705a;
  font-size:8px;
  font-weight:800;
}

.workspace-help-modal.with-constraint-insight{width:min(1080px,calc(100vw - 24px))}
.workspace-help-dialog.with-constraint-insight{padding:25px}
.constraint-insight{
  margin:20px 0;
  overflow:hidden;
  border:1px solid #e2e6f0;
  border-radius:18px;
  background:#fff;
}
.constraint-insight-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  background:linear-gradient(135deg,#fbfcff,#f6f8ff);
}
.constraint-insight-head h3{margin:4px 0 3px;color:#2d3858;font-size:16px}
.constraint-insight-head p{max-width:620px;margin:0;color:#747c91;font-size:10px;line-height:1.5}
.constraint-insight-kpis{display:flex;gap:7px;flex:none}
.constraint-insight-kpis span{
  display:grid;
  min-width:72px;
  padding:8px 10px;
  border:1px solid #e3e7f2;
  border-radius:11px;
  background:rgba(255,255,255,.82);
  text-align:center;
}
.constraint-insight-kpis b{color:#4f5fc2;font-size:16px}
.constraint-insight-kpis small{color:#798197;font-size:8px}
.constraint-insight-tabs{
  display:flex;
  gap:4px;
  padding:6px 8px;
  border-top:1px solid #e7eaf2;
  border-bottom:1px solid #e7eaf2;
  background:#fafbfe;
}
.constraint-insight-tabs button{
  appearance:none;
  padding:7px 12px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#6f778d;
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.constraint-insight-tabs button:hover{background:#f0f2fa;color:#4f5fc2}
.constraint-insight-tabs button.active{background:#e9ecff;color:#4354bd}
.constraint-insight-panel{display:none;padding:13px}
.constraint-insight-panel.active{display:block}
.constraint-day-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.constraint-day-grid article{overflow:hidden;border:1px solid #e5e8f0;border-radius:12px;background:#fff}
.constraint-day-grid article header{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;background:#f8f9fd}
.constraint-day-grid article header b{color:#34405f;font-size:10px}
.constraint-day-grid article header span{color:#7c8498;font-size:8px}
.constraint-day-grid article>div{padding:7px 9px;border-top:1px solid #eef0f5}
.constraint-day-grid article small{display:block;color:#9096a7;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.constraint-day-grid article p{margin:3px 0 0;color:#525b70;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.constraint-insight-search{display:flex;align-items:center;gap:7px;margin-bottom:9px;padding:7px 10px;border:1px solid #e0e4ee;border-radius:10px;background:#fafbfe;color:#7c8497}
.constraint-insight-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:10px}
.constraint-insight-table-wrap{max-height:360px;overflow:auto;border:1px solid #e5e8f0;border-radius:12px}
.constraint-insight-table-wrap table{width:100%;border-collapse:collapse;font-size:9px}
.constraint-insight-table-wrap th{position:sticky;z-index:1;top:0;padding:8px 9px;background:#f7f8fc;color:#6d7589;text-align:left;font-size:8px;letter-spacing:.02em}
.constraint-insight-table-wrap td{padding:8px 9px;border-top:1px solid #edf0f5;color:#4e576c;vertical-align:top}
.constraint-insight-table-wrap td b,.constraint-insight-table-wrap td small{display:block}
.constraint-insight-table-wrap td small{margin-top:2px;color:#8a91a2;font-size:8px}
.constraint-insight-table-wrap tr[hidden]{display:none}
.insight-chip{display:inline-flex;margin:0 3px 3px 0;padding:3px 6px;border-radius:999px;background:#f0f2f8;color:#5d667b;font-size:8px;font-weight:800}
.insight-chip.danger{background:#fff1f4;color:#ad3d58}
.insight-chip.warn{background:#fff7e8;color:#966218}
.insight-chip.fixed{background:#eeedff;color:#4f55b8}
.insight-chip.info{background:#eaf7f5;color:#24766a}
.insight-muted{color:#a0a6b3}
.insight-day{display:block;color:#3f4f9f;font-weight:900}
.constraint-insight-empty{padding:18px;color:#8990a1;text-align:center;font-size:10px}

@media(max-width:900px){
  .constraint-insight-head{display:grid}
  .constraint-insight-kpis{display:grid;grid-template-columns:repeat(3,1fr)}
  .constraint-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .workspace-help-dialog.with-constraint-insight{padding:18px}
  .constraint-insight-kpis{gap:5px}
  .constraint-insight-kpis span{min-width:0;padding:7px 5px}
  .constraint-insight-tabs{overflow-x:auto}
  .constraint-insight-tabs button{white-space:nowrap}
  .constraint-day-grid{grid-template-columns:1fr}
  .constraint-insight-table-wrap table{min-width:660px}
}

.theme-dark .distribution-constraint-legend,
[data-theme="dark"] .distribution-constraint-legend{border-color:rgba(251,113,133,.07);background:rgba(127,29,29,.035);color:#c7b7bb}
.theme-dark .distribution-cell.class-closed,
.theme-dark .class-planner-cell.class-closed,
.theme-dark .distribution-cell.class-closed:hover,
.theme-dark .class-planner-cell.class-closed:hover,
[data-theme="dark"] .distribution-cell.class-closed,
[data-theme="dark"] .class-planner-cell.class-closed,
[data-theme="dark"] .distribution-cell.class-closed:hover,
[data-theme="dark"] .class-planner-cell.class-closed:hover{background:rgba(251,113,133,.038)!important;box-shadow:inset 0 0 0 1px rgba(251,113,133,.07)!important}
.theme-dark .placement-constraint-chip.is-protected,
[data-theme="dark"] .placement-constraint-chip.is-protected{border-color:#355247;background:#21382f;color:#bfe1d1}
.theme-dark .placement-protected-availability,
[data-theme="dark"] .placement-protected-availability{border-color:#355247;background:#21382f;color:#a9d9c5}
.theme-dark .constraint-insight,
[data-theme="dark"] .constraint-insight{border-color:#394158;background:#222838}
.theme-dark .constraint-insight-head,
[data-theme="dark"] .constraint-insight-head{background:linear-gradient(135deg,#23293a,#282f43)}
.theme-dark .constraint-insight-head h3,
[data-theme="dark"] .constraint-insight-head h3{color:#eef1ff}
.theme-dark .constraint-insight-head p,
[data-theme="dark"] .constraint-insight-head p{color:#aab2c8}
.theme-dark .constraint-insight-kpis span,
[data-theme="dark"] .constraint-insight-kpis span{border-color:#3d455d;background:#293044}
.theme-dark .constraint-insight-tabs,
[data-theme="dark"] .constraint-insight-tabs{border-color:#394158;background:#242a3b}
.theme-dark .constraint-insight-tabs button,
[data-theme="dark"] .constraint-insight-tabs button{color:#b3bbd0}
.theme-dark .constraint-insight-tabs button.active,
[data-theme="dark"] .constraint-insight-tabs button.active{background:#3a4269;color:#eef0ff}
.theme-dark .constraint-day-grid article,
.theme-dark .constraint-insight-table-wrap,
[data-theme="dark"] .constraint-day-grid article,
[data-theme="dark"] .constraint-insight-table-wrap{border-color:#3b4358;background:#252b3b}
.theme-dark .constraint-day-grid article header,
.theme-dark .constraint-insight-table-wrap th,
[data-theme="dark"] .constraint-day-grid article header,
[data-theme="dark"] .constraint-insight-table-wrap th{background:#2b3244;color:#c4cbe0}
.theme-dark .constraint-day-grid article>div,
.theme-dark .constraint-insight-table-wrap td,
[data-theme="dark"] .constraint-day-grid article>div,
[data-theme="dark"] .constraint-insight-table-wrap td{border-color:#394156;color:#c3cadd}
.theme-dark .constraint-day-grid article p,
[data-theme="dark"] .constraint-day-grid article p{color:#bec5d8}
.theme-dark .constraint-insight-search,
[data-theme="dark"] .constraint-insight-search{border-color:#3c455c;background:#272e40;color:#c2c9db}
