/* SAFE V93: home-only layout/controls; no business logic changes. */
@media (min-width:768px) {
  #view-home .home-operating-card .operating-table {
    max-height:min(68vh,720px);
    overflow:auto;
    overscroll-behavior:contain;
  }
  #view-home .home-operating-card .operating-head {
    z-index:1;
  }
  #view-home .home-workspace {
    align-items:start;
  }
}
#view-home .home-operating-card .operating-row .student-link {
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:36px;
  padding:7px 9px;
  overflow-wrap:anywhere;
  text-align:left;
  color:#f4f4f6!important;
  background:#303039!important;
  border:1px solid #54545f!important;
  border-radius:10px;
}
#view-home .home-operating-card .operating-row .student-link:hover {
  background:#39443f!important;
}
#view-home .home-operating-card .operating-row .badge {
  max-width:100%;
  margin:3px 0 0;
  color:#f7f4e7!important;
  background:#594d31!important;
  border:1px solid #85724c!important;
  font-size:10px;
  line-height:1.3;
  white-space:normal;
}
#view-home :is(.home-attention-card,.home-operating-card,.home-today-card,.home-service-card-safe-v40) .badge {
  color:inherit;
}
#view-detail input[type="checkbox"],
#view-service input[type="checkbox"],
#view-home input[type="checkbox"] {
  appearance:auto!important;
  display:inline-block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  padding:0!important;
  margin:0 8px 0 0!important;
  vertical-align:middle;
  flex:0 0 18px;
  border-radius:4px!important;
  accent-color:#8db89a;
}
#view-detail label:has(>input[type="checkbox"]),
#view-service label:has(>input[type="checkbox"]) {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
}
#view-home .home-operating-card .operating-row:focus-within {
  background:#34343b!important;
}
