.core-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:20px
}
.core-toolbar h2{margin:0}
.core-subtitle{color:#61718a;margin:5px 0 0}
.core-refresh{
  border:0;
  border-radius:9px;
  background:#0e8794;
  color:#fff;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer
}
.core-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:20px
}
.core-stat{
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:14px;
  padding:18px
}
.core-stat small{display:block;color:#64748b;margin-bottom:10px}
.core-stat strong{font-size:25px;color:#13213a}
.core-panel{
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:14px;
  padding:20px;
  margin-bottom:18px;
  overflow:auto
}
.core-panel h3{margin:0 0 16px}
.core-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px
}
.core-table th{
  text-align:left;
  color:#64748b;
  background:#f7f9fc;
  font-size:13px;
  padding:12px;
  border-bottom:1px solid #dfe5ec
}
.core-table td{
  padding:13px 12px;
  border-bottom:1px solid #edf1f5;
  color:#26364d
}
.core-table tr:last-child td{border-bottom:0}
.core-badge{
  display:inline-block;
  border-radius:999px;
  padding:5px 9px;
  font-size:12px;
  font-weight:700;
  background:#e5f5f6;
  color:#087582
}
.core-badge.warning{background:#fff1d6;color:#a05b00}
.core-badge.danger{background:#ffe1e1;color:#a51d1d}
.core-badge.success{background:#dcf7e8;color:#087844}
.core-empty{
  padding:38px;
  text-align:center;
  color:#64748b;
  background:#f7f9fc;
  border-radius:10px
}
.core-error{
  padding:14px;
  color:#9f1d1d;
  background:#ffeaea;
  border-radius:10px
}
.core-patient{
  border:1px solid #dfe5ec;
  border-left:5px solid #0e8794;
  border-radius:12px;
  padding:16px;
  margin-bottom:12px
}
.core-patient-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px
}
.core-patient h3{margin:0}
.core-meta{color:#64748b;font-size:14px}
.core-task{
  display:flex;
  justify-content:space-between;
  gap:12px;
  background:#f7f9fc;
  border-radius:8px;
  padding:10px 12px;
  margin-top:8px
}
.core-abnormal{color:#b42318;font-weight:800}
.sidebar .nav.core-nav{cursor:pointer}
.sidebar .nav.core-nav:hover{background:#edf7f8}
.sidebar .nav.core-nav.active{background:#dff1f3;color:#087b88}
@media(max-width:900px){
  .core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
