.tlm-wrap { margin: 12px 0; }
.tlm-card { border: 1px solid #ddd; padding: 12px; border-radius: 8px; margin-bottom: 10px; }
.tlm-row { display:flex; gap:10px; flex-wrap:wrap; }
.tlm-col { flex: 1 1 240px; }

/* Dashboard layout */
.tlm-dashboard {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 960px) {
  .tlm-dashboard { grid-template-columns: 1fr; }
}

.tlm-panel {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.tlm-panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}

.tlm-panel-body {
  padding: 16px;
}

.tlm-profile {
  text-align: center;
}

.tlm-avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px; /* circle */
  object-fit: cover;
  border: 3px solid #e9eef6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.tlm-profile h4 {
  margin: 12px 0 4px;
}

.tlm-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  text-decoration: none;
}

.tlm-btn-primary {
  background: #1e5eff;
  color: #fff;
  border-color: #1e5eff;
}

.tlm-links {
  margin-top: 14px;
}

.tlm-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.tlm-links a:hover { background: #fafafa; }

.tlm-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .tlm-stat-grid { grid-template-columns: 1fr; }
}

.tlm-stat {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}

.tlm-stat .tlm-stat-num {
  font-size: 22px;
  font-weight: 800;
  margin-top: 6px;
}

.tlm-table {
  width: 100%;
  border-collapse: collapse;
}

.tlm-table th, .tlm-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
}

.tlm-muted { color: #666; }
