/* DersTime v1.18.9 — Program Sağlık Kontrolü okunabilirlik ve kullanıcı deneyimi */

/* Raporlardaki sağlık alanı: uzun hata metinleri artık kartların üzerine binmez. */
.report-health-grid.report-health-grid-v1189{
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr);
  align-items:stretch;
  gap:16px;
}
.report-health-panel-v1189{
  min-width:0;
  padding:0!important;
  overflow:hidden;
  border-color:#e1e5ed;
  background:#fff;
}
.report-health-panel-v1189.needs-attention{border-color:#ead7dc}
.report-health-panel-v1189.healthy{border-color:#cee7de}
.report-health-head-v1189{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:20px 21px 17px;
  border-bottom:1px solid #e8ebf1;
  background:linear-gradient(135deg,#fff 0%,#fbfbfe 62%,#f7f4ff 100%);
}
.report-health-panel-v1189.needs-attention .report-health-head-v1189{
  background:linear-gradient(135deg,#fff 0%,#fffafb 65%,#fff3f6 100%);
}
.report-health-panel-v1189.healthy .report-health-head-v1189{
  background:linear-gradient(135deg,#fff 0%,#f8fcfb 65%,#edf9f5 100%);
}
.report-health-title-v1189{display:flex;align-items:flex-start;gap:13px;min-width:0}
.report-health-icon-v1189{
  flex:0 0 42px;
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  border:1px solid #f1cad3;
  background:#fff0f3;
  color:#b52d49;
  font-size:19px;font-weight:900;
  box-shadow:0 7px 18px rgba(181,45,73,.08)
}
.report-health-panel-v1189.healthy .report-health-icon-v1189{border-color:#cae7dd;background:#eaf8f3;color:#087b63}
.report-health-title-v1189>div{min-width:0}
.report-health-title-v1189 .eyebrow{font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#887789}
.report-health-title-v1189 h3{margin:4px 0 5px!important;font-size:18px;line-height:1.25;color:#2d3549;overflow-wrap:anywhere}
.report-health-title-v1189 p{margin:0!important;max-width:720px;font-size:10px!important;line-height:1.55;color:#737d91!important;overflow-wrap:anywhere}
.report-health-actions-v1189{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;flex:0 0 auto;max-width:360px}
.report-health-actions-v1189 .btn{min-height:34px;height:auto;line-height:1.2;white-space:normal;text-align:center;padding:8px 11px}
.report-health-actions-v1189 .btn:disabled{opacity:.48;cursor:not-allowed;transform:none!important}

.report-health-summary-v1189{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  padding:13px 16px;
  background:#f8f9fc;
  border-bottom:1px solid #e8ebf1;
}
.report-health-summary-v1189>article{
  min-width:0;
  display:flex;align-items:center;gap:10px;
  min-height:58px;
  padding:10px 11px;
  border:1px solid #e0e4ec;
  border-radius:13px;
  background:#fff;
}
.report-health-summary-v1189>article>span{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#f0f2f6;color:#677186;font-weight:900}
.report-health-summary-v1189>article>div{min-width:0}
.report-health-summary-v1189 b,.report-health-summary-v1189 small{display:block}
.report-health-summary-v1189 b{font-size:17px;line-height:1;color:#30394f}
.report-health-summary-v1189 small{margin-top:4px;font-size:8px;line-height:1.35;color:#7c869a;white-space:normal;overflow-wrap:anywhere}
.report-health-summary-v1189>article.danger{border-color:#efd3da;background:#fff9fa}.report-health-summary-v1189>article.danger>span{background:#fff0f3;color:#b72d49}
.report-health-summary-v1189>article.warn{border-color:#eedfc3;background:#fffdf8}.report-health-summary-v1189>article.warn>span{background:#fff5dd;color:#a86a08}
.report-health-summary-v1189>article.ok{border-color:#d2e8df;background:#fbfffd}.report-health-summary-v1189>article.ok>span{background:#eaf8f3;color:#087b63}
.report-health-summary-v1189>article.info>span{background:#efefff;color:#5550be}

.report-health-sections-v1189{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:15px 16px 17px;
  min-width:0;
}
.report-health-section-v1189{
  min-width:0;
  border:1px solid #e1e5ed;
  border-radius:15px;
  background:#fbfcfe;
  overflow:hidden;
}
.report-health-section-v1189>header{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:11px 12px;
  border-bottom:1px solid #e7eaf0;
  background:#fff;
}
.health-section-symbol{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;font-weight:900}
.health-section-symbol.danger{background:#fff0f3;color:#b72d49}.health-section-symbol.warn{background:#fff5df;color:#aa6a08}
.report-health-section-v1189 header>div{min-width:0}
.report-health-section-v1189 header b,.report-health-section-v1189 header small{display:block;overflow-wrap:anywhere}
.report-health-section-v1189 header b{font-size:11px;line-height:1.25;color:#384158}
.report-health-section-v1189 header small{margin-top:2px;font-size:7.5px;line-height:1.35;color:#8a93a5}
.report-health-section-v1189 header em{min-width:27px;padding:5px 7px;border-radius:999px;background:#f1f3f7;color:#626d82;font-size:8px;font-weight:900;font-style:normal;text-align:center}
.report-health-list-v1189{
  display:grid;
  gap:7px;
  max-height:360px;
  overflow:auto;
  overscroll-behavior:contain;
  padding:9px;
  scrollbar-width:thin;
}
.report-health-row-v1189{
  min-width:0;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:9px 10px;
  border:1px solid #e4e7ee;
  border-radius:11px;
  background:#fff;
}
.report-health-row-v1189.issue{border-color:#f0d9de;background:#fffafb}
.report-health-row-v1189.unplaced{border-color:#ebe1cb;background:#fffdf9}
.report-health-row-index-v1189{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#f2f3f7;color:#687287;font-size:8px;font-weight:900}
.report-health-row-v1189.issue .report-health-row-index-v1189{background:#fff0f3;color:#af2c47}
.report-health-row-v1189.unplaced .report-health-row-index-v1189{background:#fff4dc;color:#a46608}
.report-health-row-v1189>div{min-width:0}
.report-health-row-v1189 b,.report-health-row-v1189 p,.report-health-row-v1189 small{display:block;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.report-health-row-v1189 b{font-size:9px;line-height:1.35;color:#3d465b}
.report-health-row-v1189 p{margin:3px 0 0!important;font-size:9px!important;line-height:1.5!important;color:#697387!important;white-space:normal!important}
.report-health-row-v1189 small{margin-top:4px;font-size:7.5px;color:#929aab}
.report-health-empty-v1189{display:flex;gap:10px;align-items:center;padding:13px;border:1px dashed #dce2ea;border-radius:11px;background:#fff}
.report-health-empty-v1189>span{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:9px}
.report-health-empty-v1189 b,.report-health-empty-v1189 small{display:block}.report-health-empty-v1189 b{font-size:10px}.report-health-empty-v1189 small{margin-top:3px;font-size:8px;line-height:1.4;color:#7d8799}
.report-health-empty-v1189.success{border-color:#d2e8df;background:#fbfffd}.report-health-empty-v1189.success>span{background:#e9f8f2;color:#087b63}
.report-health-more-v1189{padding:9px 11px;border-radius:10px;background:#f0f1f6;color:#6d778a;font-size:8px;line-height:1.5}

/* Sağdaki kalite kartı sağlık alanıyla aynı ritimde kalsın. */
.report-quality-panel-v1189{min-width:0;overflow:hidden}
.report-quality-panel-v1189 .report-panel-head{min-width:0}
.report-quality-panel-v1189 .report-panel-head>div{min-width:0}
.report-quality-panel-v1189 .report-panel-head h3,.report-quality-panel-v1189 .report-panel-head p{overflow-wrap:anywhere}
.report-quality-panel-v1189 .report-quality-links>button{min-width:0}
.report-quality-panel-v1189 .report-quality-links>button p{min-width:0;overflow:hidden}
.report-quality-panel-v1189 .report-quality-links>button b,.report-quality-panel-v1189 .report-quality-links>button small{white-space:normal!important;overflow-wrap:anywhere;line-height:1.35}
.report-quality-panel-v1189 .report-highlight-card{margin-top:12px}
.report-quality-panel-v1189 .report-highlight-card b,.report-quality-panel-v1189 .report-highlight-card span{overflow-wrap:anywhere}

/* v1.18.8 çakışma modalında uzun içeriklerde taşma/üst üste binme koruması. */
.conflict-inspector-modal,.conflict-inspector-shell,.conflict-course-card,.conflict-course-card>header,.conflict-course-body,.conflict-course-body>div,.conflict-course-body>aside{min-width:0}
.conflict-course-card>header>div{min-width:0}
.conflict-course-card header h3,.conflict-course-card header p,.conflict-course-body li p,.conflict-suggestion p{overflow-wrap:anywhere;word-break:normal}
.conflict-course-card header p{white-space:normal;line-height:1.45}
.conflict-course-body li{grid-template-columns:minmax(0,1fr) auto}
.conflict-course-body li span{min-width:0;overflow-wrap:anywhere}
.conflict-course-body li b{min-width:0;white-space:normal;overflow-wrap:anywhere}
.conflict-suggestion{min-width:0}
.conflict-suggestion .btn{max-width:190px;white-space:normal;line-height:1.25;height:auto;min-height:32px}

@media(max-width:1180px){
  .report-health-grid.report-health-grid-v1189{grid-template-columns:1fr}
  .report-quality-panel-v1189 .quality-check-list.report-quality-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:920px){
  .report-health-head-v1189{flex-direction:column}
  .report-health-actions-v1189{width:100%;max-width:none;justify-content:flex-start}
  .report-health-sections-v1189{grid-template-columns:1fr}
  .report-health-list-v1189{max-height:310px}
  .conflict-course-body{grid-template-columns:1fr!important}
}
@media(max-width:650px){
  .report-health-head-v1189{padding:16px}
  .report-health-title-v1189{gap:10px}
  .report-health-icon-v1189{width:36px;height:36px;flex-basis:36px;border-radius:11px}
  .report-health-title-v1189 h3{font-size:16px}
  .report-health-actions-v1189{display:grid;grid-template-columns:1fr;width:100%}
  .report-health-actions-v1189 .btn{width:100%}
  .report-health-summary-v1189{grid-template-columns:1fr;padding:10px 12px}
  .report-health-summary-v1189>article{min-height:50px}
  .report-health-sections-v1189{padding:11px 12px 13px}
  .report-quality-panel-v1189 .quality-check-list.report-quality-links{grid-template-columns:1fr}
  .conflict-course-card>header{grid-template-columns:6px minmax(0,1fr)!important}
  .conflict-course-card>header>.btn{grid-column:2;justify-self:stretch;max-width:none;width:100%}
  .conflict-course-body li{grid-template-columns:1fr}
  .conflict-course-body li b{text-align:left}
  .conflict-suggestion .btn{max-width:none;width:100%;justify-self:stretch}
}

body.theme-dark .report-health-panel-v1189,body[data-theme="dark"] .report-health-panel-v1189,
body.theme-dark .report-health-section-v1189,body[data-theme="dark"] .report-health-section-v1189,
body.theme-dark .report-health-summary-v1189>article,body[data-theme="dark"] .report-health-summary-v1189>article,
body.theme-dark .report-health-row-v1189,body[data-theme="dark"] .report-health-row-v1189,
body.theme-dark .report-health-section-v1189>header,body[data-theme="dark"] .report-health-section-v1189>header{background:#222938;border-color:#394155;color:#eef1f8}
body.theme-dark .report-health-head-v1189,body[data-theme="dark"] .report-health-head-v1189{background:#202634;border-color:#394155}
body.theme-dark .report-health-summary-v1189,body[data-theme="dark"] .report-health-summary-v1189{background:#1c2230;border-color:#394155}
body.theme-dark .report-health-title-v1189 h3,body[data-theme="dark"] .report-health-title-v1189 h3,
body.theme-dark .report-health-row-v1189 b,body[data-theme="dark"] .report-health-row-v1189 b,
body.theme-dark .report-health-section-v1189 header b,body[data-theme="dark"] .report-health-section-v1189 header b{color:#eef1f8}
body.theme-dark .report-health-title-v1189 p,body[data-theme="dark"] .report-health-title-v1189 p,
body.theme-dark .report-health-row-v1189 p,body[data-theme="dark"] .report-health-row-v1189 p,
body.theme-dark .report-health-row-v1189 small,body[data-theme="dark"] .report-health-row-v1189 small{color:#aeb6c7!important}
body.theme-dark .report-health-empty-v1189,body[data-theme="dark"] .report-health-empty-v1189{background:#232a39;border-color:#3a4356;color:#e8edf7}
